Build Information
Successful build of Pow, reference main (f650bd
), with Swift 6.0 for macOS (SPM) on 18 Feb 2025 20:57:34 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
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
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[40/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
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
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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
27 | get { radius }
28 | set { radius = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/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
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
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 protocol requirement; 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 protocol requirement; 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: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: '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
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
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[41/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
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
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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
27 | get { radius }
28 | set { radius = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/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
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
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 protocol requirement; 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 protocol requirement; 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: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: '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
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
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[42/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
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
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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
27 | get { radius }
28 | set { radius = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/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
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
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 protocol requirement; 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 protocol requirement; 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: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: '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
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
31 | self.origin = origin
32 | self.animatableData = AnimatableData(progress, blurRadius)
[43/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[44/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[45/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[46/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[47/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[48/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[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
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
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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 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:5:55: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | @inlinable nonisolated public func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some ViewModifier
4 |
5 | @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
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[56/66] Compiling Pow AnyContinuousEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier:5:55: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | @inlinable nonisolated public func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some ViewModifier
4 |
5 | @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
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[57/66] Compiling Pow AnyViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier:5:55: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | @inlinable nonisolated public func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some ViewModifier
4 |
5 | @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
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[58/66] Compiling Pow Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier:5:55: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | @inlinable nonisolated public func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some ViewModifier
4 |
5 | @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
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[59/66] Compiling Pow MathUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier:5:55: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | @inlinable nonisolated public func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some ViewModifier
4 |
5 | @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
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[60/66] Compiling Pow Namespace.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:21:14: warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | }
18 |
19 | internal func viewModifier(changeCount: Int) -> some ViewModifier {
| `- note: add '@MainActor' to make instance method 'viewModifier(changeCount:)' part of global actor 'MainActor'
20 | modifier(changeCount)
21 | .animation(animation)
| `- warning: call to main actor-isolated instance method 'animation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
SwiftUICore.ViewModifier:5:55: note: calls to instance method 'animation' from outside of its actor context are implicitly asynchronous
3 | @inlinable nonisolated public func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some ViewModifier
4 |
5 | @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
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:37:22: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | modifier: { change in
36 | makeModifier(change)
37 | .eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | },
39 | animation: animation,
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyChangeEffect.swift:46:34: warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 | static func simulation<Modifier: ViewModifier & Simulative>(_ makeModifier: @escaping (Int) -> Modifier) -> AnyChangeEffect {
45 | AnyChangeEffect(modifier: { change in
46 | makeModifier(change).eraseToAnyViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }, animation: nil, cooldown: 0.0)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyViewModifier.swift:18:10: note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
16 |
17 | internal extension ViewModifier {
18 | func eraseToAnyViewModifier() -> AnyViewModifier {
| `- note: calls to instance method 'eraseToAnyViewModifier()' from outside of its actor context are implicitly asynchronous
19 | AnyViewModifier(self)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/AnyContinuousEffect.swift:8:32: warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
6 | static func modifier(_ modifier: @escaping (Bool) -> some ViewModifier & Continuous) -> Self {
7 | AnyContinuousEffect(_viewModifier: { isActive in
8 | modifier(isActive).eraseToAnyContinuousViewModifier()
| `- warning: call to main actor-isolated instance method 'eraseToAnyContinuousViewModifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | })
10 | }
:
30 |
31 | internal extension ViewModifier where Self: Continuous {
32 | func eraseToAnyContinuousViewModifier() -> AnyContinuousViewModifier {
| `- note: calls to instance method 'eraseToAnyContinuousViewModifier()' from outside of its actor context are implicitly asynchronous
33 | AnyContinuousViewModifier(self)
34 | }
[61/66] Compiling Pow Flicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:44:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
46 | )
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:45:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | )
47 | }
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | }
17 |
18 | struct Iris: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
19 | var origin: UnitPoint
20 |
:
29 | }
30 |
31 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | get { animatableData }
33 | set { animatableData = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:12:21: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
14 | )
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:13:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | )
15 | }
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:9:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | identity: Scaled(Move())
11 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:10:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
10 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | )
12 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:33:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | identity: Scaled(Move())
35 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:34:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
34 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | )
36 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:11:25: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | insertion: .identity,
10 | removal: .modifier(
11 | active: Poof(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
12 | identity: Poof(animatableData: 1)
13 | )
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:12: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
10 | removal: .modifier(
11 | active: Poof(animatableData: 0),
12 | identity: Poof(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
13 | )
14 | .animation(.linear(duration: 0.4))
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
[62/66] Compiling Pow Flip.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:44:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
46 | )
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:45:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | )
47 | }
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | }
17 |
18 | struct Iris: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
19 | var origin: UnitPoint
20 |
:
29 | }
30 |
31 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | get { animatableData }
33 | set { animatableData = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:12:21: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
14 | )
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:13:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | )
15 | }
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:9:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | identity: Scaled(Move())
11 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:10:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
10 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | )
12 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:33:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | identity: Scaled(Move())
35 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:34:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
34 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | )
36 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:11:25: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | insertion: .identity,
10 | removal: .modifier(
11 | active: Poof(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
12 | identity: Poof(animatableData: 1)
13 | )
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:12: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
10 | removal: .modifier(
11 | active: Poof(animatableData: 0),
12 | identity: Poof(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
13 | )
14 | .animation(.linear(duration: 0.4))
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
[63/66] Compiling Pow Glare.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:44:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
46 | )
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:45:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | )
47 | }
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | }
17 |
18 | struct Iris: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
19 | var origin: UnitPoint
20 |
:
29 | }
30 |
31 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | get { animatableData }
33 | set { animatableData = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:12:21: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
14 | )
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:13:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | )
15 | }
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:9:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | identity: Scaled(Move())
11 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:10:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
10 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | )
12 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:33:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | identity: Scaled(Move())
35 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:34:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
34 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | )
36 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:11:25: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | insertion: .identity,
10 | removal: .modifier(
11 | active: Poof(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
12 | identity: Poof(animatableData: 1)
13 | )
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:12: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
10 | removal: .modifier(
11 | active: Poof(animatableData: 0),
12 | identity: Poof(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
13 | )
14 | .animation(.linear(duration: 0.4))
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
[64/66] Compiling Pow Iris.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:44:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
46 | )
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:45:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | )
47 | }
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | }
17 |
18 | struct Iris: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
19 | var origin: UnitPoint
20 |
:
29 | }
30 |
31 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | get { animatableData }
33 | set { animatableData = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:12:21: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
14 | )
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:13:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | )
15 | }
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:9:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | identity: Scaled(Move())
11 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:10:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
10 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | )
12 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:33:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | identity: Scaled(Move())
35 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:34:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
34 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | )
36 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:11:25: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | insertion: .identity,
10 | removal: .modifier(
11 | active: Poof(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
12 | identity: Poof(animatableData: 1)
13 | )
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:12: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
10 | removal: .modifier(
11 | active: Poof(animatableData: 0),
12 | identity: Poof(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
13 | )
14 | .animation(.linear(duration: 0.4))
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
[65/66] Compiling Pow Move.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:44:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
46 | )
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:45:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | )
47 | }
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | }
17 |
18 | struct Iris: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
19 | var origin: UnitPoint
20 |
:
29 | }
30 |
31 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | get { animatableData }
33 | set { animatableData = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:12:21: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
14 | )
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:13:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | )
15 | }
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:9:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | identity: Scaled(Move())
11 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:10:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
10 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | )
12 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:33:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | identity: Scaled(Move())
35 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:34:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
34 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | )
36 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:11:25: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | insertion: .identity,
10 | removal: .modifier(
11 | active: Poof(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
12 | identity: Poof(animatableData: 1)
13 | )
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:12: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
10 | removal: .modifier(
11 | active: Poof(animatableData: 0),
12 | identity: Poof(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
13 | )
14 | .animation(.linear(duration: 0.4))
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
[66/66] Compiling Pow Poof.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:44:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
46 | )
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Glare.swift:45:23: warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | /// - color: The color of the glare effect.
41 | /// - increasedBrightness: A Boolean that indicates whether the glare is displayed with increased brightness. Defaults to `true`.
42 | static func glare(angle: Angle, color: Color = .white, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'glare(angle:color:increasedBrightness:)' part of global actor 'MainActor'
43 | .modifier(
44 | active: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 0),
45 | identity: Glare(angle, color: color, increasedBrightness: increasedBrightness, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(_:color:increasedBrightness:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | )
47 | }
:
60 | var layoutDirection
61 |
62 | internal init(_ angle: Angle, color: Color, increasedBrightness: Bool = true, animatableData: CGFloat = 0) {
| `- note: calls to initializer 'init(_:color:increasedBrightness:animatableData:)' from outside of its actor context are implicitly asynchronous
63 | self.animatableData = animatableData
64 | self.angle = angle
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | }
17 |
18 | struct Iris: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
19 | var origin: UnitPoint
20 |
:
29 | }
30 |
31 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | get { animatableData }
33 | set { animatableData = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:12:21: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
14 | )
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:13:23: warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - origin: The center point of the circle as it grows or shrinks.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func iris(origin: UnitPoint = .center, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'iris(origin:blurRadius:)' part of global actor 'MainActor'
11 | .modifier(
12 | active: Iris(origin: origin, blurRadius: blurRadius, animatableData: 0),
13 | identity: Iris(origin: origin, blurRadius: blurRadius, animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(origin:blurRadius:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 | )
15 | }
:
23 | var animatableData: CGFloat = 0
24 |
25 | internal init(origin: UnitPoint, blurRadius: CGFloat = 0, animatableData: CGFloat) {
| `- note: calls to initializer 'init(origin:blurRadius:animatableData:)' from outside of its actor context are implicitly asynchronous
26 | self.origin = origin
27 | self.blurRadius = clamp(0, blurRadius, 30)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:9:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | identity: Scaled(Move())
11 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:10:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
5 | /// A transition that moves the view from the specified edge of the on
6 | /// insertion and towards it on removal.
7 | static func move(edge: Edge) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(edge:)' part of global actor 'MainActor'
8 | return .modifier(
9 | active: Scaled(Move(edge: edge)),
10 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | )
12 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:33:21: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | identity: Scaled(Move())
35 | )
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Move.swift:34:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | ///
30 | /// - Parameter angle: The direction of the animation.
31 | static func move(angle: Angle) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'move(angle:)' part of global actor 'MainActor'
32 | return .modifier(
33 | active: Scaled(Move(angle: angle)),
34 | identity: Scaled(Move())
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | )
36 | }
/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
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:11:25: warning: call to main actor-isolated initializer 'init(animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | insertion: .identity,
10 | removal: .modifier(
11 | active: Poof(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
12 | identity: Poof(animatableData: 1)
13 | )
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Poof.swift:12: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
10 | removal: .modifier(
11 | active: Poof(animatableData: 0),
12 | identity: Poof(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
13 | )
14 | .animation(.linear(duration: 0.4))
:
20 | var animatableData: CGFloat = 0
21 |
22 | internal init(animatableData: CGFloat) {
| `- note: calls to initializer 'init(animatableData:)' from outside of its actor context are implicitly asynchronous
23 | self.animatableData = animatableData
24 | }
Build complete! (27.36s)
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.