Build Information
Successful build of SwiftUIBackports, reference 2.8.1 (f5f23b
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:08:37 UTC.
Swift 6 data race errors: 20
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/iOS/ScrollView/ScrollEnabled.swift:57:14: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
55 | #endif
56 | #if os(macOS)
57 | .any(forType: NSScrollView.self) { proxy in
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
58 | let scrollView = proxy.instance
59 | scrollView.hasHorizontalScroller = !disabled
[130/153] Compiling SwiftUIBackports OnChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[131/153] Compiling SwiftUIBackports OpenURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[132/153] Compiling SwiftUIBackports Safari.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[133/153] Compiling SwiftUIBackports Overlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[134/153] Compiling SwiftUIBackports PasteButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[135/153] Compiling SwiftUIBackports PhaseAnimator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[136/153] Compiling SwiftUIBackports MediaResults.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[137/153] Compiling SwiftUIBackports PHFetchOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[138/153] Compiling SwiftUIBackports PHObject+Identifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[139/153] Compiling SwiftUIBackports FetchAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[140/153] Compiling SwiftUIBackports FetchAssetCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[141/153] Compiling SwiftUIBackports FetchAssetList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// - Returns: A view that fires an action when the specified value changes.
26 | @ViewBuilder
27 | func onChange<Value: Equatable>(of value: Value, perform action: @escaping (Value) -> Void) -> some View {
| `- note: add '@MainActor' to make instance method 'onChange(of:perform:)' part of global actor 'MainActor'
28 | if #available(iOS 14, tvOS 14, macOS 11, watchOS 7, *) {
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| `- warning: call to main actor-isolated initializer 'init(value:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
:
41 | @State var oldValue: Value?
42 |
43 | init(value: Value, action: @escaping (Value) -> Void) {
| |- note: calls to initializer 'init(value:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
44 | self.value = value
45 | self.action = action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/OnChange/OnChange.swift:31:30: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
29 | wrapped.onChange(of: value, perform: action)
30 | } else {
31 | wrapped.modifier(ChangeModifier(value: value, action: action))
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'action' to main actor-isolated initializer 'init(value:action:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }
33 | }
[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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 | }
/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 requirement from protocol 'NSSharingServicePickerDelegate'; 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 requirement from protocol 'NSSharingServicePickerDelegate'; 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()
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: main actor-isolated default value of 'self.observedObject' cannot be used in a nonisolated initalizer
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 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/25] Emitting module SwiftBackports
[5/27] Compiling SwiftBackports String+Transferable.swift
[6/27] Compiling SwiftBackports URL+Transferable.swift
[7/27] Compiling SwiftBackports SentTransferredFile.swift
[8/27] Compiling SwiftBackports Visibility.swift
[9/27] Compiling SwiftBackports Backport.swift
[10/27] Compiling SwiftBackports Codable+Representation.swift
[11/27] Compiling SwiftBackports Data+Representation.swift
[12/27] Compiling SwiftBackports TransferRepresentationBuilder.swift
[13/27] Compiling SwiftBackports Transferable.swift
[14/27] Compiling SwiftBackports File+Representations.swift
[15/27] Compiling SwiftBackports Never+Representation.swift
[16/27] Compiling SwiftBackports Tuple+Representation.swift
[17/27] Compiling SwiftBackports TransferableRepresentation.swift
[18/27] Compiling SwiftBackports AttributedString+Transferable.swift
[19/27] Compiling SwiftBackports Data+Transferable.swift
[20/27] Compiling SwiftBackports Never+Transferable.swift
[21/27] Compiling SwiftBackports _ConditionalRepresentation.swift
[22/27] Compiling SwiftBackports NSItemProvider+Transferable.swift
[23/27] Compiling SwiftBackports ReceivedTransferredFile.swift
[24/27] Compiling SwiftBackports URLSession+Async.swift
[25/27] Compiling SwiftBackports CoreTypes.swift
[26/27] Compiling SwiftBackports UTTagClass.swift
[27/27] Compiling SwiftBackports UTType.swift
[28/138] Compiling SwiftUIBackports FetchCollectionList.swift
[29/138] Compiling SwiftUIBackports PhotosPicker+View.swift
[30/138] Compiling SwiftUIBackports PhotosPicker.swift
[31/138] Compiling SwiftUIBackports PhotosPickerItem.swift
[32/138] Compiling SwiftUIBackports PhotosPickerSelectionBehavior.swift
[33/138] Compiling SwiftUIBackports PickerFilter.swift
[34/138] Compiling SwiftUIBackports PickerResult.swift
[35/138] Compiling SwiftUIBackports Hosts.swift
[36/138] Compiling SwiftUIBackports PhotosPickerView.swift
[37/138] Compiling SwiftUIBackports ProgressView.swift
[38/138] Compiling SwiftUIBackports ProgressViewConfiguration.swift
[39/138] Compiling SwiftUIBackports ProgressViewStyle.swift
[40/150] Compiling SwiftUIBackports Task.swift
[41/150] Compiling SwiftUIBackports Toolbar.swift
[42/150] Compiling SwiftUIBackports ToolbarBackground+Environment.swift
[43/150] Compiling SwiftUIBackports ToolbarBackground.swift
[44/150] Compiling SwiftUIBackports ToolbarBackgroundModifier.swift
[45/150] Compiling SwiftUIBackports PushTransition.swift
[46/150] Compiling SwiftUIBackports Visibility.swift
[47/150] Compiling SwiftUIBackports AutoCapitalization.swift
[48/150] Compiling SwiftUIBackports FocusState.swift
[49/150] Compiling SwiftUIBackports ViewFocused.swift
[50/150] Compiling SwiftUIBackports BackgroundInteraction.swift
[51/150] Compiling SwiftUIBackports ContentInteraction.swift
[52/150] Compiling SwiftUIBackports CornerRadius.swift
[53/150] Compiling SwiftUIBackports Detents.swift
[54/150] Compiling SwiftUIBackports DragIndicator.swift
[55/150] Compiling SwiftUIBackports InteractiveDetent.swift
[56/150] Compiling SwiftUIBackports InteractiveDismiss.swift
[57/150] Compiling SwiftUIBackports ScaledMetric.swift
[58/150] Compiling SwiftUIBackports Scroll+Environment.swift
[59/150] Compiling SwiftUIBackports ScrollDismissesKeyboardMode.swift
[60/150] Compiling SwiftUIBackports ScrollEnabled.swift
[61/150] Compiling SwiftUIBackports ScrollIndicatorVisibility.swift
[62/150] Compiling SwiftUIBackports ScrollIndicators.swift
[63/150] Compiling SwiftUIBackports ScrollKeyboardDismiss.swift
[64/150] Compiling SwiftUIBackports LabelStyle.swift
[65/150] Compiling SwiftUIBackports DefaultLabelStyle.swift
[66/150] Compiling SwiftUIBackports IconOnlyLabelStyle.swift
[67/150] Compiling SwiftUIBackports TitleAndIconLabelStyle.swift
[68/150] Compiling SwiftUIBackports TitleOnlyLabelStyle.swift
[69/150] Compiling SwiftUIBackports LabeledContent.swift
[70/150] Compiling SwiftUIBackports LabeledContentStyle.swift
[71/150] Compiling SwiftUIBackports LabeledContentStyleConfiguration.swift
[72/150] Compiling SwiftUIBackports AutomaticLabeledContentStyle.swift
[73/150] Compiling SwiftUIBackports Link.swift
[74/150] Compiling SwiftUIBackports NavigationDestination.swift
[75/150] Compiling SwiftUIBackports NavigationTitle.swift
[76/150] Emitting module SwiftUIBackports
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[77/150] Compiling SwiftUIBackports CircularProgressViewStyle.swift
[78/150] Compiling SwiftUIBackports DefaultProgressViewStyle.swift
[79/150] Compiling SwiftUIBackports LinearProgressViewStyle.swift
[80/150] Compiling SwiftUIBackports Quicklook+iOS.swift
[81/150] Compiling SwiftUIBackports Quicklook+macOS.swift
[82/150] Compiling SwiftUIBackports Quicklook.swift
[83/150] Compiling SwiftUIBackports Refreshable.swift
[84/150] Compiling SwiftUIBackports RequestReview.swift
[85/150] Compiling SwiftUIBackports Section.swift
[86/150] Compiling SwiftUIBackports DefaultShareLinkLabel.swift
[87/150] Compiling SwiftUIBackports Items+Label+Preview.swift
[88/150] Compiling SwiftUIBackports Items+Label.swift
[89/150] Compiling SwiftUIBackports Items+Preview.swift
[90/150] Compiling SwiftUIBackports Items.swift
[91/150] Compiling SwiftUIBackports ShareLink.swift
[92/150] Compiling SwiftUIBackports SharePreview.swift
[93/150] Compiling SwiftUIBackports ShareSheet.swift
[94/150] Compiling SwiftUIBackports Item+Label+Preview.swift
[95/150] Compiling SwiftUIBackports Item+Label.swift
[96/150] Compiling SwiftUIBackports Item+Preview.swift
[97/150] Compiling SwiftUIBackports Item.swift
[98/150] Compiling SwiftUIBackports Transferable.swift
[99/150] Compiling SwiftUIBackports StateObject.swift
[100/150] Compiling SwiftUIBackports SystemOverlays.swift
[101/150] Compiling SwiftUIBackports OnChange.swift
[102/150] Compiling SwiftUIBackports OpenURL.swift
[103/150] Compiling SwiftUIBackports Safari.swift
[104/150] Compiling SwiftUIBackports Overlay.swift
[105/150] Compiling SwiftUIBackports PasteButton.swift
[106/150] Compiling SwiftUIBackports PhaseAnimator.swift
[107/150] Compiling SwiftUIBackports MediaResults.swift
[108/150] Compiling SwiftUIBackports PHFetchOptions.swift
[109/150] Compiling SwiftUIBackports PHObject+Identifiable.swift
[110/150] Compiling SwiftUIBackports FetchAsset.swift
[111/150] Compiling SwiftUIBackports FetchAssetCollection.swift
[112/150] Compiling SwiftUIBackports FetchAssetList.swift
[113/150] Compiling SwiftUIBackports Backport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[114/150] Compiling SwiftUIBackports FittingGeometryReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[115/150] Compiling SwiftUIBackports FittingScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[116/150] Compiling SwiftUIBackports Presenatation+Deprecations.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[117/150] Compiling SwiftUIBackports Environment+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[118/150] Compiling SwiftUIBackports Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[119/150] Compiling SwiftUIBackports Inspect.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[120/150] Compiling SwiftUIBackports NSItemProvider+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[121/150] Compiling SwiftUIBackports OwningController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[122/150] Compiling SwiftUIBackports Platforms.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[123/150] Compiling SwiftUIBackports SafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[124/150] Compiling SwiftUIBackports String+LocalizationKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[125/150] Compiling SwiftUIBackports UIScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/Environment.swift:9:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
7 |
8 | #if DEBUG
9 | extension EnvironmentValues: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | public var debugDescription: String {
11 | "\(self)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/NSItemProvider+Async.swift:23:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
21 | }
22 |
23 | extension NSData: NSItemProviderReading {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'NSItemProviderReading'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public static var readableTypeIdentifiersForItemProvider: [String] { [String(kUTTypeData)] }
25 | public static func object(withItemProviderData data: Data, typeIdentifier: String) throws -> Self { NSData(data: data) as! Self }
[126/150] Compiling SwiftUIBackports VisualEffect+iOS.swift
[127/150] Compiling SwiftUIBackports VisualEffect+macOS.swift
[128/150] Compiling SwiftUIBackports AppStorage.swift
[129/150] Compiling SwiftUIBackports AsyncImage.swift
[130/150] Compiling SwiftUIBackports Background.swift
[131/150] Compiling SwiftUIBackports Dismiss.swift
[132/150] Compiling SwiftUIBackports DynamicType+Environment.swift
[133/150] Compiling SwiftUIBackports DynamicType+Modifiers.swift
[134/150] Compiling SwiftUIBackports DynamicType.swift
[135/150] Compiling SwiftUIBackports ProposedViewSize.swift
[136/150] Compiling SwiftUIBackports Renderer.swift
[137/150] Compiling SwiftUIBackports Label.swift
[138/150] Compiling SwiftUIBackports LabelConfiguration.swift
[139/150] Compiling SwiftUIBackports Submit.swift
[140/150] Compiling SwiftUIBackports ColorProviders.swift
[141/150] Compiling SwiftUIBackports FontProviders.swift
[142/150] Compiling SwiftUIBackports TextEditor+Support.swift
[143/150] Compiling SwiftUIBackports TextEditor.swift
[144/150] Compiling SwiftUIBackports UICollectionViewCell.swift
[145/150] Compiling SwiftUIBackports UITableViewCell.swift
[146/150] Compiling SwiftUIBackports ProposedInsets.swift
[147/150] Compiling SwiftUIBackports ProposedSize.swift
[148/150] Compiling SwiftUIBackports UIContentConfiguration.swift
[149/150] Compiling SwiftUIBackports UIHostingConfiguration.swift
[150/150] Compiling SwiftUIBackports resource_bundle_accessor.swift
Build complete! (5.58s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftbackports",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shaps80/SwiftBackports"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftUIBackports",
"name" : "SwiftUIBackports",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftUIBackports",
"targets" : [
"SwiftUIBackports"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftUIBackports",
"module_type" : "SwiftTarget",
"name" : "SwiftUIBackports",
"path" : "Sources/SwiftUIBackports",
"product_dependencies" : [
"SwiftBackports"
],
"product_memberships" : [
"SwiftUIBackports"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Backport.swift",
"Deprecations/FittingGeometryReader.swift",
"Deprecations/FittingScrollView.swift",
"Deprecations/Presenatation+Deprecations.swift",
"Internal/Environment+String.swift",
"Internal/Environment.swift",
"Internal/Inspect.swift",
"Internal/NSItemProvider+Async.swift",
"Internal/OwningController.swift",
"Internal/Platforms.swift",
"Internal/SafeArea.swift",
"Internal/String+LocalizationKey.swift",
"Internal/UIScene.swift",
"Internal/VisualEffects/VisualEffect+iOS.swift",
"Internal/VisualEffects/VisualEffect+macOS.swift",
"Shared/AppStorage/AppStorage.swift",
"Shared/AsyncImage/AsyncImage.swift",
"Shared/Background/Background.swift",
"Shared/Dismiss/Dismiss.swift",
"Shared/DynamicType/DynamicType+Environment.swift",
"Shared/DynamicType/DynamicType+Modifiers.swift",
"Shared/DynamicType/DynamicType.swift",
"Shared/ImageRenderer/ProposedViewSize.swift",
"Shared/ImageRenderer/Renderer.swift",
"Shared/Label/Label.swift",
"Shared/Label/LabelConfiguration.swift",
"Shared/Label/LabelStyle.swift",
"Shared/Label/Styles/DefaultLabelStyle.swift",
"Shared/Label/Styles/IconOnlyLabelStyle.swift",
"Shared/Label/Styles/TitleAndIconLabelStyle.swift",
"Shared/Label/Styles/TitleOnlyLabelStyle.swift",
"Shared/LabeledContent/LabeledContent.swift",
"Shared/LabeledContent/LabeledContentStyle.swift",
"Shared/LabeledContent/LabeledContentStyleConfiguration.swift",
"Shared/LabeledContent/Styles/AutomaticLabeledContentStyle.swift",
"Shared/Link/Link.swift",
"Shared/Navigation/NavigationDestination.swift",
"Shared/Navigation/NavigationTitle.swift",
"Shared/OnChange/OnChange.swift",
"Shared/OpenURL/OpenURL.swift",
"Shared/OpenURL/Safari.swift",
"Shared/Overlay/Overlay.swift",
"Shared/PasteButton/PasteButton.swift",
"Shared/PhaseAnimator/PhaseAnimator.swift",
"Shared/PhotosPicker/Core/MediaResults.swift",
"Shared/PhotosPicker/Core/PHFetchOptions.swift",
"Shared/PhotosPicker/Core/PHObject+Identifiable.swift",
"Shared/PhotosPicker/Fetch/FetchAsset.swift",
"Shared/PhotosPicker/Fetch/FetchAssetCollection.swift",
"Shared/PhotosPicker/Fetch/FetchAssetList.swift",
"Shared/PhotosPicker/Fetch/FetchCollectionList.swift",
"Shared/PhotosPicker/PhotosPicker+View.swift",
"Shared/PhotosPicker/PhotosPicker.swift",
"Shared/PhotosPicker/PhotosPickerItem.swift",
"Shared/PhotosPicker/PhotosPickerSelectionBehavior.swift",
"Shared/PhotosPicker/PickerFilter.swift",
"Shared/PhotosPicker/PickerResult.swift",
"Shared/PhotosPicker/UI/Hosts.swift",
"Shared/PhotosPicker/UI/PhotosPickerView.swift",
"Shared/ProgressView/ProgressView.swift",
"Shared/ProgressView/ProgressViewConfiguration.swift",
"Shared/ProgressView/ProgressViewStyle.swift",
"Shared/ProgressView/Styles/CircularProgressViewStyle.swift",
"Shared/ProgressView/Styles/DefaultProgressViewStyle.swift",
"Shared/ProgressView/Styles/LinearProgressViewStyle.swift",
"Shared/Quicklook/Quicklook+iOS.swift",
"Shared/Quicklook/Quicklook+macOS.swift",
"Shared/Quicklook/Quicklook.swift",
"Shared/Refreshable/Refreshable.swift",
"Shared/RequestReview/RequestReview.swift",
"Shared/Section/Section.swift",
"Shared/ShareLink/DefaultShareLinkLabel.swift",
"Shared/ShareLink/Multiple Items/Items+Label+Preview.swift",
"Shared/ShareLink/Multiple Items/Items+Label.swift",
"Shared/ShareLink/Multiple Items/Items+Preview.swift",
"Shared/ShareLink/Multiple Items/Items.swift",
"Shared/ShareLink/ShareLink.swift",
"Shared/ShareLink/SharePreview.swift",
"Shared/ShareLink/ShareSheet.swift",
"Shared/ShareLink/Single Item/Item+Label+Preview.swift",
"Shared/ShareLink/Single Item/Item+Label.swift",
"Shared/ShareLink/Single Item/Item+Preview.swift",
"Shared/ShareLink/Single Item/Item.swift",
"Shared/ShareLink/Transferable.swift",
"Shared/StateObject/StateObject.swift",
"Shared/System Overlays/SystemOverlays.swift",
"Shared/Task/Task.swift",
"Shared/Toolbar/Toolbar.swift",
"Shared/Toolbar/ToolbarBackground+Environment.swift",
"Shared/Toolbar/ToolbarBackground.swift",
"Shared/Toolbar/ToolbarBackgroundModifier.swift",
"Shared/Transition/PushTransition.swift",
"Shared/Visibility/Visibility.swift",
"iOS/AutoCapitalization/AutoCapitalization.swift",
"iOS/FocusState/FocusState.swift",
"iOS/FocusState/ViewFocused.swift",
"iOS/Presentation/BackgroundInteraction.swift",
"iOS/Presentation/ContentInteraction.swift",
"iOS/Presentation/CornerRadius.swift",
"iOS/Presentation/Detents.swift",
"iOS/Presentation/DragIndicator.swift",
"iOS/Presentation/InteractiveDetent.swift",
"iOS/Presentation/InteractiveDismiss.swift",
"iOS/ScaledMetric/ScaledMetric.swift",
"iOS/ScrollView/Scroll+Environment.swift",
"iOS/ScrollView/ScrollDismissesKeyboardMode.swift",
"iOS/ScrollView/ScrollEnabled.swift",
"iOS/ScrollView/ScrollIndicatorVisibility.swift",
"iOS/ScrollView/ScrollIndicators.swift",
"iOS/ScrollView/ScrollKeyboardDismiss.swift",
"iOS/Submit/Submit.swift",
"iOS/TextEditor/ColorProviders.swift",
"iOS/TextEditor/FontProviders.swift",
"iOS/TextEditor/TextEditor+Support.swift",
"iOS/TextEditor/TextEditor.swift",
"iOS/UIHostingConfiguration/Cells/UICollectionViewCell.swift",
"iOS/UIHostingConfiguration/Cells/UITableViewCell.swift",
"iOS/UIHostingConfiguration/ProposedInsets.swift",
"iOS/UIHostingConfiguration/ProposedSize.swift",
"iOS/UIHostingConfiguration/UIContentConfiguration.swift",
"iOS/UIHostingConfiguration/UIHostingConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.