Build Information
Successful build of SwiftToolkit, reference main (e02617
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 22:45:11 UTC.
Swift 6 data race errors: 208
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
95 |
96 | private struct AnimationEndedCallback<Value: VectorArithmetic>: Animatable, ViewModifier {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
97 | // Properties
98 |
:
104 | // Computed Properties
105 |
106 | var animatableData: Value {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
107 | didSet {
108 | checkIfFinished()
[141/161] Compiling UI TextSliderStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | let configuration: TextSliderConfiguration
15 |
16 | public init(configuration: TextSliderConfiguration) {
| |- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | self.configuration = configuration
18 | }
:
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:170:17: warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
168 | private func startTimer(total: Int) {
169 | timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { [weak timer] _ in
170 | guard let timer else {
| `- warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
171 | return
172 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:179:7: warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: mutation of this property is only permitted within the actor
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
177 | )
178 |
179 | secondsToCompletion -= 1
| `- warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
180 | progress = Float(secondsToCompletion) / Float(total)
181 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:7: warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
161 | @State var progress: Float = 0.0
| `- note: mutation of this property is only permitted within the actor
162 | @State var completionDate = Date.now
163 |
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:24: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:184:10: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
182 | // We can't do <= here because we need the time from T-1 seconds to
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
185 | state = .cancelled
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:185:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
185 | state = .cancelled
| `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
186 | }
187 | }
:
194 | // }
195 |
196 | @State var state: TimerState = .cancelled {
| `- note: mutation of this property is only permitted within the actor
197 | didSet {
198 | switch state {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 | }
[142/161] Compiling UI TextSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | let configuration: TextSliderConfiguration
15 |
16 | public init(configuration: TextSliderConfiguration) {
| |- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | self.configuration = configuration
18 | }
:
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:170:17: warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
168 | private func startTimer(total: Int) {
169 | timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { [weak timer] _ in
170 | guard let timer else {
| `- warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
171 | return
172 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:179:7: warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: mutation of this property is only permitted within the actor
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
177 | )
178 |
179 | secondsToCompletion -= 1
| `- warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
180 | progress = Float(secondsToCompletion) / Float(total)
181 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:7: warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
161 | @State var progress: Float = 0.0
| `- note: mutation of this property is only permitted within the actor
162 | @State var completionDate = Date.now
163 |
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:24: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:184:10: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
182 | // We can't do <= here because we need the time from T-1 seconds to
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
185 | state = .cancelled
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:185:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
185 | state = .cancelled
| `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
186 | }
187 | }
:
194 | // }
195 |
196 | @State var state: TimerState = .cancelled {
| `- note: mutation of this property is only permitted within the actor
197 | didSet {
198 | switch state {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 | }
[143/161] Compiling UI TextSliderField.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | let configuration: TextSliderConfiguration
15 |
16 | public init(configuration: TextSliderConfiguration) {
| |- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | self.configuration = configuration
18 | }
:
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:170:17: warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
168 | private func startTimer(total: Int) {
169 | timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { [weak timer] _ in
170 | guard let timer else {
| `- warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
171 | return
172 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:179:7: warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: mutation of this property is only permitted within the actor
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
177 | )
178 |
179 | secondsToCompletion -= 1
| `- warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
180 | progress = Float(secondsToCompletion) / Float(total)
181 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:7: warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
161 | @State var progress: Float = 0.0
| `- note: mutation of this property is only permitted within the actor
162 | @State var completionDate = Date.now
163 |
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:24: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:184:10: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
182 | // We can't do <= here because we need the time from T-1 seconds to
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
185 | state = .cancelled
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:185:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
185 | state = .cancelled
| `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
186 | }
187 | }
:
194 | // }
195 |
196 | @State var state: TimerState = .cancelled {
| `- note: mutation of this property is only permitted within the actor
197 | didSet {
198 | switch state {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 | }
[144/161] Compiling UI TimerPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | let configuration: TextSliderConfiguration
15 |
16 | public init(configuration: TextSliderConfiguration) {
| |- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | self.configuration = configuration
18 | }
:
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:170:17: warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
168 | private func startTimer(total: Int) {
169 | timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { [weak timer] _ in
170 | guard let timer else {
| `- warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
171 | return
172 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:179:7: warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: mutation of this property is only permitted within the actor
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
177 | )
178 |
179 | secondsToCompletion -= 1
| `- warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
180 | progress = Float(secondsToCompletion) / Float(total)
181 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:7: warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
161 | @State var progress: Float = 0.0
| `- note: mutation of this property is only permitted within the actor
162 | @State var completionDate = Date.now
163 |
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:24: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:184:10: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
182 | // We can't do <= here because we need the time from T-1 seconds to
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
185 | state = .cancelled
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:185:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
185 | state = .cancelled
| `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
186 | }
187 | }
:
194 | // }
195 |
196 | @State var state: TimerState = .cancelled {
| `- note: mutation of this property is only permitted within the actor
197 | didSet {
198 | switch state {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 | }
[145/161] Compiling UI VFlowStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | let configuration: TextSliderConfiguration
15 |
16 | public init(configuration: TextSliderConfiguration) {
| |- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | self.configuration = configuration
18 | }
:
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:170:17: warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
168 | private func startTimer(total: Int) {
169 | timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { [weak timer] _ in
170 | guard let timer else {
| `- warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
171 | return
172 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:179:7: warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: mutation of this property is only permitted within the actor
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
177 | )
178 |
179 | secondsToCompletion -= 1
| `- warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
180 | progress = Float(secondsToCompletion) / Float(total)
181 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:7: warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
161 | @State var progress: Float = 0.0
| `- note: mutation of this property is only permitted within the actor
162 | @State var completionDate = Date.now
163 |
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:24: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:184:10: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
182 | // We can't do <= here because we need the time from T-1 seconds to
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
185 | state = .cancelled
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:185:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
185 | state = .cancelled
| `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
186 | }
187 | }
:
194 | // }
195 |
196 | @State var state: TimerState = .cancelled {
| `- note: mutation of this property is only permitted within the actor
197 | didSet {
198 | switch state {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 | }
[146/161] Compiling UI Button+.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | let configuration: TextSliderConfiguration
15 |
16 | public init(configuration: TextSliderConfiguration) {
| |- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | self.configuration = configuration
18 | }
:
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:170:17: warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
168 | private func startTimer(total: Int) {
169 | timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { [weak timer] _ in
170 | guard let timer else {
| `- warning: capture of 'timer' with non-sendable type 'Timer?' in a '@Sendable' closure
171 | return
172 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:179:7: warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: mutation of this property is only permitted within the actor
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
177 | )
178 |
179 | secondsToCompletion -= 1
| `- warning: main actor-isolated property 'secondsToCompletion' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
180 | progress = Float(secondsToCompletion) / Float(total)
181 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:7: warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
161 | @State var progress: Float = 0.0
| `- note: mutation of this property is only permitted within the actor
162 | @State var completionDate = Date.now
163 |
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'progress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:180:24: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
178 |
179 | secondsToCompletion -= 1
180 | progress = Float(secondsToCompletion) / Float(total)
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
181 |
182 | // We can't do <= here because we need the time from T-1 seconds to
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:184:10: warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
158 |
159 | // Powers the ProgressView
160 | @State var secondsToCompletion = 0
| `- note: property declared here
161 | @State var progress: Float = 0.0
162 | @State var completionDate = Date.now
:
182 | // We can't do <= here because we need the time from T-1 seconds to
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
| `- warning: main actor-isolated property 'secondsToCompletion' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
185 | state = .cancelled
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TimerPicker/TimerPicker.swift:185:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
183 | // T-0 seconds to animate through first
184 | if secondsToCompletion < 0 {
185 | state = .cancelled
| `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
186 | }
187 | }
:
194 | // }
195 |
196 | @State var state: TimerState = .cancelled {
| `- note: mutation of this property is only permitted within the actor
197 | didSet {
198 | switch state {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/TextSlider/Styles/TextSliderStyle.swift:41:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
39 |
40 | public var label: some View {
41 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 | }
[147/161] Compiling UI PhotoPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[148/161] Compiling UI BottomPopupView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[149/161] Compiling UI ExpandableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[150/161] Compiling UI FloatingPopover.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[151/161] Compiling UI Popup.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[152/161] Compiling UI QuickLook.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[153/161] Compiling UI Scroll+Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:113:7: warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
111 | struct RoundedCornersShape: Shape {
112 | let radius: CGFloat
113 | let corners: RectCorner
| `- warning: stored property 'corners' of 'Sendable'-conforming struct 'RoundedCornersShape' has non-sendable type 'RectCorner'; this is an error in the Swift 6 language mode
114 |
115 | /// Creates a path for the shape based on the specified rectangle.
:
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:195:21: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:196:21: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:197:21: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:198:21: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
196 | public static let topRight = RectCorner(rawValue: 1 << 1)
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
200 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/BottomPopupView.swift:199:21: warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
191 | /// specific corners of a rectangle for customization. It provides static properties
192 | /// for each corner and a combined set for all corners.
193 | public struct RectCorner: OptionSet {
| `- note: consider making struct 'RectCorner' conform to the 'Sendable' protocol
194 | public let rawValue: Int
195 | public static let topLeft = RectCorner(rawValue: 1 << 0)
:
197 | public static let bottomLeft = RectCorner(rawValue: 1 << 2)
198 | public static let bottomRight = RectCorner(rawValue: 1 << 3)
199 | public static let allCorners: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'allCorners' is not concurrency-safe because non-'Sendable' type 'RectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCorners' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public init(rawValue: Int) {
201 | self.rawValue = rawValue
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:130:15: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
117 | /// - item: A binding to an optional item that triggers the popup when non-nil.
118 | /// - content: A closure that returns the content of the popup based on the provided item.
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
| `- note: add '@preconcurrency' to the 'Hashable' conformance to defer isolation checking to run time
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
:
128 |
129 | /// Hashes the essential components of this value by feeding them into the given hasher.
130 | public func hash(into hasher: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated requirement from protocol 'Hashable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
131 | hasher.combine(item)
132 | hasher.combine(offset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/Popup.swift:121:22: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
119 | public struct Popup<PopupContent: View, Item: Hashable>: ViewModifier, Hashable {
120 | /// Compares two `Popup` instances for equality.
121 | public static func == (
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
122 | lhs: Popup<PopupContent, Item>,
123 | rhs: Popup<PopupContent, Item>
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:167:8: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
96 | import QuickLookUI
97 |
98 | final class PreviewController<Items>: NSViewController, QLPreviewPanelDataSource, QLPreviewPanelDelegate
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
99 | where Items: RandomAccessCollection, Items.Element == URL {
100 | private let panel = QLPreviewPanel.shared()!
:
165 | }
166 |
167 | func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
168 | items.isEmpty ? 1 : items.count
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:171:8: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
169 | }
170 |
171 | func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
172 | if items.isEmpty {
173 | return selection.wrappedValue as? NSURL
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:185:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
183 |
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
186 | panel.reloadData()
187 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:186:11: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | override func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
185 | panel.dataSource = self
186 | panel.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | }
188 |
QuickLookUI.QLPreviewPanel.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class QLPreviewPanel {
2 | @MainActor open func reloadData()}
| |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPanel'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:190:11: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
191 | dismiss()
192 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/PopupView/QuickLook.swift:191:5: warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | }
162 |
163 | private func dismiss() {
| |- note: calls to instance method 'dismiss()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
164 | selection.wrappedValue = nil
165 | }
:
189 | override func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
190 | panel.dataSource = nil
191 | dismiss()
| `- warning: call to main actor-isolated instance method 'dismiss()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 | }
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:43:14: 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
41 |
42 | private struct BackportVerticalIndicatorKey: EnvironmentKey {
43 | static var defaultValue: ScrollIndicatorVisibility = .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
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:49:14: 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
47 |
48 | private struct BackportHorizontalIndicatorKey: EnvironmentKey {
49 | static var defaultValue: ScrollIndicatorVisibility = .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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:55:14: 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
53 |
54 | private struct BackportKeyboardDismissKey: EnvironmentKey {
55 | static var defaultValue: ScrollDismissesKeyboardMode = .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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/ScrollView/Scroll+Environment.swift:61:14: 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
59 |
60 | private struct BackportScrollEnabledKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- 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
62 | }
63 |
[154/161] Compiling UI Splitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:215:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
213 | }
214 | )
215 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
216 | VSplit(
217 | top: {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:224:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
222 | }
223 | )
224 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
225 | }
226 | }
[155/161] Compiling UI VSplit.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:215:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
213 | }
214 | )
215 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
216 | VSplit(
217 | top: {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:224:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
222 | }
223 | )
224 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
225 | }
226 | }
[156/161] Compiling UI FloatingTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:215:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
213 | }
214 | )
215 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
216 | VSplit(
217 | top: {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:224:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
222 | }
223 | )
224 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
225 | }
226 | }
[157/161] Compiling UI TextFieldClearButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:215:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
213 | }
214 | )
215 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
216 | VSplit(
217 | top: {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:224:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
222 | }
223 | )
224 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
225 | }
226 | }
[158/161] Compiling UI Bordered.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:215:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
213 | }
214 | )
215 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
216 | VSplit(
217 | top: {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:224:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
222 | }
223 | )
224 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
225 | }
226 | }
[159/161] Compiling UI Plain.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:215:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
213 | }
214 | )
215 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
216 | VSplit(
217 | top: {
/Users/admin/builder/spi-builder-workspace/Sources/UI/Components/SplitView/VSplit.swift:224:6: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
222 | }
223 | )
224 | .animation(.spring)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
225 | }
226 | }
[160/163] Compiling SwiftToolkit SwiftToolkit.swift
[161/163] Emitting module SwiftToolkit
[161/163] Write Objects.LinkFileList
[162/163] Linking libSwiftToolkit.dylib
Build complete! (63.36s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/symbolEmbeddingsCache.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftToolkit",
"name" : "SwiftToolkit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Core",
"targets" : [
"Core"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "UI",
"targets" : [
"UI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Coordinator",
"targets" : [
"Coordinator"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Feedback",
"targets" : [
"Feedback"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Coding",
"targets" : [
"Coding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DI",
"targets" : [
"DI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Logger",
"targets" : [
"Logger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SFSymbols",
"targets" : [
"SFSymbols"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreDatabase",
"targets" : [
"CoreDatabase"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToolkit",
"targets" : [
"SwiftToolkit"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "UI",
"module_type" : "SwiftTarget",
"name" : "UI",
"path" : "Sources/UI",
"product_memberships" : [
"UI",
"SwiftToolkit"
],
"sources" : [
"Components/AsyncButton/AsyncButton.swift",
"Components/ColorPicker/ColorPickerBar+Config.swift",
"Components/ColorPicker/ColorPickerBar+Style.swift",
"Components/ColorPicker/ColorPickerBar.swift",
"Components/ErrorAlert/ErrorAlert.swift",
"Components/PhotoPicker/Hosts.swift",
"Components/PhotoPicker/PhotoPicker+View.swift",
"Components/PhotoPicker/PhotoPicker.swift",
"Components/PopupView/BottomPopupView.swift",
"Components/PopupView/ExpandableView.swift",
"Components/PopupView/FloatingPopover.swift",
"Components/PopupView/Popup.swift",
"Components/PopupView/QuickLook.swift",
"Components/ScrollView/Scroll+Environment.swift",
"Components/ScrollView/ScrollDismissesKeyboardMode.swift",
"Components/ScrollView/ScrollEnabled.swift",
"Components/ScrollView/ScrollIndicatorVisibility.swift",
"Components/ScrollView/ScrollIndicators.swift",
"Components/ScrollView/SimultaneouslyScrollView/DefaultSimultaneouslyScrollViewHandler.swift",
"Components/ScrollView/SimultaneouslyScrollView/Extensions/UIScrollView+OffsetHelper.swift",
"Components/ScrollView/SimultaneouslyScrollView/Helper/ScrollViewDecorator.swift",
"Components/ScrollView/SimultaneouslyScrollView/SimultaneouslyScrollViewDirection.swift",
"Components/ScrollView/SimultaneouslyScrollView/SimultaneouslyScrollViewHandler.swift",
"Components/ScrollView/SimultaneouslyScrollView/SimultaneouslyScrollViewHandlerFactory.swift",
"Components/SplitView/HSplit.swift",
"Components/SplitView/Split.swift",
"Components/SplitView/SplitConstraints.swift",
"Components/SplitView/SplitEnums.swift",
"Components/SplitView/SplitHolders.swift",
"Components/SplitView/SplitModifiers.swift",
"Components/SplitView/SplitStyling.swift",
"Components/SplitView/Splitter+Extensions.swift",
"Components/SplitView/Splitter.swift",
"Components/SplitView/VSplit.swift",
"Components/TextField/FloatingTextField.swift",
"Components/TextField/TextFieldClearButton.swift",
"Components/TextSlider/Styles/Bordered.swift",
"Components/TextSlider/Styles/Plain.swift",
"Components/TextSlider/Styles/TextSliderStyle.swift",
"Components/TextSlider/TextSlider.swift",
"Components/TextSlider/TextSliderField.swift",
"Components/TimerPicker/TimerPicker.swift",
"Components/VFlowStack/VFlowStack.swift",
"Modifiers/Button+.swift",
"Modifiers/PinchToZoom.swift",
"Modifiers/PresentationLink.swift",
"Modifiers/ViewShadowStyle.swift",
"SwiftToolkitUI.swift",
"Utilities/BlurMaterial.swift",
"Utilities/Camera.swift",
"Utilities/ContentUnavailableView.swift",
"Utilities/DismissKeyboardOnTappingOutside.swift",
"Utilities/FlowLayout.swift",
"Utilities/FrameObserver.swift",
"Utilities/HexColor.swift",
"Utilities/LazyView.swift",
"Utilities/OrientationManager.swift",
"Utilities/RequestReview.swift",
"Utilities/SafeArea.swift",
"Utilities/Shimmer.swift",
"Utilities/SizeCalculator.swift",
"Utilities/StatusBarTabDetector.swift"
],
"target_dependencies" : [
"Core",
"Feedback",
"SFSymbols"
],
"type" : "library"
},
{
"c99name" : "SwiftToolkit",
"module_type" : "SwiftTarget",
"name" : "SwiftToolkit",
"path" : "Sources/SwiftToolkit",
"product_memberships" : [
"SwiftToolkit"
],
"sources" : [
"SwiftToolkit.swift"
],
"target_dependencies" : [
"Core",
"UI",
"Coordinator",
"Coding",
"DI",
"Logger",
"CoreDatabase"
],
"type" : "library"
},
{
"c99name" : "STFoundation",
"module_type" : "SwiftTarget",
"name" : "STFoundation",
"path" : "Sources/STFoundation",
"product_memberships" : [
"Core",
"UI",
"Feedback",
"Coding",
"Logger",
"SFSymbols",
"CoreDatabase",
"SwiftToolkit"
],
"sources" : [
"Compressor/CompressionError.swift",
"Compressor/Compressor.swift",
"DataUnits/DataUnits.swift",
"DataUnits/Image+.swift",
"STFoundation.swift",
"TimeInterval/TimeInterval+.swift",
"URLExtensions/URL+.swift"
],
"type" : "library"
},
{
"c99name" : "SFSymbols",
"module_type" : "SwiftTarget",
"name" : "SFSymbols",
"path" : "Sources/SFSymbols",
"product_memberships" : [
"UI",
"SFSymbols",
"SwiftToolkit"
],
"sources" : [
"NSSwiftSymbols.swift",
"SFSymbol.swift",
"SFSymbolEnum/SFSymbolEnum.generated.swift",
"SFSymbolEnum/SFSymbolEnum.swift",
"SocialIcons.swift",
"SymbolFinder.swift"
],
"target_dependencies" : [
"Core",
"DI"
],
"type" : "library"
},
{
"c99name" : "Logger",
"module_type" : "SwiftTarget",
"name" : "Logger",
"path" : "Sources/Logger",
"product_memberships" : [
"Logger",
"SwiftToolkit"
],
"sources" : [
"Internal/Extensions/Collection+Extension.swift",
"Internal/LogEventView.swift",
"Internal/LogFilterView.swift",
"Internal/LogTagView.swift",
"Internal/LogTagging.swift",
"Internal/SearchBar.swift",
"Public/LoggerView.swift",
"Public/SwiftUILogger.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "library"
},
{
"c99name" : "Feedback",
"module_type" : "SwiftTarget",
"name" : "Feedback",
"path" : "Sources/Feedback",
"product_memberships" : [
"UI",
"Feedback",
"SwiftToolkit"
],
"sources" : [
"Audio/Audio.swift",
"Audio/AudioFeedback.swift",
"Audio/AudioPlayer.swift",
"Feedback.swift",
"Feedback/AnyFeedback.swift",
"Feedback/Feedback+Binding.swift",
"Flash/Flash.swift",
"Haptic/Haptic-Typealias.swift",
"Haptic/PatternHaptic.swift",
"Haptic/SystemHaptic.swift",
"Miscellaneous/DelayedFeedback.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "library"
},
{
"c99name" : "DI",
"module_type" : "SwiftTarget",
"name" : "DI",
"path" : "Sources/DI",
"product_memberships" : [
"UI",
"DI",
"SFSymbols",
"SwiftToolkit"
],
"sources" : [
"DI.swift"
],
"type" : "library"
},
{
"c99name" : "CoreDatabase",
"module_type" : "SwiftTarget",
"name" : "CoreDatabase",
"path" : "Sources/CoreDatabase",
"product_memberships" : [
"CoreDatabase",
"SwiftToolkit"
],
"sources" : [
"CodableTransformer.swift",
"Database+Async.swift",
"Database+Share.swift",
"Database.swift",
"DatabaseLogger.swift",
"Fetchable.swift",
"NSManagedObject+Database.swift",
"NSManagedObjectContext+Database.swift",
"ObjectId.swift",
"StoreDescription.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "library"
},
{
"c99name" : "Core",
"module_type" : "SwiftTarget",
"name" : "Core",
"path" : "Sources/Core",
"product_memberships" : [
"Core",
"UI",
"Feedback",
"Coding",
"Logger",
"SFSymbols",
"CoreDatabase",
"SwiftToolkit"
],
"sources" : [
"Extensions/Binding+.swift",
"Extensions/DateFormatter+.swift",
"Extensions/Image+.swift",
"Extensions/NSObject+.swift",
"Extensions/Sequence+.swift",
"Extensions/String+.swift",
"Extensions/UIDevice+.swift",
"Extensions/URL+.swift",
"Extensions/View+.swift",
"Utilities/AsyncPassthroughSubject.swift",
"Utilities/ErrorAlert.swift",
"Utilities/KeychainWrapper.swift",
"Utilities/LUUID.swift",
"Utilities/MimeType.swift",
"Utilities/NetworkMonitor.swift",
"Utilities/Observable.swift",
"Utilities/Shareable.swift",
"Utilities/SwiftThrottle.swift"
],
"target_dependencies" : [
"STFoundation"
],
"type" : "library"
},
{
"c99name" : "Coordinator",
"module_type" : "SwiftTarget",
"name" : "Coordinator",
"path" : "Sources/Coordinator",
"product_memberships" : [
"Coordinator",
"SwiftToolkit"
],
"sources" : [
"AssociatedObjectKey.swift",
"Coordinator.swift",
"ModalCoordinator.swift",
"TestCoordinator.swift"
],
"type" : "library"
},
{
"c99name" : "Coding",
"module_type" : "SwiftTarget",
"name" : "Coding",
"path" : "Sources/Coding",
"product_memberships" : [
"Coding",
"SwiftToolkit"
],
"sources" : [
"AnyCodable/AnyCodable.swift",
"AnyCodable/AnyDecodable.swift",
"AnyCodable/AnyEncodable.swift",
"Coding.swift",
"JSON/Extensions.swift",
"JSON/JSON.swift",
"JSON/JSONConvertible.swift",
"Storage/Set + StorageCodable.swift",
"Storage/StorageCodable.swift",
"Storage/URLEncodedString.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.