Build Information
Successful build of Pow, reference main (1b4b1d), with Swift 6.1 for macOS (SPM) on 20 Feb 2026 19:09:41 UTC.
Swift 6 data race errors: 7
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 InferSendableFromCapturesBuild Log
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
187 | animatableData: 0.0,
188 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
209 | animatableData: 0.0,
210 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
[45/66] Compiling Pow PulseEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/GlowEffect.swift:39:17: warning: call to main actor-isolated initializer 'init(color:radius:isActive:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .continuous(
38 | .modifier { isActive in
39 | ContinuousGlowModifier(color: color, radius: radius, isActive: isActive)
| `- warning: call to main actor-isolated initializer 'init(color:radius:isActive:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | }
41 | )
:
96 | var isActive: Bool
97 |
98 | init(color: Color, radius: CGFloat, isActive: Bool) {
| |- note: calls to initializer 'init(color:radius:isActive:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
99 | self.color = color
100 | self.radius = radius
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/JumpEffect.swift:9:13: warning: call to main actor-isolated initializer 'init(height:impulseCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
7 | static func jump(height: CGFloat) -> AnyChangeEffect {
8 | .simulation { change in
9 | JumpSimulationModifier(height: height, impulseCount: change)
| `- warning: call to main actor-isolated initializer 'init(height:impulseCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 | }
:
39 | private var targetHeight: Double
40 |
41 | init(height: Double, impulseCount: Int) {
| |- note: calls to initializer 'init(height:impulseCount:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
42 | self.impulseCount = impulseCount
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:27:17: warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | case .stroke:
26 | return .animation({ change in
27 | PulseStrokeModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| `- warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }, animation: .linear(duration: 2), cooldown: cooldown)
29 | case .fill:
:
89 | }
90 |
91 | private struct PulseStrokeModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(shape:style:layer:count:change:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
92 | var shape: EffectShape
93 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:31:17: warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| `- warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
:
136 | }
137 |
138 | private struct PulseFillModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(shape:style:layer:count:change:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
139 | var shape: EffectShape
140 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:69:17: warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
35 | }
36 |
37 | private final class ItemTimer: ObservableObject {
| `- note: class 'ItemTimer' does not conform to the 'Sendable' protocol
38 | @Published
39 | private(set) var items: [UUID] = []
:
67 | if delay != 0 {
68 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
69 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
70 | }
71 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:82:13: warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
35 | }
36 |
37 | private final class ItemTimer: ObservableObject {
| `- note: class 'ItemTimer' does not conform to the 'Sendable' protocol
38 | @Published
39 | private(set) var items: [UUID] = []
:
80 | private func reschedule(interval: TimeInterval = 0.2) {
81 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
82 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | private extension AnyTransition.MovingParts {
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseStroke(shape:style:lineWidth:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | animatableData: 0.0,
188 | shape: shape,
:
225 | }
226 |
227 | private struct PulseStrokeAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
228 | var animatableData: CGFloat
229 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | private extension AnyTransition.MovingParts {
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseStroke(shape:style:lineWidth:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
:
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
195 | animatableData: 1.0,
196 | shape: shape,
:
225 | }
226 |
227 | private struct PulseStrokeAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
228 | var animatableData: CGFloat
229 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
204 | }
205 |
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseFill(shape:style:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
209 | animatableData: 0.0,
210 | shape: shape,
:
267 | }
268 |
269 | private struct PulseFillAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
270 | var animatableData: CGFloat
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
204 | }
205 |
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseFill(shape:style:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
207 | .modifier(
208 | active: PulseFillAnimationModifier(
:
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 | animatableData: 1.0,
217 | shape: shape,
:
267 | }
268 |
269 | private struct PulseFillAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
270 | var animatableData: CGFloat
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: call to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
:
57 | }
58 |
59 | internal init(origin: UnitPoint, particles: ParticlesView, impulseCount: Int = 0, layer: ParticleLayer) {
| |- note: calls to initializer 'init(origin:particles:impulseCount:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
60 | self.origin = origin
61 | self.particles = particles
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:27:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
25 | case .stroke:
26 | return .animation({ change in
27 | PulseStrokeModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
28 | }, animation: .linear(duration: 2), cooldown: cooldown)
29 | case .fill:
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:31:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
187 | animatableData: 0.0,
188 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
209 | animatableData: 0.0,
210 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
[46/66] Compiling Pow PushDownEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/GlowEffect.swift:39:17: warning: call to main actor-isolated initializer 'init(color:radius:isActive:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .continuous(
38 | .modifier { isActive in
39 | ContinuousGlowModifier(color: color, radius: radius, isActive: isActive)
| `- warning: call to main actor-isolated initializer 'init(color:radius:isActive:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | }
41 | )
:
96 | var isActive: Bool
97 |
98 | init(color: Color, radius: CGFloat, isActive: Bool) {
| |- note: calls to initializer 'init(color:radius:isActive:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
99 | self.color = color
100 | self.radius = radius
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/JumpEffect.swift:9:13: warning: call to main actor-isolated initializer 'init(height:impulseCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
7 | static func jump(height: CGFloat) -> AnyChangeEffect {
8 | .simulation { change in
9 | JumpSimulationModifier(height: height, impulseCount: change)
| `- warning: call to main actor-isolated initializer 'init(height:impulseCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 | }
:
39 | private var targetHeight: Double
40 |
41 | init(height: Double, impulseCount: Int) {
| |- note: calls to initializer 'init(height:impulseCount:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
42 | self.impulseCount = impulseCount
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:27:17: warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | case .stroke:
26 | return .animation({ change in
27 | PulseStrokeModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| `- warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }, animation: .linear(duration: 2), cooldown: cooldown)
29 | case .fill:
:
89 | }
90 |
91 | private struct PulseStrokeModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(shape:style:layer:count:change:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
92 | var shape: EffectShape
93 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:31:17: warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| `- warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
:
136 | }
137 |
138 | private struct PulseFillModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(shape:style:layer:count:change:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
139 | var shape: EffectShape
140 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:69:17: warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
35 | }
36 |
37 | private final class ItemTimer: ObservableObject {
| `- note: class 'ItemTimer' does not conform to the 'Sendable' protocol
38 | @Published
39 | private(set) var items: [UUID] = []
:
67 | if delay != 0 {
68 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
69 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
70 | }
71 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:82:13: warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
35 | }
36 |
37 | private final class ItemTimer: ObservableObject {
| `- note: class 'ItemTimer' does not conform to the 'Sendable' protocol
38 | @Published
39 | private(set) var items: [UUID] = []
:
80 | private func reschedule(interval: TimeInterval = 0.2) {
81 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
82 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | private extension AnyTransition.MovingParts {
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseStroke(shape:style:lineWidth:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | animatableData: 0.0,
188 | shape: shape,
:
225 | }
226 |
227 | private struct PulseStrokeAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
228 | var animatableData: CGFloat
229 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | private extension AnyTransition.MovingParts {
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseStroke(shape:style:lineWidth:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
:
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
195 | animatableData: 1.0,
196 | shape: shape,
:
225 | }
226 |
227 | private struct PulseStrokeAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
228 | var animatableData: CGFloat
229 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
204 | }
205 |
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseFill(shape:style:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
209 | animatableData: 0.0,
210 | shape: shape,
:
267 | }
268 |
269 | private struct PulseFillAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
270 | var animatableData: CGFloat
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
204 | }
205 |
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseFill(shape:style:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
207 | .modifier(
208 | active: PulseFillAnimationModifier(
:
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 | animatableData: 1.0,
217 | shape: shape,
:
267 | }
268 |
269 | private struct PulseFillAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
270 | var animatableData: CGFloat
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: call to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
:
57 | }
58 |
59 | internal init(origin: UnitPoint, particles: ParticlesView, impulseCount: Int = 0, layer: ParticleLayer) {
| |- note: calls to initializer 'init(origin:particles:impulseCount:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
60 | self.origin = origin
61 | self.particles = particles
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:27:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
25 | case .stroke:
26 | return .animation({ change in
27 | PulseStrokeModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
28 | }, animation: .linear(duration: 2), cooldown: cooldown)
29 | case .fill:
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:31:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
187 | animatableData: 0.0,
188 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
209 | animatableData: 0.0,
210 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
[47/66] Compiling Pow RisingParticleEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/GlowEffect.swift:39:17: warning: call to main actor-isolated initializer 'init(color:radius:isActive:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .continuous(
38 | .modifier { isActive in
39 | ContinuousGlowModifier(color: color, radius: radius, isActive: isActive)
| `- warning: call to main actor-isolated initializer 'init(color:radius:isActive:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | }
41 | )
:
96 | var isActive: Bool
97 |
98 | init(color: Color, radius: CGFloat, isActive: Bool) {
| |- note: calls to initializer 'init(color:radius:isActive:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
99 | self.color = color
100 | self.radius = radius
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/JumpEffect.swift:9:13: warning: call to main actor-isolated initializer 'init(height:impulseCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
7 | static func jump(height: CGFloat) -> AnyChangeEffect {
8 | .simulation { change in
9 | JumpSimulationModifier(height: height, impulseCount: change)
| `- warning: call to main actor-isolated initializer 'init(height:impulseCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 | }
:
39 | private var targetHeight: Double
40 |
41 | init(height: Double, impulseCount: Int) {
| |- note: calls to initializer 'init(height:impulseCount:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
42 | self.impulseCount = impulseCount
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:27:17: warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | case .stroke:
26 | return .animation({ change in
27 | PulseStrokeModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| `- warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }, animation: .linear(duration: 2), cooldown: cooldown)
29 | case .fill:
:
89 | }
90 |
91 | private struct PulseStrokeModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(shape:style:layer:count:change:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
92 | var shape: EffectShape
93 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:31:17: warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| `- warning: call to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
:
136 | }
137 |
138 | private struct PulseFillModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(shape:style:layer:count:change:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
139 | var shape: EffectShape
140 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:69:17: warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
35 | }
36 |
37 | private final class ItemTimer: ObservableObject {
| `- note: class 'ItemTimer' does not conform to the 'Sendable' protocol
38 | @Published
39 | private(set) var items: [UUID] = []
:
67 | if delay != 0 {
68 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
69 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
70 | }
71 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:82:13: warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
35 | }
36 |
37 | private final class ItemTimer: ObservableObject {
| `- note: class 'ItemTimer' does not conform to the 'Sendable' protocol
38 | @Published
39 | private(set) var items: [UUID] = []
:
80 | private func reschedule(interval: TimeInterval = 0.2) {
81 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
82 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'ItemTimer?' in a '@Sendable' closure
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | private extension AnyTransition.MovingParts {
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseStroke(shape:style:lineWidth:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 | animatableData: 0.0,
188 | shape: shape,
:
225 | }
226 |
227 | private struct PulseStrokeAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
228 | var animatableData: CGFloat
229 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | private extension AnyTransition.MovingParts {
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseStroke(shape:style:lineWidth:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
:
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
195 | animatableData: 1.0,
196 | shape: shape,
:
225 | }
226 |
227 | private struct PulseStrokeAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
228 | var animatableData: CGFloat
229 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
204 | }
205 |
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseFill(shape:style:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
209 | animatableData: 0.0,
210 | shape: shape,
:
267 | }
268 |
269 | private struct PulseFillAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
270 | var animatableData: CGFloat
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
204 | }
205 |
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pulseFill(shape:style:layer:insetAmount:count:onCompletion:)' part of global actor 'MainActor'
207 | .modifier(
208 | active: PulseFillAnimationModifier(
:
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| `- warning: call to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 | animatableData: 1.0,
217 | shape: shape,
:
267 | }
268 |
269 | private struct PulseFillAnimationModifier<EffectShape: InsettableShape, EffectShapeStyle: ShapeStyle>: ViewModifier, Animatable, AnimatableModifier {
| |- note: calls to initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
270 | var animatableData: CGFloat
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: call to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
:
57 | }
58 |
59 | internal init(origin: UnitPoint, particles: ParticlesView, impulseCount: Int = 0, layer: ParticleLayer) {
| |- note: calls to initializer 'init(origin:particles:impulseCount:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
60 | self.origin = origin
61 | self.particles = particles
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:27:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
25 | case .stroke:
26 | return .animation({ change in
27 | PulseStrokeModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
28 | }, animation: .linear(duration: 2), cooldown: cooldown)
29 | case .fill:
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:31:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
29 | case .fill:
30 | return .animation({ change in
31 | PulseFillModifier(shape: shape, style: style, layer: layer, count: clampedCount, change: change)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(shape:style:layer:count:change:animatableData:)' risks causing data races between main actor-isolated and task-isolated uses
32 | }, animation: .linear(duration: 4), cooldown: cooldown)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:186:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
184 | static func pulseStroke(shape: some InsettableShape, style: some ShapeStyle, lineWidth: CGFloat, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
185 | .modifier(
186 | active: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
187 | animatableData: 0.0,
188 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:194:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
192 | insetAmount: insetAmount
193 | ),
194 | identity: PulseStrokeAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:lineWidth:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
195 | animatableData: 1.0,
196 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:208:21: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
206 | static func pulseFill(shape: some InsettableShape, style: some ShapeStyle, layer: ParticleLayer, insetAmount: CGFloat, count: Int, onCompletion: @escaping () -> Void) -> AnyTransition {
207 | .modifier(
208 | active: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
209 | animatableData: 0.0,
210 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/PulseEffect.swift:215:23: warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
213 | insetAmount: insetAmount
214 | ),
215 | identity: PulseFillAnimationModifier(
| |- warning: sending 'onCompletion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'onCompletion' to main actor-isolated initializer 'init(animatableData:shape:style:layer:insetAmount:onCompletion:)' risks causing data races between main actor-isolated and task-isolated uses
216 | animatableData: 1.0,
217 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/RisingParticleEffect.swift:15:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
13 | let particles = particles()
14 | return .simulation { change in
15 | RisingParticleSimulation(origin: origin, particles: particles, impulseCount: change, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(origin:particles:impulseCount:layer:)' risks causing data races between main actor-isolated and task-isolated uses
16 | }
17 | }
[48/66] Compiling Pow ShakeEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[49/66] Compiling Pow ShineEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[50/66] Compiling Pow SmokeEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[51/66] Compiling Pow SoundEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[52/66] Compiling Pow SpinEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[53/66] Compiling Pow SprayEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[54/66] Compiling Pow WiggleEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:7:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | static var shake: AnyChangeEffect {
6 | .simulation { change in
7 | ShakeSimulationModifier(impulseCount: change, phaseLength: ShakeRate.default.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/ShakeEffect.swift:31:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | static func shake(rate: ShakeRate) -> AnyChangeEffect {
30 | .simulation { change in
31 | ShakeSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | }
34 | }
35 |
36 | internal struct ShakeSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
37 | // TODO: Not used, remove from protocol
38 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(isActive:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | )
:
23 | }
24 |
25 | private struct SmokeEffect: ViewModifier, Continuous {
| |- note: calls to initializer 'init(isActive:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
26 | var isActive: Bool
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| `- warning: call to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | }
55 |
56 | internal struct SpinSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
57 | var impulseCount: Int
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| `- warning: call to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | })
20 | }
:
47 | var particleLayerNames
48 |
49 | init(view: ParticleView, impulseCount: Int, initialVelocity: CGFloat = 0.0, origin: UnitPoint = .center, layer: ParticleLayer) {
| |- note: calls to initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
50 | self.particle = view
51 | self.impulseCount = impulseCount
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/WiggleEffect.swift:29:13: warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | static func wiggle(rate: WiggleRate) -> AnyChangeEffect {
28 | .simulation({ change in
29 | WiggleSimulationModifier(impulseCount: change, phaseLength: rate.phaseLength)
| `- warning: call to main actor-isolated initializer 'init(initialVelocity:impulseCount:phaseLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | })
31 | }
32 | }
33 |
34 | internal struct WiggleSimulationModifier: ViewModifier, Simulative {
| |- note: calls to initializer 'init(initialVelocity:impulseCount:phaseLength:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
35 | // TODO: Not used, remove from protocol
36 | var initialVelocity: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SmokeEffect.swift:19:17: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
17 | .continuous(
18 | .modifier { isActive in
19 | SmokeEffect(isActive: isActive, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(isActive:layer:)' risks causing data races between main actor-isolated and task-isolated uses
20 | }
21 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SpinEffect.swift:51:13: warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
49 | static func spin(axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1 / 6, multiplier speedBoost: CGFloat = 0.0, rate: SpinRate = .default) -> AnyChangeEffect {
50 | .simulation { change in
51 | SpinSimulationModifier(impulseCount: change, axis: axis, anchor: anchor, anchorZ: anchorZ, perspective: perspective, additionalSpeed: speedBoost, rate: rate)
| |- warning: sending 'rate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'rate' to main actor-isolated initializer 'init(impulseCount:initialVelocity:axis:anchor:anchorZ:perspective:additionalSpeed:rate:)' risks causing data races between main actor-isolated and task-isolated uses
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'particles' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'particles' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Effects/SprayEffect.swift:18:13: warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
16 | let particles = particles()
17 | return .simulation({ change in
18 | SpraySimulation(view: particles, impulseCount: change, origin: origin, layer: layer)
| |- warning: sending 'layer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layer' to main actor-isolated initializer 'init(view:impulseCount:initialVelocity:origin:layer:)' risks causing data races between main actor-isolated and task-isolated uses
19 | })
20 | }
[55/66] Compiling Pow AnyChangeEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier.animation:2:51: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
1 | protocol ViewModifier {
2 | @MainActor @inlinable @preconcurrency public func animation(_ animation: Animation?) -> some ViewModifier
| `- note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[56/66] Compiling Pow AnyContinuousEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier.animation:2:51: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
1 | protocol ViewModifier {
2 | @MainActor @inlinable @preconcurrency public func animation(_ animation: Animation?) -> some ViewModifier
| `- note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[57/66] Compiling Pow AnyViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier.animation:2:51: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
1 | protocol ViewModifier {
2 | @MainActor @inlinable @preconcurrency public func animation(_ animation: Animation?) -> some ViewModifier
| `- note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[58/66] Compiling Pow Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier.animation:2:51: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
1 | protocol ViewModifier {
2 | @MainActor @inlinable @preconcurrency public func animation(_ animation: Animation?) -> some ViewModifier
| `- note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[59/66] Compiling Pow MathUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier.animation:2:51: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
1 | protocol ViewModifier {
2 | @MainActor @inlinable @preconcurrency public func animation(_ animation: Animation?) -> some ViewModifier
| `- note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[60/66] Compiling Pow Namespace.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier.animation:2:51: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
1 | protocol ViewModifier {
2 | @MainActor @inlinable @preconcurrency public func animation(_ animation: Animation?) -> some ViewModifier
| `- note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[61/66] Compiling Pow OnChangeEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- 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
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: 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
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: 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
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- 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
7 | get {
8 | var v = base.animatableData
[62/66] Compiling Pow ParticleLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- 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
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: 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
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: 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
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- 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
7 | get {
8 | var v = base.animatableData
[63/66] Compiling Pow ProgressableAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- 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
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: 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
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: 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
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- 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
7 | get {
8 | var v = base.animatableData
[64/66] Compiling Pow Scaled.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- 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
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: 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
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: 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
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- 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
7 | get {
8 | var v = base.animatableData
[65/66] Compiling Pow SecondOrderDynamics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- 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
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: 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
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: 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
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- 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
7 | get {
8 | var v = base.animatableData
[66/66] Compiling Pow SeededRandomNumberGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- 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
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: 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
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: 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
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- 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
7 | get {
8 | var v = base.animatableData
Build complete! (21.48s)
Fetching https://github.com/EmergeTools/SnapshotPreviews-iOS
[1/4457] Fetching snapshotpreviews-ios
Fetched https://github.com/EmergeTools/SnapshotPreviews-iOS from cache (1.15s)
Computing version for https://github.com/EmergeTools/SnapshotPreviews-iOS
Computed https://github.com/EmergeTools/SnapshotPreviews-iOS at 0.10.21 (1.81s)
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git
Fetching https://github.com/EmergeTools/SimpleDebugger.git
Fetching https://github.com/swhitty/FlyingFox.git
[1/2742] Fetching accessibilitysnapshot
[111/2869] Fetching accessibilitysnapshot, simpledebugger
[226/8709] Fetching accessibilitysnapshot, simpledebugger, flyingfox
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (2.13s)
Fetched https://github.com/swhitty/FlyingFox.git from cache (2.13s)
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (2.13s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (2.66s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.62s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.52s)
Creating working copy for https://github.com/EmergeTools/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
Creating working copy for https://github.com/EmergeTools/SnapshotPreviews-iOS
Working copy of https://github.com/EmergeTools/SnapshotPreviews-iOS resolved at 0.10.21
Creating working copy for https://github.com/EmergeTools/SimpleDebugger.git
Working copy of https://github.com/EmergeTools/SimpleDebugger.git resolved at 1.0.0
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
warning: 'spi-builder-workspace': dependency 'snapshotpreviews-ios' is not used by any target
Build complete.
{
"dependencies" : [
{
"identity" : "snapshotpreviews-ios",
"requirement" : {
"exact" : [
"0.10.21"
]
},
"type" : "sourceControl",
"url" : "https://github.com/EmergeTools/SnapshotPreviews-iOS"
}
],
"manifest_display_name" : "Pow",
"name" : "Pow",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Pow",
"targets" : [
"Pow"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PowTests",
"module_type" : "SwiftTarget",
"name" : "PowTests",
"path" : "Tests/PowTests",
"sources" : [
"PowTests.swift"
],
"target_dependencies" : [
"Pow"
],
"type" : "test"
},
{
"c99name" : "Pow",
"module_type" : "SwiftTarget",
"name" : "Pow",
"path" : "Sources/Pow",
"product_memberships" : [
"Pow"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Pow/Assets.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Effects/GlowEffect.swift",
"Effects/HapticFeedbackEffect.swift",
"Effects/JumpEffect.swift",
"Effects/PingEffect.swift",
"Effects/PulseEffect.swift",
"Effects/PushDownEffect.swift",
"Effects/RisingParticleEffect.swift",
"Effects/ShakeEffect.swift",
"Effects/ShineEffect.swift",
"Effects/SmokeEffect.swift",
"Effects/SoundEffect.swift",
"Effects/SpinEffect.swift",
"Effects/SprayEffect.swift",
"Effects/WiggleEffect.swift",
"Extensions/Animation+TimingCurves.swift",
"Extensions/CGAffineTransform+Shear.swift",
"Extensions/CGPoint+Utilities.swift",
"Extensions/CGRect+Utilities.swift",
"Extensions/CGSize+Utilities.swift",
"Extensions/Duration+TimeInterval.swift",
"Extensions/ProjectionTransform+Utilities.swift",
"Extensions/UnitPoint+CircularCoordinates.swift",
"Extensions/ViewModifier+DefaultAnimation.swift",
"Extensions/simd+Utilities.swift",
"Infrastructure/AngleControl.swift",
"Infrastructure/AnyAnimatableViewModifier.swift",
"Infrastructure/AnyChangeEffect.swift",
"Infrastructure/AnyContinuousEffect.swift",
"Infrastructure/AnyViewModifier.swift",
"Infrastructure/Haptics.swift",
"Infrastructure/MathUtilities.swift",
"Infrastructure/Namespace.swift",
"Infrastructure/OnChangeEffect.swift",
"Infrastructure/ParticleLayer.swift",
"Infrastructure/ProgressableAnimation.swift",
"Infrastructure/Scaled.swift",
"Infrastructure/SecondOrderDynamics.swift",
"Infrastructure/SeededRandomNumberGenerator.swift",
"Infrastructure/Simulative.swift",
"Infrastructure/Spring.swift",
"Infrastructure/TRS.swift",
"Infrastructure/Transform3DEffect.swift",
"Infrastructure/ViewRepresentable.swift",
"Infrastructure/WhileEffect.swift",
"Transitions/Anvil.swift",
"Transitions/Blinds.swift",
"Transitions/Blur.swift",
"Transitions/Boing.swift",
"Transitions/Clock.swift",
"Transitions/FilmExposure.swift",
"Transitions/Flicker.swift",
"Transitions/Flip.swift",
"Transitions/Glare.swift",
"Transitions/Iris.swift",
"Transitions/Move.swift",
"Transitions/Poof.swift",
"Transitions/Pop.swift",
"Transitions/Skid.swift",
"Transitions/Swoosh.swift",
"Transitions/Vanish.swift",
"Transitions/Wipe.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.