This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftUIBackports with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 21

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

 28 |     }
 29 |
 30 |     final class SourceView: NSView, NSSharingServicePickerDelegate, NSSharingServiceDelegate {
    |                                     `- note: add '@preconcurrency' to the 'NSSharingServicePickerDelegate' conformance to defer isolation checking to run time
 31 |         var picker: NSSharingServicePicker?
 32 |
    :
 82 |         }
 83 |
 84 |         func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [Any], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService] {
    |              |- warning: main actor-isolated instance method 'sharingServicePicker(_:sharingServicesForItems:proposedSharingServices:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |              `- note: add 'nonisolated' to 'sharingServicePicker(_:sharingServicesForItems:proposedSharingServices:)' to make this instance method not isolated to the actor
 85 |             proposedServices
 86 |         }
AppKit.NSSharingServicePickerDelegate:3:19: note: 'sharingServicePicker(_:sharingServicesForItems:proposedSharingServices:)' declared here
 1 | public protocol NSSharingServicePickerDelegate : NSObjectProtocol {
 2 |     @available(macOS 10.8, *)
 3 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [Any], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService]
   |                   `- note: 'sharingServicePicker(_:sharingServicesForItems:proposedSharingServices:)' declared here
 4 |     @available(macOS 10.8, *)
 5 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateFor sharingService: NSSharingService) -> (any NSSharingServiceDelegate)?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:75:14: warning: main actor-isolated instance method 'sharingServicePicker(_:delegateFor:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 73 |         }
 74 |
 75 |         func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateFor sharingService: NSSharingService) -> NSSharingServiceDelegate? {
    |              |- warning: main actor-isolated instance method 'sharingServicePicker(_:delegateFor:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |              `- note: add 'nonisolated' to 'sharingServicePicker(_:delegateFor:)' to make this instance method not isolated to the actor
 76 |             return self
 77 |         }
AppKit.NSSharingServicePickerDelegate:5:19: note: 'sharingServicePicker(_:delegateFor:)' declared here
 3 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [Any], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService]
 4 |     @available(macOS 10.8, *)
 5 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateFor sharingService: NSSharingService) -> (any NSSharingServiceDelegate)?
   |                   `- note: 'sharingServicePicker(_:delegateFor:)' declared here
 6 |     @available(swift, obsoleted: 3, renamed: "sharingServicePicker(_:delegateFor:)")
 7 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateForSharingService sharingService: NSSharingService) -> (any NSSharingServiceDelegate)?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:79:21: warning: main actor-isolated instance method 'sharingServicePicker(_:didChoose:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |         }
 78 |
 79 |         public func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChoose service: NSSharingService?) {
    |                     |- warning: main actor-isolated instance method 'sharingServicePicker(_:didChoose:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                     `- note: add 'nonisolated' to 'sharingServicePicker(_:didChoose:)' to make this instance method not isolated to the actor
 80 |             sharingServicePicker.delegate = nil
 81 |             dismissController()
AppKit.NSSharingServicePickerDelegate:9:19: note: 'sharingServicePicker(_:didChoose:)' declared here
 7 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateForSharingService sharingService: NSSharingService) -> (any NSSharingServiceDelegate)?
 8 |     @available(macOS 10.8, *)
 9 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChoose service: NSSharingService?)
   |                   `- note: 'sharingServicePicker(_:didChoose:)' declared here
10 |     @available(swift, obsoleted: 3, renamed: "sharingServicePicker(_:didChoose:)")
11 |     optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChooseSharingService service: NSSharingService?)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:141:30: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 47 |     ///
 48 |     ///     Toggle("Enabled", isOn: $model.isEnabled)
 49 |     @propertyWrapper struct StateObject: DynamicProperty {
    |                                          `- note: add '@preconcurrency' to the 'DynamicProperty' conformance to defer isolation checking to run time
 50 |         private final class Wrapper: ObservableObject {
 51 |             private var subject = PassthroughSubject<Void, Never>()
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              |- warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                              `- note: add 'nonisolated' to 'update()' to make this instance method not isolated to the actor
142 |             if state.value == nil {
143 |                 state.value = thunk()
SwiftUI.DynamicProperty:6:19: note: 'update()' declared here
4 |     @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
5 |     static var _propertyBehaviors: UInt32 { get }
6 |     mutating func update()
  |                   `- note: 'update()' declared here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/System Overlays/SystemOverlays.swift:39:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | private struct PersistentSystemOverlaysPreferenceKey: PreferenceKey {
38 |     typealias Value = Backport<Any>.Visibility
39 |     static var defaultValue: Value = .automatic
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |     static func reduce(value: inout Value, nextValue: () -> Value) {
41 |         value = nextValue()
[129/153] Compiling SwiftUIBackports CircularProgressViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[130/153] Compiling SwiftUIBackports DefaultProgressViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[131/153] Compiling SwiftUIBackports LinearProgressViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[132/153] Compiling SwiftUIBackports Quicklook+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[133/153] Compiling SwiftUIBackports Quicklook+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[134/153] Compiling SwiftUIBackports Quicklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[135/153] Compiling SwiftUIBackports Refreshable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[136/153] Compiling SwiftUIBackports RequestReview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[137/153] Compiling SwiftUIBackports Section.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[138/153] Compiling SwiftUIBackports DefaultShareLinkLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[139/153] Compiling SwiftUIBackports Items+Label+Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[140/153] Compiling SwiftUIBackports Items+Label.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:75:10: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 | import QuickLookUI
  7 |
  8 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate where Items: RandomAccessCollection, Items.Element == URL {
    |                                                         `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
  9 |     private let panel = QLPreviewPanel.shared()!
 10 |     private weak var windowResponder: NSResponder?
    :
 73 |     }
 74 |
 75 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int {
    |          |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
 76 |         items.isEmpty ? 1 : items.count
 77 |     }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
 1 | public protocol QLPreviewPanelDataSource {
 2 |     @available(macOS 10.6, *)
 3 |     func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
   |          `- note: 'numberOfPreviewItems(in:)' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:79:10: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
    |          |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
 80 |         if items.isEmpty {
 81 |             return selection.wrappedValue as? NSURL
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
 5 |     func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
 6 |     @available(macOS 10.6, *)
 7 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
   |          `- note: 'previewPanel(_:previewItemAt:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
 9 |     func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Refreshable/Refreshable.swift:135:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
118 |     /// [Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
119 |     /// in *The Swift Programming Language*.
120 |     public struct RefreshAction {
    |                   `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
121 |         private var action: () async -> Void
122 |
    :
133 |
134 | private struct RefreshEnvironmentKey: EnvironmentKey {
135 |     static let defaultValue: Backport<Any>.RefreshAction? = nil
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[141/153] Compiling SwiftUIBackports VisualEffect+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[142/153] Compiling SwiftUIBackports VisualEffect+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[143/153] Compiling SwiftUIBackports AppStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[144/153] Compiling SwiftUIBackports AsyncImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[145/153] Compiling SwiftUIBackports Background.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[146/153] Compiling SwiftUIBackports Dismiss.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[147/153] Compiling SwiftUIBackports DynamicType+Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[148/153] Compiling SwiftUIBackports DynamicType+Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[149/153] Compiling SwiftUIBackports DynamicType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[150/153] Compiling SwiftUIBackports ProposedViewSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[151/153] Compiling SwiftUIBackports Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[152/153] Compiling SwiftUIBackports Label.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
[153/153] Compiling SwiftUIBackports LabelConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 |     class Coordinator {
52 |         let visualEffectView = NSVisualEffectView()
   |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
53 |
54 |         init() {
55 |             visualEffectView.blendingMode = .withinWindow
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
56 |         }
57 |
58 |         func update(material: NSVisualEffectView.Material) {
   |              `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 |             visualEffectView.material = material
   |                              `- warning: main actor-isolated property 'material' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
60 |         }
61 |
62 |         func update(blendingMode: NSVisualEffectView.BlendingMode) {
   |              `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 |             visualEffectView.blendingMode = blendingMode
   |                              `- warning: main actor-isolated property 'blendingMode' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
64 |         }
65 |
66 |         func update(state: NSVisualEffectView.State) {
   |              `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 |             visualEffectView.state = state
   |                              `- warning: main actor-isolated property 'state' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
68 |         }
69 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | private struct BackportDynamicTypeKey: EnvironmentKey {
 5 |     static var defaultValue: Backport.DynamicTypeSize = .large
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 | }
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
   :
75 | #if os(macOS)
76 | private extension NSView {
77 |     var snapshot: NSImage? {
   |         `- note: property declared here
78 |         return NSImage(data: dataWithPDF(inside: bounds))
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |                                                `- warning: main actor-isolated property 'view' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
AppKit.NSViewController:9:35: note: property declared here
 7 |     open var representedObject: Any? { get set }
 8 |     open var title: String? { get set }
 9 |     @IBOutlet @MainActor open var view: NSView { get set }
   |                                   `- note: property declared here
10 |     @available(macOS 14.0, *)
11 |     open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |
SwiftUI.NSHostingController:7:23: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor public init(rootView: Content)
   |                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 |     var nsImage: NSImage? {
33 |         NSHostingController(rootView: content).view.snapshot
   |         |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 |     }
35 |
Build complete! (60.48s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/shaps80/SwiftBackports
[1/499] Fetching swiftbackports
[151/1964] Fetching swiftbackports, swift-docc-plugin
Fetched https://github.com/shaps80/SwiftBackports from cache (1.38s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.69s)
Computing version for https://github.com/shaps80/SwiftBackports
Computed https://github.com/shaps80/SwiftBackports at 1.0.3 (0.78s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Creating working copy for https://github.com/shaps80/SwiftBackports
Working copy of https://github.com/shaps80/SwiftBackports resolved at 1.0.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftbackports",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shaps80/SwiftBackports"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SwiftUIBackports",
  "name" : "SwiftUIBackports",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIBackports",
      "targets" : [
        "SwiftUIBackports"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIBackports",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIBackports",
      "path" : "Sources/SwiftUIBackports",
      "product_dependencies" : [
        "SwiftBackports"
      ],
      "product_memberships" : [
        "SwiftUIBackports"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Backport.swift",
        "Deprecations/FittingGeometryReader.swift",
        "Deprecations/FittingScrollView.swift",
        "Deprecations/Presenatation+Deprecations.swift",
        "Internal/Environment+String.swift",
        "Internal/Environment.swift",
        "Internal/Inspect.swift",
        "Internal/NSItemProvider+Async.swift",
        "Internal/OwningController.swift",
        "Internal/Platforms.swift",
        "Internal/SafeArea.swift",
        "Internal/String+LocalizationKey.swift",
        "Internal/UIScene.swift",
        "Internal/VisualEffects/VisualEffect+iOS.swift",
        "Internal/VisualEffects/VisualEffect+macOS.swift",
        "Shared/AppStorage/AppStorage.swift",
        "Shared/AsyncImage/AsyncImage.swift",
        "Shared/Background/Background.swift",
        "Shared/Dismiss/Dismiss.swift",
        "Shared/DynamicType/DynamicType+Environment.swift",
        "Shared/DynamicType/DynamicType+Modifiers.swift",
        "Shared/DynamicType/DynamicType.swift",
        "Shared/ImageRenderer/ProposedViewSize.swift",
        "Shared/ImageRenderer/Renderer.swift",
        "Shared/Label/Label.swift",
        "Shared/Label/LabelConfiguration.swift",
        "Shared/Label/LabelStyle.swift",
        "Shared/Label/Styles/DefaultLabelStyle.swift",
        "Shared/Label/Styles/IconOnlyLabelStyle.swift",
        "Shared/Label/Styles/TitleAndIconLabelStyle.swift",
        "Shared/Label/Styles/TitleOnlyLabelStyle.swift",
        "Shared/LabeledContent/LabeledContent.swift",
        "Shared/LabeledContent/LabeledContentStyle.swift",
        "Shared/LabeledContent/LabeledContentStyleConfiguration.swift",
        "Shared/LabeledContent/Styles/AutomaticLabeledContentStyle.swift",
        "Shared/Link/Link.swift",
        "Shared/Navigation/NavigationDestination.swift",
        "Shared/Navigation/NavigationTitle.swift",
        "Shared/OnChange/OnChange.swift",
        "Shared/OpenURL/OpenURL.swift",
        "Shared/OpenURL/Safari.swift",
        "Shared/Overlay/Overlay.swift",
        "Shared/PasteButton/PasteButton.swift",
        "Shared/PhaseAnimator/PhaseAnimator.swift",
        "Shared/PhotosPicker/Core/MediaResults.swift",
        "Shared/PhotosPicker/Core/PHFetchOptions.swift",
        "Shared/PhotosPicker/Core/PHObject+Identifiable.swift",
        "Shared/PhotosPicker/Fetch/FetchAsset.swift",
        "Shared/PhotosPicker/Fetch/FetchAssetCollection.swift",
        "Shared/PhotosPicker/Fetch/FetchAssetList.swift",
        "Shared/PhotosPicker/Fetch/FetchCollectionList.swift",
        "Shared/PhotosPicker/PhotosPicker+View.swift",
        "Shared/PhotosPicker/PhotosPicker.swift",
        "Shared/PhotosPicker/PhotosPickerItem.swift",
        "Shared/PhotosPicker/PhotosPickerSelectionBehavior.swift",
        "Shared/PhotosPicker/PickerFilter.swift",
        "Shared/PhotosPicker/PickerResult.swift",
        "Shared/PhotosPicker/UI/Hosts.swift",
        "Shared/PhotosPicker/UI/PhotosPickerView.swift",
        "Shared/ProgressView/ProgressView.swift",
        "Shared/ProgressView/ProgressViewConfiguration.swift",
        "Shared/ProgressView/ProgressViewStyle.swift",
        "Shared/ProgressView/Styles/CircularProgressViewStyle.swift",
        "Shared/ProgressView/Styles/DefaultProgressViewStyle.swift",
        "Shared/ProgressView/Styles/LinearProgressViewStyle.swift",
        "Shared/Quicklook/Quicklook+iOS.swift",
        "Shared/Quicklook/Quicklook+macOS.swift",
        "Shared/Quicklook/Quicklook.swift",
        "Shared/Refreshable/Refreshable.swift",
        "Shared/RequestReview/RequestReview.swift",
        "Shared/Section/Section.swift",
        "Shared/ShareLink/DefaultShareLinkLabel.swift",
        "Shared/ShareLink/Multiple Items/Items+Label+Preview.swift",
        "Shared/ShareLink/Multiple Items/Items+Label.swift",
        "Shared/ShareLink/Multiple Items/Items+Preview.swift",
        "Shared/ShareLink/Multiple Items/Items.swift",
        "Shared/ShareLink/ShareLink.swift",
        "Shared/ShareLink/SharePreview.swift",
        "Shared/ShareLink/ShareSheet.swift",
        "Shared/ShareLink/Single Item/Item+Label+Preview.swift",
        "Shared/ShareLink/Single Item/Item+Label.swift",
        "Shared/ShareLink/Single Item/Item+Preview.swift",
        "Shared/ShareLink/Single Item/Item.swift",
        "Shared/ShareLink/Transferable.swift",
        "Shared/StateObject/StateObject.swift",
        "Shared/System Overlays/SystemOverlays.swift",
        "Shared/Task/Task.swift",
        "Shared/Toolbar/Toolbar.swift",
        "Shared/Toolbar/ToolbarBackground+Environment.swift",
        "Shared/Toolbar/ToolbarBackground.swift",
        "Shared/Toolbar/ToolbarBackgroundModifier.swift",
        "Shared/Transition/PushTransition.swift",
        "Shared/Visibility/Visibility.swift",
        "iOS/AutoCapitalization/AutoCapitalization.swift",
        "iOS/FocusState/FocusState.swift",
        "iOS/FocusState/ViewFocused.swift",
        "iOS/Presentation/BackgroundInteraction.swift",
        "iOS/Presentation/ContentInteraction.swift",
        "iOS/Presentation/CornerRadius.swift",
        "iOS/Presentation/Detents.swift",
        "iOS/Presentation/DragIndicator.swift",
        "iOS/Presentation/InteractiveDetent.swift",
        "iOS/Presentation/InteractiveDismiss.swift",
        "iOS/ScaledMetric/ScaledMetric.swift",
        "iOS/ScrollView/Scroll+Environment.swift",
        "iOS/ScrollView/ScrollDismissesKeyboardMode.swift",
        "iOS/ScrollView/ScrollEnabled.swift",
        "iOS/ScrollView/ScrollIndicatorVisibility.swift",
        "iOS/ScrollView/ScrollIndicators.swift",
        "iOS/ScrollView/ScrollKeyboardDismiss.swift",
        "iOS/Submit/Submit.swift",
        "iOS/TextEditor/ColorProviders.swift",
        "iOS/TextEditor/FontProviders.swift",
        "iOS/TextEditor/TextEditor+Support.swift",
        "iOS/TextEditor/TextEditor.swift",
        "iOS/UIHostingConfiguration/Cells/UICollectionViewCell.swift",
        "iOS/UIHostingConfiguration/Cells/UITableViewCell.swift",
        "iOS/UIHostingConfiguration/ProposedInsets.swift",
        "iOS/UIHostingConfiguration/ProposedSize.swift",
        "iOS/UIHostingConfiguration/UIContentConfiguration.swift",
        "iOS/UIHostingConfiguration/UIHostingConfiguration.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.