Build Information
Successful build of SwiftUIBackports, reference main (f5f23b
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:08:44 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:104:9: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
102 | @ViewBuilder
103 | static func AsyncImage<Content: View>(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) -> some View {
104 | _AsyncImage(url: url, scale: scale, transaction: transaction, content: content)
| |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'content' to main actor-isolated initializer 'init(url:scale:transaction:content:)' risks causing data races between main actor-isolated and task-isolated uses
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 | var nsImage: NSImage? {
33 | NSHostingController(rootView: content).view.snapshot
| |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 | }
35 |
[141/153] Compiling SwiftUIBackports LabelConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:52:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | class Coordinator {
52 | let visualEffectView = NSVisualEffectView()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:55:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | init() {
55 | visualEffectView.blendingMode = .withinWindow
| `- warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
56 | }
57 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:101:38: note: mutation of this property is only permitted within the actor
99 |
100 | /// A value controlling how the NSVisualEffectView generates its material. See the comments on NSVisualEffectBlendingMode. Not all materials support both blending modes, so NSVisualEffectView may fall back to a more appropriate blending mode as needed. Defaults to NSVisualEffectBlendingModeBehindWindow.
101 | @property NSVisualEffectBlendingMode blendingMode;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /// A value controlling when the NSVisualEffectView takes on the active look. See the comments on NSVisualEffectState. Defaults to NSVisualEffectStateFollowsWindowActiveState.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:59:30: warning: main actor-isolated property 'material' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
56 | }
57 |
58 | func update(material: NSVisualEffectView.Material) {
| `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
59 | visualEffectView.material = material
| `- warning: main actor-isolated property 'material' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 | }
61 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:95:34: note: mutation of this property is only permitted within the actor
93 |
94 | /// A value indicating which material is shown by the NSVisualEffectView. See the comments on NSVisualEffectMaterial. Defaults to NSVisualEffectMaterialAppearanceBased. You should instead specify an appropriate semantic material value. See the comments on NSVisualEffectMaterial.
95 | @property NSVisualEffectMaterial material;
| `- note: mutation of this property is only permitted within the actor
96 |
97 | /// An NSBackgroundStyle value that most closely matches the look of the material shown by the NSVisualEffectView.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:63:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 | }
61 |
62 | func update(blendingMode: NSVisualEffectView.BlendingMode) {
| `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
63 | visualEffectView.blendingMode = blendingMode
| `- warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:101:38: note: mutation of this property is only permitted within the actor
99 |
100 | /// A value controlling how the NSVisualEffectView generates its material. See the comments on NSVisualEffectBlendingMode. Not all materials support both blending modes, so NSVisualEffectView may fall back to a more appropriate blending mode as needed. Defaults to NSVisualEffectBlendingModeBehindWindow.
101 | @property NSVisualEffectBlendingMode blendingMode;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /// A value controlling when the NSVisualEffectView takes on the active look. See the comments on NSVisualEffectState. Defaults to NSVisualEffectStateFollowsWindowActiveState.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Internal/VisualEffects/VisualEffect+macOS.swift:67:30: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
66 | func update(state: NSVisualEffectView.State) {
| `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
67 | visualEffectView.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:104:31: note: mutation of this property is only permitted within the actor
102 |
103 | /// A value controlling when the NSVisualEffectView takes on the active look. See the comments on NSVisualEffectState. Defaults to NSVisualEffectStateFollowsWindowActiveState.
104 | @property NSVisualEffectState state;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /// An image whose alpha channel is used to mask the material generated by the NSVisualEffectView. (It does not also mask subviews.) Defaults to nil. It is best to set this to the smallest mask image possible and properly set the image's capInsets property to stretch it. Setting the maskImage on an NSVisualEffectView that is the contentView of a window will correctly influence the window's shadow.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AppStorage/AppStorage.swift:15:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | public struct AppStorage<Value>: DynamicProperty {
14 |
15 | @ObservedObject
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | private var _value: RefStorage<Value>
17 | private let commitHandler: (Value) -> Void
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/AppStorage/AppStorage.swift:20:19: warning: main actor-isolated property '_value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | @ObservedObject
16 | private var _value: RefStorage<Value>
| `- note: property declared here
17 | private let commitHandler: (Value) -> Void
18 |
19 | public var wrappedValue: Value {
20 | get { _value.value }
| `- warning: main actor-isolated property '_value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | nonmutating set {
22 | commitHandler(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AppStorage/AppStorage.swift:23:17: warning: main actor-isolated property '_value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | @ObservedObject
16 | private var _value: RefStorage<Value>
| `- note: mutation of this property is only permitted within the actor
17 | private let commitHandler: (Value) -> Void
18 |
:
21 | nonmutating set {
22 | commitHandler(newValue)
23 | _value.value = newValue
| `- warning: main actor-isolated property '_value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AppStorage/AppStorage.swift:29:24: warning: capture of 'self' with non-sendable type 'Backport<Any>.AppStorage<Value>' in a '@Sendable' closure
11 | /// invalidates a view on a change in value in that store.
12 | @propertyWrapper
13 | public struct AppStorage<Value>: DynamicProperty {
| `- note: consider making generic struct 'AppStorage' conform to the 'Sendable' protocol
14 |
15 | @ObservedObject
:
27 | public var projectedValue: Binding<Value> {
28 | Binding(
29 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Backport<Any>.AppStorage<Value>' in a '@Sendable' closure
30 | set: { wrappedValue = $0 }
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AppStorage/AppStorage.swift:30:24: warning: capture of 'self' with non-sendable type 'Backport<Any>.AppStorage<Value>' in a '@Sendable' closure
11 | /// invalidates a view on a change in value in that store.
12 | @propertyWrapper
13 | public struct AppStorage<Value>: DynamicProperty {
| `- note: consider making generic struct 'AppStorage' conform to the 'Sendable' protocol
14 |
15 | @ObservedObject
:
28 | Binding(
29 | get: { wrappedValue },
30 | set: { wrappedValue = $0 }
| `- warning: capture of 'self' with non-sendable type 'Backport<Any>.AppStorage<Value>' in a '@Sendable' closure
31 | )
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AppStorage/AppStorage.swift:35:18: warning: main actor-isolated property '_value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | @ObservedObject
16 | private var _value: RefStorage<Value>
| `- note: mutation of this property is only permitted within the actor
17 | private let commitHandler: (Value) -> Void
18 |
:
33 |
34 | private init(value: Value, store: UserDefaults, key: String, get: @escaping (Any?) -> Value?, set: @escaping (Value) -> Void) {
35 | self._value = RefStorage(value: value, store: store, key: key, transform: get)
| `- warning: main actor-isolated property '_value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | self.commitHandler = set
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:30:9: warning: call to main actor-isolated initializer 'init(url:scale:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | /// would name with the `@2x` suffix if stored in a file on disk.
28 | @ViewBuilder
29 | static func AsyncImage(url: URL?, scale: CGFloat = 1) -> some View {
| `- note: add '@MainActor' to make static method 'AsyncImage(url:scale:)' part of global actor 'MainActor'
30 | _AsyncImage(url: url, scale: scale)
| `- warning: call to main actor-isolated initializer 'init(url:scale:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
:
183 | }
184 |
185 | init(url: URL?, scale: CGFloat = 1) where Content == AnyView {
| |- note: calls to initializer 'init(url:scale:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
186 | self.url = url
187 | self.scale = scale
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:65:9: warning: call to main actor-isolated initializer 'init(url:scale:content:placeholder:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 | /// load operation completes successfully.
63 | @ViewBuilder
64 | static func AsyncImage<I: View, P: View>(url: URL?, scale: CGFloat = 1, @ViewBuilder content: @escaping (Image) -> I, @ViewBuilder placeholder: @escaping () -> P) -> some View {
| `- note: add '@MainActor' to make static method 'AsyncImage(url:scale:content:placeholder:)' part of global actor 'MainActor'
65 | _AsyncImage(url: url, scale: scale, content: content, placeholder: placeholder)
| `- warning: call to main actor-isolated initializer 'init(url:scale:content:placeholder:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
189 | }
190 |
191 | init<I, P>(url: URL?, scale: CGFloat = 1, @ViewBuilder content: @escaping (Image) -> I, @ViewBuilder placeholder: @escaping () -> P) where Content == _ConditionalContent<I, P> {
| |- note: calls to initializer 'init(url:scale:content:placeholder:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
192 | self.url = url
193 | self.scale = scale
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:104:9: warning: call to main actor-isolated initializer 'init(url:scale:transaction:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
101 | /// returns the view to display for the specified phase.
102 | @ViewBuilder
103 | static func AsyncImage<Content: View>(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) -> some View {
| `- note: add '@MainActor' to make static method 'AsyncImage(url:scale:transaction:content:)' part of global actor 'MainActor'
104 | _AsyncImage(url: url, scale: scale, transaction: transaction, content: content)
| `- warning: call to main actor-isolated initializer 'init(url:scale:transaction:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 |
:
202 | }
203 |
204 | init(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (Backport<Any>.AsyncImagePhase) -> Content) {
| |- note: calls to initializer 'init(url:scale:transaction:content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
205 | self.url = url
206 | self.scale = scale
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Environment.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | private struct BackportDynamicTypeKey: EnvironmentKey {
5 | static var defaultValue: Backport.DynamicTypeSize = .large
| |- warning: static property 'defaultValue' is not concurrency-safe because it is 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Modifiers.swift:69:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// within the specified `range`.
65 | @ViewBuilder
66 | public func dynamicTypeSize<T>(_ range: T) -> some View where T: RangeExpression, T.Bound == Backport<Any>.DynamicTypeSize {
| `- note: add '@MainActor' to make instance method 'dynamicTypeSize' part of global actor 'MainActor'
67 | if let range = range as? Range<T.Bound> {
68 | wrapped
69 | .modifier(DynamicTypeRangeModifier())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | .environment(\.dynamicTypeRange, range)
71 | } else if let range = range as? ClosedRange<T.Bound> {
:
93 | }
94 |
95 | private struct DynamicTypeRangeModifier: ViewModifier {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
96 | @Environment(\.dynamicTypeRange) private var range
97 | @Environment(\.backportDynamicTypeSize) private var size
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Modifiers.swift:73:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// within the specified `range`.
65 | @ViewBuilder
66 | public func dynamicTypeSize<T>(_ range: T) -> some View where T: RangeExpression, T.Bound == Backport<Any>.DynamicTypeSize {
| `- note: add '@MainActor' to make instance method 'dynamicTypeSize' part of global actor 'MainActor'
67 | if let range = range as? Range<T.Bound> {
68 | wrapped
:
71 | } else if let range = range as? ClosedRange<T.Bound> {
72 | wrapped
73 | .modifier(DynamicTypeRangeModifier())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 | .environment(\.dynamicTypeRange, .init(uncheckedBounds: (lower: range.lowerBound, upper: range.upperBound)))
75 | } else if let range = range as? PartialRangeFrom<T.Bound> {
:
93 | }
94 |
95 | private struct DynamicTypeRangeModifier: ViewModifier {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
96 | @Environment(\.dynamicTypeRange) private var range
97 | @Environment(\.backportDynamicTypeSize) private var size
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Modifiers.swift:77:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// within the specified `range`.
65 | @ViewBuilder
66 | public func dynamicTypeSize<T>(_ range: T) -> some View where T: RangeExpression, T.Bound == Backport<Any>.DynamicTypeSize {
| `- note: add '@MainActor' to make instance method 'dynamicTypeSize' part of global actor 'MainActor'
67 | if let range = range as? Range<T.Bound> {
68 | wrapped
:
75 | } else if let range = range as? PartialRangeFrom<T.Bound> {
76 | wrapped
77 | .modifier(DynamicTypeRangeModifier())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | .environment(\.dynamicTypeRange, .init(uncheckedBounds: (range.lowerBound, .accessibility5)))
79 | } else if let range = range as? PartialRangeUpTo<T.Bound> {
:
93 | }
94 |
95 | private struct DynamicTypeRangeModifier: ViewModifier {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
96 | @Environment(\.dynamicTypeRange) private var range
97 | @Environment(\.backportDynamicTypeSize) private var size
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Modifiers.swift:81:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// within the specified `range`.
65 | @ViewBuilder
66 | public func dynamicTypeSize<T>(_ range: T) -> some View where T: RangeExpression, T.Bound == Backport<Any>.DynamicTypeSize {
| `- note: add '@MainActor' to make instance method 'dynamicTypeSize' part of global actor 'MainActor'
67 | if let range = range as? Range<T.Bound> {
68 | wrapped
:
79 | } else if let range = range as? PartialRangeUpTo<T.Bound> {
80 | wrapped
81 | .modifier(DynamicTypeRangeModifier())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | .environment(\.dynamicTypeRange, .init(uncheckedBounds: (.xSmall, range.upperBound)))
83 | } else if let range = range as? PartialRangeThrough<T.Bound> {
:
93 | }
94 |
95 | private struct DynamicTypeRangeModifier: ViewModifier {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
96 | @Environment(\.dynamicTypeRange) private var range
97 | @Environment(\.backportDynamicTypeSize) private var size
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Modifiers.swift:85:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// within the specified `range`.
65 | @ViewBuilder
66 | public func dynamicTypeSize<T>(_ range: T) -> some View where T: RangeExpression, T.Bound == Backport<Any>.DynamicTypeSize {
| `- note: add '@MainActor' to make instance method 'dynamicTypeSize' part of global actor 'MainActor'
67 | if let range = range as? Range<T.Bound> {
68 | wrapped
:
83 | } else if let range = range as? PartialRangeThrough<T.Bound> {
84 | wrapped
85 | .modifier(DynamicTypeRangeModifier())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | .environment(\.dynamicTypeRange, .init(uncheckedBounds: (.xSmall, range.upperBound)))
87 | } else {
:
93 | }
94 |
95 | private struct DynamicTypeRangeModifier: ViewModifier {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
96 | @Environment(\.dynamicTypeRange) private var range
97 | @Environment(\.backportDynamicTypeSize) private var size
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/DynamicType/DynamicType+Modifiers.swift:89:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// within the specified `range`.
65 | @ViewBuilder
66 | public func dynamicTypeSize<T>(_ range: T) -> some View where T: RangeExpression, T.Bound == Backport<Any>.DynamicTypeSize {
| `- note: add '@MainActor' to make instance method 'dynamicTypeSize' part of global actor 'MainActor'
67 | if let range = range as? Range<T.Bound> {
68 | wrapped
:
87 | } else {
88 | wrapped
89 | .modifier(DynamicTypeRangeModifier())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 | }
91 | }
:
93 | }
94 |
95 | private struct DynamicTypeRangeModifier: ViewModifier {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
96 | @Environment(\.dynamicTypeRange) private var range
97 | @Environment(\.backportDynamicTypeSize) private var size
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:53: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | var nsImage: NSImage? {
33 | NSHostingController(rootView: content).view.snapshot
| `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
34 | }
35 |
:
75 | #if os(macOS)
76 | private extension NSView {
77 | var snapshot: NSImage? {
| `- note: property declared here
78 | return NSImage(data: dataWithPDF(inside: bounds))
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:48: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | var nsImage: NSImage? {
33 | NSHostingController(rootView: content).view.snapshot
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
34 | }
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | var nsImage: NSImage? {
33 | NSHostingController(rootView: content).view.snapshot
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | }
35 |
SwiftUI.NSHostingController.init:2:35: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingController {
2 | @MainActor @preconcurrency public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AppStorage/AppStorage.swift:15:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
13 | public struct AppStorage<Value>: DynamicProperty {
14 |
15 | @ObservedObject
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
16 | private var _value: RefStorage<Value>
17 | private let commitHandler: (Value) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:65:9: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
63 | @ViewBuilder
64 | static func AsyncImage<I: View, P: View>(url: URL?, scale: CGFloat = 1, @ViewBuilder content: @escaping (Image) -> I, @ViewBuilder placeholder: @escaping () -> P) -> some View {
65 | _AsyncImage(url: url, scale: scale, content: content, placeholder: placeholder)
| |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'content' to main actor-isolated initializer 'init(url:scale:content:placeholder:)' risks causing data races between main actor-isolated and task-isolated uses
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:65:9: warning: sending 'placeholder' risks causing data races; this is an error in the Swift 6 language mode
63 | @ViewBuilder
64 | static func AsyncImage<I: View, P: View>(url: URL?, scale: CGFloat = 1, @ViewBuilder content: @escaping (Image) -> I, @ViewBuilder placeholder: @escaping () -> P) -> some View {
65 | _AsyncImage(url: url, scale: scale, content: content, placeholder: placeholder)
| |- warning: sending 'placeholder' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'placeholder' to main actor-isolated initializer 'init(url:scale:content:placeholder:)' risks causing data races between main actor-isolated and task-isolated uses
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:104:9: warning: sending 'transaction' risks causing data races; this is an error in the Swift 6 language mode
102 | @ViewBuilder
103 | static func AsyncImage<Content: View>(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) -> some View {
104 | _AsyncImage(url: url, scale: scale, transaction: transaction, content: content)
| |- warning: sending 'transaction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'transaction' to main actor-isolated initializer 'init(url:scale:transaction:content:)' risks causing data races between main actor-isolated and task-isolated uses
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/AsyncImage/AsyncImage.swift:104:9: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
102 | @ViewBuilder
103 | static func AsyncImage<Content: View>(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) -> some View {
104 | _AsyncImage(url: url, scale: scale, transaction: transaction, content: content)
| |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'content' to main actor-isolated initializer 'init(url:scale:transaction:content:)' risks causing data races between main actor-isolated and task-isolated uses
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackports/Shared/ImageRenderer/Renderer.swift:33:9: warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
31 |
32 | var nsImage: NSImage? {
33 | NSHostingController(rootView: content).view.snapshot
| |- warning: sending 'self.content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
34 | }
35 |
[142/153] Compiling SwiftUIBackports 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] Compiling SwiftBackports TransferRepresentationBuilder.swift
[5/25] Compiling SwiftBackports Transferable.swift
[6/27] Compiling SwiftBackports String+Transferable.swift
[7/27] Compiling SwiftBackports URL+Transferable.swift
[8/27] Emitting module SwiftBackports
[9/27] Compiling SwiftBackports TransferableRepresentation.swift
[10/27] Compiling SwiftBackports AttributedString+Transferable.swift
[11/27] Compiling SwiftBackports File+Representations.swift
[12/27] Compiling SwiftBackports Never+Representation.swift
[13/27] Compiling SwiftBackports Tuple+Representation.swift
[14/27] Compiling SwiftBackports SentTransferredFile.swift
[15/27] Compiling SwiftBackports Visibility.swift
[16/27] Compiling SwiftBackports Backport.swift
[17/27] Compiling SwiftBackports Codable+Representation.swift
[18/27] Compiling SwiftBackports Data+Representation.swift
[19/27] Compiling SwiftBackports _ConditionalRepresentation.swift
[20/27] Compiling SwiftBackports NSItemProvider+Transferable.swift
[21/27] Compiling SwiftBackports ReceivedTransferredFile.swift
[22/27] Compiling SwiftBackports URLSession+Async.swift
[23/27] Compiling SwiftBackports CoreTypes.swift
[24/27] Compiling SwiftBackports Data+Transferable.swift
[25/27] Compiling SwiftBackports Never+Transferable.swift
[26/27] Compiling SwiftBackports UTTagClass.swift
[27/27] Compiling SwiftBackports UTType.swift
[28/138] Compiling SwiftUIBackports Task.swift
[29/138] Compiling SwiftUIBackports Toolbar.swift
[30/138] Compiling SwiftUIBackports ToolbarBackground+Environment.swift
[31/138] Compiling SwiftUIBackports ToolbarBackground.swift
[32/138] Compiling SwiftUIBackports ToolbarBackgroundModifier.swift
[33/138] Compiling SwiftUIBackports PushTransition.swift
[34/138] Compiling SwiftUIBackports Visibility.swift
[35/138] Compiling SwiftUIBackports AutoCapitalization.swift
[36/138] Compiling SwiftUIBackports FocusState.swift
[37/138] Compiling SwiftUIBackports ViewFocused.swift
[38/138] Compiling SwiftUIBackports BackgroundInteraction.swift
[39/138] Compiling SwiftUIBackports ContentInteraction.swift
[40/150] Compiling SwiftUIBackports CornerRadius.swift
[41/150] Compiling SwiftUIBackports Detents.swift
[42/150] Compiling SwiftUIBackports DragIndicator.swift
[43/150] Compiling SwiftUIBackports InteractiveDetent.swift
[44/150] Compiling SwiftUIBackports InteractiveDismiss.swift
[45/150] Compiling SwiftUIBackports ScaledMetric.swift
[46/150] Compiling SwiftUIBackports Scroll+Environment.swift
[47/150] Compiling SwiftUIBackports ScrollDismissesKeyboardMode.swift
[48/150] Compiling SwiftUIBackports ScrollEnabled.swift
[49/150] Compiling SwiftUIBackports ScrollIndicatorVisibility.swift
[50/150] Compiling SwiftUIBackports ScrollIndicators.swift
[51/150] Compiling SwiftUIBackports ScrollKeyboardDismiss.swift
[52/150] Compiling SwiftUIBackports LabelStyle.swift
[53/150] Compiling SwiftUIBackports DefaultLabelStyle.swift
[54/150] Compiling SwiftUIBackports IconOnlyLabelStyle.swift
[55/150] Compiling SwiftUIBackports TitleAndIconLabelStyle.swift
[56/150] Compiling SwiftUIBackports TitleOnlyLabelStyle.swift
[57/150] Compiling SwiftUIBackports LabeledContent.swift
[58/150] Compiling SwiftUIBackports LabeledContentStyle.swift
[59/150] Compiling SwiftUIBackports LabeledContentStyleConfiguration.swift
[60/150] Compiling SwiftUIBackports AutomaticLabeledContentStyle.swift
[61/150] Compiling SwiftUIBackports Link.swift
[62/150] Compiling SwiftUIBackports NavigationDestination.swift
[63/150] Compiling SwiftUIBackports NavigationTitle.swift
[64/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 }
[65/150] Compiling SwiftUIBackports CircularProgressViewStyle.swift
[66/150] Compiling SwiftUIBackports DefaultProgressViewStyle.swift
[67/150] Compiling SwiftUIBackports LinearProgressViewStyle.swift
[68/150] Compiling SwiftUIBackports Quicklook+iOS.swift
[69/150] Compiling SwiftUIBackports Quicklook+macOS.swift
[70/150] Compiling SwiftUIBackports Quicklook.swift
[71/150] Compiling SwiftUIBackports Refreshable.swift
[72/150] Compiling SwiftUIBackports RequestReview.swift
[73/150] Compiling SwiftUIBackports Section.swift
[74/150] Compiling SwiftUIBackports DefaultShareLinkLabel.swift
[75/150] Compiling SwiftUIBackports Items+Label+Preview.swift
[76/150] Compiling SwiftUIBackports Items+Label.swift
[77/150] Compiling SwiftUIBackports Items+Preview.swift
[78/150] Compiling SwiftUIBackports Items.swift
[79/150] Compiling SwiftUIBackports ShareLink.swift
[80/150] Compiling SwiftUIBackports SharePreview.swift
[81/150] Compiling SwiftUIBackports ShareSheet.swift
[82/150] Compiling SwiftUIBackports Item+Label+Preview.swift
[83/150] Compiling SwiftUIBackports Item+Label.swift
[84/150] Compiling SwiftUIBackports Item+Preview.swift
[85/150] Compiling SwiftUIBackports Item.swift
[86/150] Compiling SwiftUIBackports Transferable.swift
[87/150] Compiling SwiftUIBackports StateObject.swift
[88/150] Compiling SwiftUIBackports SystemOverlays.swift
[89/150] Compiling SwiftUIBackports FetchCollectionList.swift
[90/150] Compiling SwiftUIBackports PhotosPicker+View.swift
[91/150] Compiling SwiftUIBackports PhotosPicker.swift
[92/150] Compiling SwiftUIBackports PhotosPickerItem.swift
[93/150] Compiling SwiftUIBackports PhotosPickerSelectionBehavior.swift
[94/150] Compiling SwiftUIBackports PickerFilter.swift
[95/150] Compiling SwiftUIBackports PickerResult.swift
[96/150] Compiling SwiftUIBackports Hosts.swift
[97/150] Compiling SwiftUIBackports PhotosPickerView.swift
[98/150] Compiling SwiftUIBackports ProgressView.swift
[99/150] Compiling SwiftUIBackports ProgressViewConfiguration.swift
[100/150] Compiling SwiftUIBackports ProgressViewStyle.swift
[101/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 }
[102/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 }
[103/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 }
[104/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 }
[105/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 }
[106/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 }
[107/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 }
[108/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 }
[109/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 }
[110/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 }
[111/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 }
[112/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 }
[113/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 }
[114/150] Compiling SwiftUIBackports Submit.swift
[115/150] Compiling SwiftUIBackports ColorProviders.swift
[116/150] Compiling SwiftUIBackports FontProviders.swift
[117/150] Compiling SwiftUIBackports TextEditor+Support.swift
[118/150] Compiling SwiftUIBackports TextEditor.swift
[119/150] Compiling SwiftUIBackports UICollectionViewCell.swift
[120/150] Compiling SwiftUIBackports UITableViewCell.swift
[121/150] Compiling SwiftUIBackports ProposedInsets.swift
[122/150] Compiling SwiftUIBackports ProposedSize.swift
[123/150] Compiling SwiftUIBackports UIContentConfiguration.swift
[124/150] Compiling SwiftUIBackports UIHostingConfiguration.swift
[125/150] Compiling SwiftUIBackports resource_bundle_accessor.swift
[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 OnChange.swift
[140/150] Compiling SwiftUIBackports OpenURL.swift
[141/150] Compiling SwiftUIBackports Safari.swift
[142/150] Compiling SwiftUIBackports Overlay.swift
[143/150] Compiling SwiftUIBackports PasteButton.swift
[144/150] Compiling SwiftUIBackports PhaseAnimator.swift
[145/150] Compiling SwiftUIBackports MediaResults.swift
[146/150] Compiling SwiftUIBackports PHFetchOptions.swift
[147/150] Compiling SwiftUIBackports PHObject+Identifiable.swift
[148/150] Compiling SwiftUIBackports FetchAsset.swift
[149/150] Compiling SwiftUIBackports FetchAssetCollection.swift
[150/150] Compiling SwiftUIBackports FetchAssetList.swift
Build complete! (2.23s)
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.