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

Failed to build SwiftUIBackports, reference 2.8.1 (f5f23b), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 00:49:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

31 |         #else
32 |         wrapped
[139/153] Compiling SwiftUIBackports DefaultShareLinkLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/CircularProgressViewStyle.swift:31:17: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 |             VStack {
30 |                 #if !os(watchOS)
31 |                 CircularRepresentable(configuration: configuration)
   |                 `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |                 #endif
33 |
   :
45 |
46 | #if os(macOS)
47 | private struct CircularRepresentable: NSViewRepresentable {
   |                `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
48 |     let configuration: Backport<Any>.ProgressViewStyleConfiguration
49 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/LinearProgressViewStyle.swift:34:17: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |                     .foregroundColor(.primary)
 33 |
 34 |                 LinearRepresentable(configuration: configuration)
    |                 `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |                 configuration.currentValueLabel
    :
 66 |
 67 | #if os(macOS)
 68 | private struct LinearRepresentable: NSViewRepresentable {
    |                `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
 69 |     let configuration: Backport<Any>.ProgressViewStyleConfiguration
 70 |
/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/Quicklook/Quicklook+macOS.swift:93:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 91 |
 92 |     override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
 93 |         panel.dataSource = self
    |               `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 94 |         panel.reloadData()
 95 |     }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
 7 |     open var currentController: Any! { get }
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
   |                                         `- note: mutation of this property is only permitted within the actor
10 |     @MainActor open func reloadData()
11 |     open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:94:15: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |     override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
 93 |         panel.dataSource = self
 94 |         panel.reloadData()
    |               `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |     }
 96 |
QuickLookUI.QLPreviewPanel:10:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
10 |     @MainActor open func reloadData()
   |                          `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
11 |     open func refreshCurrentPreviewItem()
12 |     @MainActor open var currentPreviewItemIndex: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:98:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 96 |
 97 |     override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
 98 |         panel.dataSource = nil
    |               `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 99 |         dismiss()
100 |     }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
 7 |     open var currentController: Any! { get }
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
   |                                         `- note: mutation of this property is only permitted within the actor
10 |     @MainActor open func reloadData()
11 |     open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:99:9: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |     }
 70 |
 71 |     private func dismiss() {
    |                  `- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
 72 |         selection.wrappedValue = nil
 73 |     }
    :
 97 |     override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
 98 |         panel.dataSource = nil
 99 |         dismiss()
    |         `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |     }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:30:28: warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 |     ///
27 |     /// - Returns: A view that presents the preview of the contents of the URL.
28 |     public func quickLookPreview<Items>(_ selection: Binding<Items.Element?>, in items: Items) -> some View where Items: RandomAccessCollection, Items.Element == URL {
   |                 `- note: add '@MainActor' to make instance method 'quickLookPreview(_:in:)' part of global actor 'MainActor'
29 |         #if os(iOS) || os(macOS)
30 |         wrapped.background(QuicklookSheet(selection: selection, items: items))
   |                            `- warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         #else
32 |         wrapped
   :
61 | import QuickLookUI
62 |
63 | private struct QuicklookSheet<Items>: NSViewControllerRepresentable where Items: RandomAccessCollection, Items.Element == URL {
   |                `- note: calls to initializer 'init(selection:items:)' from outside of its actor context are implicitly asynchronous
64 |     let selection: Binding<Items.Element?>
65 |     let items: Items
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:52:28: warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |     ///
49 |     /// - Returns: A view that presents the preview of the contents of the URL.
50 |     public func quickLookPreview(_ item: Binding<URL?>) -> some View {
   |                 `- note: add '@MainActor' to make instance method 'quickLookPreview' part of global actor 'MainActor'
51 |         #if os(iOS) || os(macOS)
52 |         wrapped.background(QuicklookSheet(selection: item, items: [item.wrappedValue].compactMap { $0 }))
   |                            `- warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         #else
54 |         wrapped
   :
61 | import QuickLookUI
62 |
63 | private struct QuicklookSheet<Items>: NSViewControllerRepresentable where Items: RandomAccessCollection, Items.Element == URL {
   |                `- note: calls to initializer 'init(selection:items:)' from outside of its actor context are implicitly asynchronous
64 |     let selection: Binding<Items.Element?>
65 |     let items: Items
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/CircularProgressViewStyle.swift:31:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
29 |             VStack {
30 |                 #if !os(watchOS)
31 |                 CircularRepresentable(configuration: configuration)
   |                 |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
32 |                 #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/LinearProgressViewStyle.swift:34:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
 32 |                     .foregroundColor(.primary)
 33 |
 34 |                 LinearRepresentable(configuration: configuration)
    |                 |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
 35 |
 36 |                 configuration.currentValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:30:28: warning: sending 'items' risks causing data races; this is an error in the Swift 6 language mode
28 |     public func quickLookPreview<Items>(_ selection: Binding<Items.Element?>, in items: Items) -> some View where Items: RandomAccessCollection, Items.Element == URL {
29 |         #if os(iOS) || os(macOS)
30 |         wrapped.background(QuicklookSheet(selection: selection, items: items))
   |                            |- warning: sending 'items' risks causing data races; this is an error in the Swift 6 language mode
   |                            `- note: sending task-isolated 'items' to main actor-isolated initializer 'init(selection:items:)' risks causing data races between main actor-isolated and task-isolated uses
31 |         #else
32 |         wrapped
[140/153] Compiling SwiftUIBackports Items+Label+Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/CircularProgressViewStyle.swift:31:17: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 |             VStack {
30 |                 #if !os(watchOS)
31 |                 CircularRepresentable(configuration: configuration)
   |                 `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |                 #endif
33 |
   :
45 |
46 | #if os(macOS)
47 | private struct CircularRepresentable: NSViewRepresentable {
   |                `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
48 |     let configuration: Backport<Any>.ProgressViewStyleConfiguration
49 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/LinearProgressViewStyle.swift:34:17: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |                     .foregroundColor(.primary)
 33 |
 34 |                 LinearRepresentable(configuration: configuration)
    |                 `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |                 configuration.currentValueLabel
    :
 66 |
 67 | #if os(macOS)
 68 | private struct LinearRepresentable: NSViewRepresentable {
    |                `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
 69 |     let configuration: Backport<Any>.ProgressViewStyleConfiguration
 70 |
/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/Quicklook/Quicklook+macOS.swift:93:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 91 |
 92 |     override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
 93 |         panel.dataSource = self
    |               `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 94 |         panel.reloadData()
 95 |     }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
 7 |     open var currentController: Any! { get }
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
   |                                         `- note: mutation of this property is only permitted within the actor
10 |     @MainActor open func reloadData()
11 |     open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:94:15: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |     override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
 93 |         panel.dataSource = self
 94 |         panel.reloadData()
    |               `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |     }
 96 |
QuickLookUI.QLPreviewPanel:10:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
10 |     @MainActor open func reloadData()
   |                          `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
11 |     open func refreshCurrentPreviewItem()
12 |     @MainActor open var currentPreviewItemIndex: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:98:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 96 |
 97 |     override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
 98 |         panel.dataSource = nil
    |               `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 99 |         dismiss()
100 |     }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
 7 |     open var currentController: Any! { get }
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
   |                                         `- note: mutation of this property is only permitted within the actor
10 |     @MainActor open func reloadData()
11 |     open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:99:9: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |     }
 70 |
 71 |     private func dismiss() {
    |                  `- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
 72 |         selection.wrappedValue = nil
 73 |     }
    :
 97 |     override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
 98 |         panel.dataSource = nil
 99 |         dismiss()
    |         `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |     }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:30:28: warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 |     ///
27 |     /// - Returns: A view that presents the preview of the contents of the URL.
28 |     public func quickLookPreview<Items>(_ selection: Binding<Items.Element?>, in items: Items) -> some View where Items: RandomAccessCollection, Items.Element == URL {
   |                 `- note: add '@MainActor' to make instance method 'quickLookPreview(_:in:)' part of global actor 'MainActor'
29 |         #if os(iOS) || os(macOS)
30 |         wrapped.background(QuicklookSheet(selection: selection, items: items))
   |                            `- warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         #else
32 |         wrapped
   :
61 | import QuickLookUI
62 |
63 | private struct QuicklookSheet<Items>: NSViewControllerRepresentable where Items: RandomAccessCollection, Items.Element == URL {
   |                `- note: calls to initializer 'init(selection:items:)' from outside of its actor context are implicitly asynchronous
64 |     let selection: Binding<Items.Element?>
65 |     let items: Items
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:52:28: warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |     ///
49 |     /// - Returns: A view that presents the preview of the contents of the URL.
50 |     public func quickLookPreview(_ item: Binding<URL?>) -> some View {
   |                 `- note: add '@MainActor' to make instance method 'quickLookPreview' part of global actor 'MainActor'
51 |         #if os(iOS) || os(macOS)
52 |         wrapped.background(QuicklookSheet(selection: item, items: [item.wrappedValue].compactMap { $0 }))
   |                            `- warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         #else
54 |         wrapped
   :
61 | import QuickLookUI
62 |
63 | private struct QuicklookSheet<Items>: NSViewControllerRepresentable where Items: RandomAccessCollection, Items.Element == URL {
   |                `- note: calls to initializer 'init(selection:items:)' from outside of its actor context are implicitly asynchronous
64 |     let selection: Binding<Items.Element?>
65 |     let items: Items
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/CircularProgressViewStyle.swift:31:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
29 |             VStack {
30 |                 #if !os(watchOS)
31 |                 CircularRepresentable(configuration: configuration)
   |                 |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
32 |                 #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/LinearProgressViewStyle.swift:34:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
 32 |                     .foregroundColor(.primary)
 33 |
 34 |                 LinearRepresentable(configuration: configuration)
    |                 |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
 35 |
 36 |                 configuration.currentValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:30:28: warning: sending 'items' risks causing data races; this is an error in the Swift 6 language mode
28 |     public func quickLookPreview<Items>(_ selection: Binding<Items.Element?>, in items: Items) -> some View where Items: RandomAccessCollection, Items.Element == URL {
29 |         #if os(iOS) || os(macOS)
30 |         wrapped.background(QuicklookSheet(selection: selection, items: items))
   |                            |- warning: sending 'items' risks causing data races; this is an error in the Swift 6 language mode
   |                            `- note: sending task-isolated 'items' to main actor-isolated initializer 'init(selection:items:)' risks causing data races between main actor-isolated and task-isolated uses
31 |         #else
32 |         wrapped
[141/153] Compiling SwiftUIBackports Items+Label.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/CircularProgressViewStyle.swift:31:17: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 |             VStack {
30 |                 #if !os(watchOS)
31 |                 CircularRepresentable(configuration: configuration)
   |                 `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |                 #endif
33 |
   :
45 |
46 | #if os(macOS)
47 | private struct CircularRepresentable: NSViewRepresentable {
   |                `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
48 |     let configuration: Backport<Any>.ProgressViewStyleConfiguration
49 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/LinearProgressViewStyle.swift:34:17: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |                     .foregroundColor(.primary)
 33 |
 34 |                 LinearRepresentable(configuration: configuration)
    |                 `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |                 configuration.currentValueLabel
    :
 66 |
 67 | #if os(macOS)
 68 | private struct LinearRepresentable: NSViewRepresentable {
    |                `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
 69 |     let configuration: Backport<Any>.ProgressViewStyleConfiguration
 70 |
/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/Quicklook/Quicklook+macOS.swift:93:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 91 |
 92 |     override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
 93 |         panel.dataSource = self
    |               `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 94 |         panel.reloadData()
 95 |     }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
 7 |     open var currentController: Any! { get }
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
   |                                         `- note: mutation of this property is only permitted within the actor
10 |     @MainActor open func reloadData()
11 |     open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:94:15: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |     override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
 93 |         panel.dataSource = self
 94 |         panel.reloadData()
    |               `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |     }
 96 |
QuickLookUI.QLPreviewPanel:10:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
10 |     @MainActor open func reloadData()
   |                          `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
11 |     open func refreshCurrentPreviewItem()
12 |     @MainActor open var currentPreviewItemIndex: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:98:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 96 |
 97 |     override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
 98 |         panel.dataSource = nil
    |               `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 99 |         dismiss()
100 |     }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
 7 |     open var currentController: Any! { get }
 8 |     @MainActor open func updateController()
 9 |     @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
   |                                         `- note: mutation of this property is only permitted within the actor
10 |     @MainActor open func reloadData()
11 |     open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook+macOS.swift:99:9: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |     }
 70 |
 71 |     private func dismiss() {
    |                  `- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
 72 |         selection.wrappedValue = nil
 73 |     }
    :
 97 |     override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
 98 |         panel.dataSource = nil
 99 |         dismiss()
    |         `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |     }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:30:28: warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 |     ///
27 |     /// - Returns: A view that presents the preview of the contents of the URL.
28 |     public func quickLookPreview<Items>(_ selection: Binding<Items.Element?>, in items: Items) -> some View where Items: RandomAccessCollection, Items.Element == URL {
   |                 `- note: add '@MainActor' to make instance method 'quickLookPreview(_:in:)' part of global actor 'MainActor'
29 |         #if os(iOS) || os(macOS)
30 |         wrapped.background(QuicklookSheet(selection: selection, items: items))
   |                            `- warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         #else
32 |         wrapped
   :
61 | import QuickLookUI
62 |
63 | private struct QuicklookSheet<Items>: NSViewControllerRepresentable where Items: RandomAccessCollection, Items.Element == URL {
   |                `- note: calls to initializer 'init(selection:items:)' from outside of its actor context are implicitly asynchronous
64 |     let selection: Binding<Items.Element?>
65 |     let items: Items
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:52:28: warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |     ///
49 |     /// - Returns: A view that presents the preview of the contents of the URL.
50 |     public func quickLookPreview(_ item: Binding<URL?>) -> some View {
   |                 `- note: add '@MainActor' to make instance method 'quickLookPreview' part of global actor 'MainActor'
51 |         #if os(iOS) || os(macOS)
52 |         wrapped.background(QuicklookSheet(selection: item, items: [item.wrappedValue].compactMap { $0 }))
   |                            `- warning: call to main actor-isolated initializer 'init(selection:items:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         #else
54 |         wrapped
   :
61 | import QuickLookUI
62 |
63 | private struct QuicklookSheet<Items>: NSViewControllerRepresentable where Items: RandomAccessCollection, Items.Element == URL {
   |                `- note: calls to initializer 'init(selection:items:)' from outside of its actor context are implicitly asynchronous
64 |     let selection: Binding<Items.Element?>
65 |     let items: Items
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/CircularProgressViewStyle.swift:31:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
29 |             VStack {
30 |                 #if !os(watchOS)
31 |                 CircularRepresentable(configuration: configuration)
   |                 |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
32 |                 #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ProgressView/Styles/LinearProgressViewStyle.swift:34:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
 32 |                     .foregroundColor(.primary)
 33 |
 34 |                 LinearRepresentable(configuration: configuration)
    |                 |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
 35 |
 36 |                 configuration.currentValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/Quicklook/Quicklook.swift:30:28: warning: sending 'items' risks causing data races; this is an error in the Swift 6 language mode
28 |     public func quickLookPreview<Items>(_ selection: Binding<Items.Element?>, in items: Items) -> some View where Items: RandomAccessCollection, Items.Element == URL {
29 |         #if os(iOS) || os(macOS)
30 |         wrapped.background(QuicklookSheet(selection: selection, items: items))
   |                            |- warning: sending 'items' risks causing data races; this is an error in the Swift 6 language mode
   |                            `- note: sending task-isolated 'items' to main actor-isolated initializer 'init(selection:items:)' risks causing data races between main actor-isolated and task-isolated uses
31 |         #else
32 |         wrapped
[142/153] Compiling SwiftUIBackports Items+Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[143/153] Compiling SwiftUIBackports Items.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[144/153] Compiling SwiftUIBackports ShareLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[145/153] Compiling SwiftUIBackports SharePreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[146/153] Compiling SwiftUIBackports ShareSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[147/153] Compiling SwiftUIBackports Item+Label+Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[148/153] Compiling SwiftUIBackports Item+Label.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[149/153] Compiling SwiftUIBackports Item+Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[150/153] Compiling SwiftUIBackports Item.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[151/153] Compiling SwiftUIBackports Transferable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[152/153] Compiling SwiftUIBackports StateObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
[153/153] Compiling SwiftUIBackports SystemOverlays.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ShareLink/ShareSheet.swift:84:14: 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
 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:115:56: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |                                                        `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:9:43: note: property declared here
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
   |                                           `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 |         }
117 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:145:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
    |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 |                 observedObject.value = state.value
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:146:17: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |         @State private var state = Wrapper()
 69 |
 70 |         @ObservedObject private var observedObject = Wrapper()
    |                                     `- note: property declared here
 71 |
 72 |         private var thunk: () -> Wrapped
    :
139 |         }
140 |
141 |         public mutating func update() {
    |                              `- note: add '@MainActor' to make instance method 'update()' part of global actor 'MainActor'
142 |             if state.value == nil {
143 |                 state.value = thunk()
144 |             }
145 |             if observedObject.value !== state.value {
146 |                 observedObject.value = state.value
    |                 `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |             }
148 |         }
/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 nonisolated 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 nonisolated 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()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:139:9: error: return from initializer without initializing all stored properties
137 |         public init(wrappedValue thunk: @autoclosure @escaping () -> Wrapped) {
138 |             self.thunk = thunk
139 |         }
    |         |- error: return from initializer without initializing all stored properties
    |         `- note: 'self.observedObject' not initialized
140 |
141 |         public mutating func update() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/StateObject/StateObject.swift:115:13: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
113 |         ///     }
114 |         public var projectedValue: ObservedObject<Wrapped>.Wrapper {
115 |             ObservedObject(wrappedValue: wrappedValue).projectedValue
    |             |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: sending task-isolated 'self.wrappedValue' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 |         }
117 |
BUILD FAILURE 6.0 macosSpm