Build Information
Successful build of Pow, reference 1.0.6 (1b4b1d), with Swift 6.1 for macOS (SPM) on 18 Apr 2026 04:06:12 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
:
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 | }
[41/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 | }
[42/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 | }
[43/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 | }
[44/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 | }
[45/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 | }
[46/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 | }
[47/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 | }
[48/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 | }
[49/66] Compiling Pow Simulative.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:65:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | var shaded: ShadedTransform3DEffect {
65 | ShadedTransform3DEffect(animatableData: animatableData)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:69:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func shaded(lightSource: (x: Double, y: Double, z: Double)) -> ShadedTransform3DEffect {
| `- note: add '@MainActor' to make instance method 'shaded(lightSource:)' part of global actor 'MainActor'
69 | ShadedTransform3DEffect(animatableData: animatableData, lightSource: lightSource)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157: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
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- 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
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:97:21: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
95 | if delay != 0 {
96 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
97 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
98 | }
99 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:108:17: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
106 | private func reschedule(interval: TimeInterval) {
107 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
108 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
109 | }
110 | }
[50/66] Compiling Pow Spring.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:65:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | var shaded: ShadedTransform3DEffect {
65 | ShadedTransform3DEffect(animatableData: animatableData)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:69:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func shaded(lightSource: (x: Double, y: Double, z: Double)) -> ShadedTransform3DEffect {
| `- note: add '@MainActor' to make instance method 'shaded(lightSource:)' part of global actor 'MainActor'
69 | ShadedTransform3DEffect(animatableData: animatableData, lightSource: lightSource)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157: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
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- 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
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:97:21: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
95 | if delay != 0 {
96 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
97 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
98 | }
99 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:108:17: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
106 | private func reschedule(interval: TimeInterval) {
107 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
108 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
109 | }
110 | }
[51/66] Compiling Pow TRS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:65:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | var shaded: ShadedTransform3DEffect {
65 | ShadedTransform3DEffect(animatableData: animatableData)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:69:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func shaded(lightSource: (x: Double, y: Double, z: Double)) -> ShadedTransform3DEffect {
| `- note: add '@MainActor' to make instance method 'shaded(lightSource:)' part of global actor 'MainActor'
69 | ShadedTransform3DEffect(animatableData: animatableData, lightSource: lightSource)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157: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
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- 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
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:97:21: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
95 | if delay != 0 {
96 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
97 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
98 | }
99 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:108:17: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
106 | private func reschedule(interval: TimeInterval) {
107 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
108 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
109 | }
110 | }
[52/66] Compiling Pow Transform3DEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:65:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | var shaded: ShadedTransform3DEffect {
65 | ShadedTransform3DEffect(animatableData: animatableData)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:69:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func shaded(lightSource: (x: Double, y: Double, z: Double)) -> ShadedTransform3DEffect {
| `- note: add '@MainActor' to make instance method 'shaded(lightSource:)' part of global actor 'MainActor'
69 | ShadedTransform3DEffect(animatableData: animatableData, lightSource: lightSource)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157: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
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- 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
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:97:21: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
95 | if delay != 0 {
96 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
97 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
98 | }
99 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:108:17: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
106 | private func reschedule(interval: TimeInterval) {
107 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
108 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
109 | }
110 | }
[53/66] Compiling Pow ViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:65:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | var shaded: ShadedTransform3DEffect {
65 | ShadedTransform3DEffect(animatableData: animatableData)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:69:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func shaded(lightSource: (x: Double, y: Double, z: Double)) -> ShadedTransform3DEffect {
| `- note: add '@MainActor' to make instance method 'shaded(lightSource:)' part of global actor 'MainActor'
69 | ShadedTransform3DEffect(animatableData: animatableData, lightSource: lightSource)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157: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
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- 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
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:97:21: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
95 | if delay != 0 {
96 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
97 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
98 | }
99 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:108:17: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
106 | private func reschedule(interval: TimeInterval) {
107 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
108 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
109 | }
110 | }
[54/66] Compiling Pow WhileEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:65:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | var shaded: ShadedTransform3DEffect {
65 | ShadedTransform3DEffect(animatableData: animatableData)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Transform3DEffect.swift:69:9: warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func shaded(lightSource: (x: Double, y: Double, z: Double)) -> ShadedTransform3DEffect {
| `- note: add '@MainActor' to make instance method 'shaded(lightSource:)' part of global actor 'MainActor'
69 | ShadedTransform3DEffect(animatableData: animatableData, lightSource: lightSource)
| `- warning: call to main actor-isolated initializer 'init(animatableData:lightSource:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
:
118 | var lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)
119 |
120 | fileprivate init(animatableData: AnimatableData = .zero, lightSource: (x: Double, y: Double, z: Double) = (0, -1, 0)) {
| |- note: calls to initializer 'init(animatableData:lightSource:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
121 | self.animatableData = animatableData
122 | self.lightSource = lightSource
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157: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
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- 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
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:97:21: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
95 | if delay != 0 {
96 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { [weak self] t in
97 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
98 | }
99 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:108:17: warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
80 |
81 | private struct RepeatingChangeEffectModifier: ViewModifier {
82 | private final class RepeatingTimer: ObservableObject {
| `- note: class 'RepeatingTimer' does not conform to the 'Sendable' protocol
83 | @Published
84 | var count: Int = 0
:
106 | private func reschedule(interval: TimeInterval) {
107 | timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { [weak self] t in
108 | self?.resume(interval: interval)
| `- warning: capture of 'self' with non-sendable type 'RepeatingChangeEffectModifier.RepeatingTimer?' in a '@Sendable' closure
109 | }
110 | }
[55/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
[56/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
[57/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
[58/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
[59/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
[60/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
[61/66] Compiling Pow Anvil.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:13:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | .asymmetric(
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | identity: Anvil(animatableData: 1)
15 | ),
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:14:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
14 | identity: Anvil(animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | ),
16 | removal: .identity
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26: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
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- 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
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:18:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Scaled(Boing(edge, animatableData: 1))
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:19:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
19 | identity: Scaled(Boing(edge, animatableData: 1))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:18:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
20 | )
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:19:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[62/66] Compiling Pow Blinds.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:13:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | .asymmetric(
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | identity: Anvil(animatableData: 1)
15 | ),
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:14:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
14 | identity: Anvil(animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | ),
16 | removal: .identity
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26: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
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- 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
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:18:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Scaled(Boing(edge, animatableData: 1))
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:19:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
19 | identity: Scaled(Boing(edge, animatableData: 1))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:18:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
20 | )
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:19:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[63/66] Compiling Pow Blur.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:13:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | .asymmetric(
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | identity: Anvil(animatableData: 1)
15 | ),
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:14:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
14 | identity: Anvil(animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | ),
16 | removal: .identity
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26: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
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- 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
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:18:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Scaled(Boing(edge, animatableData: 1))
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:19:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
19 | identity: Scaled(Boing(edge, animatableData: 1))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:18:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
20 | )
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:19:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[64/66] Compiling Pow Boing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:13:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | .asymmetric(
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | identity: Anvil(animatableData: 1)
15 | ),
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:14:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
14 | identity: Anvil(animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | ),
16 | removal: .identity
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26: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
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- 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
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:18:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Scaled(Boing(edge, animatableData: 1))
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:19:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
19 | identity: Scaled(Boing(edge, animatableData: 1))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:18:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
20 | )
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:19:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[65/66] Compiling Pow Clock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:13:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | .asymmetric(
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | identity: Anvil(animatableData: 1)
15 | ),
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:14:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
14 | identity: Anvil(animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | ),
16 | removal: .identity
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26: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
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- 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
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:18:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Scaled(Boing(edge, animatableData: 1))
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:19:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
19 | identity: Scaled(Boing(edge, animatableData: 1))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:18:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
20 | )
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:19:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[66/66] Compiling Pow FilmExposure.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:13:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | .asymmetric(
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | identity: Anvil(animatableData: 1)
15 | ),
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Anvil.swift:14:27: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | insertion: .modifier(
13 | active: Anvil(animatableData: 0),
14 | identity: Anvil(animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | ),
16 | removal: .identity
:
28 | #endif
29 |
30 | internal init(animatableData: CGFloat = 0) {
| |- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.animatableData = animatableData
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26: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
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- 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
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:18:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Scaled(Boing(edge, animatableData: 1))
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Boing.swift:19:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// and towards it on removal, with any overshoot resulting in an elastic
15 | /// deformation of the view.
16 | static func boing(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'boing(edge:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Scaled(Boing(edge, animatableData: 0)),
19 | identity: Scaled(Boing(edge, animatableData: 1))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:18:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
20 | )
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:19:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | /// - Parameter origin: The centerpoint of the sweep.
15 | /// - Parameter blurRadius: The radius of the blur applied to the mask.
16 | static func clock(origin: UnitPoint = .center, blurRadius: CGFloat) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'clock(origin:blurRadius:)' part of global actor 'MainActor'
17 | .modifier(
18 | active: Clock(origin: origin, blurRadius: blurRadius, progress: 0),
19 | identity: Clock(origin: origin, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | )
21 | }
:
28 | var animatableData: AnimatablePair<CGFloat, CGFloat>
29 |
30 | init(origin: UnitPoint, blurRadius: CGFloat, progress: CGFloat) {
| |- note: calls to initializer 'init(origin:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
Build complete! (21.02s)
Fetching https://github.com/EmergeTools/SnapshotPreviews-iOS
[1/4560] Fetching snapshotpreviews-ios
Fetched https://github.com/EmergeTools/SnapshotPreviews-iOS from cache (1.09s)
Computing version for https://github.com/EmergeTools/SnapshotPreviews-iOS
Computed https://github.com/EmergeTools/SnapshotPreviews-iOS at 0.10.21 (1.71s)
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git
Fetching https://github.com/swhitty/FlyingFox.git
Fetching https://github.com/EmergeTools/SimpleDebugger.git
[1/2742] Fetching accessibilitysnapshot
[29/2869] Fetching accessibilitysnapshot, simpledebugger
[242/8818] Fetching accessibilitysnapshot, simpledebugger, flyingfox
Fetched https://github.com/swhitty/FlyingFox.git from cache (3.02s)
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (3.02s)
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (3.02s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (3.52s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.59s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.49s)
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/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/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
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.