Build Information
Successful build of Pow, reference main (f650bd
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 21:06:54 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:26:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:28:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | .defaultAnimation(Vanish.defaultAnimation)
30 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:48:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:50:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .defaultAnimation(Vanish.defaultAnimation)
52 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:25:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
23 |
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
27 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:26:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | )
28 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:52:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
54 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:53:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
24 | static func skid(direction: SkidDirection) -> AnyTransition {
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, animatableData: 1))
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
28 | )
29 | }
[50/66] Compiling Pow Swoosh.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:41:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
43 | )
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:42:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | )
44 | .animation(.linear(duration: 1.2))
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, 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
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, 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
28 | )
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:26:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:28:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | .defaultAnimation(Vanish.defaultAnimation)
30 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:48:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:50:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .defaultAnimation(Vanish.defaultAnimation)
52 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:25:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
23 |
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
27 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:26:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | )
28 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:52:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
54 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:53:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
24 | static func skid(direction: SkidDirection) -> AnyTransition {
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, animatableData: 1))
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
28 | )
29 | }
[51/66] Compiling Pow Vanish.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:41:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
43 | )
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:42:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | )
44 | .animation(.linear(duration: 1.2))
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, 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
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, 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
28 | )
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:26:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:28:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | .defaultAnimation(Vanish.defaultAnimation)
30 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:48:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:50:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .defaultAnimation(Vanish.defaultAnimation)
52 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:25:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
23 |
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
27 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:26:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | )
28 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:52:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
54 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:53:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
24 | static func skid(direction: SkidDirection) -> AnyTransition {
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, animatableData: 1))
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
28 | )
29 | }
[52/66] Compiling Pow Wipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:41:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
43 | )
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:42:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | )
44 | .animation(.linear(duration: 1.2))
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, 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
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, 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
28 | )
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:26:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:28:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | .defaultAnimation(Vanish.defaultAnimation)
30 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:48:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:50:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .defaultAnimation(Vanish.defaultAnimation)
52 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:25:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
23 |
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
27 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:26:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | )
28 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:52:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
54 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:53:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
24 | static func skid(direction: SkidDirection) -> AnyTransition {
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, animatableData: 1))
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
28 | )
29 | }
[53/66] Compiling Pow resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:41:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
43 | )
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Pop.swift:42:27: warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | ///
37 | /// - Parameter style: The style to use for the effect.
38 | static func pop<S: ShapeStyle>(_ style: S) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'pop' part of global actor 'MainActor'
39 | let pop = AnyTransition
40 | .modifier(
41 | active: Pop(style: AnyShapeStyle(style), animatableData: 0),
42 | identity: Pop(style: AnyShapeStyle(style), animatableData: 1)
| `- warning: call to main actor-isolated initializer 'init(style:animatableData:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | )
44 | .animation(.linear(duration: 1.2))
:
59 | var seed: CGFloat = .random(in: 0 ... 255)
60 |
61 | init(style: AnyShapeStyle, animatableData: CGFloat) {
| |- note: calls to initializer 'init(style:animatableData:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
62 | self.animatableData = animatableData
63 | self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, 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
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | ///
23 | /// - Parameter direction: The direction of the transition.
24 | static func skid(direction: SkidDirection) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'skid(direction:)' part of global actor 'MainActor'
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, 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
28 | )
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:21:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
19 | var base: V
20 |
21 | init(_ base: V) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
22 | self.base = base
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:26:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:27:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
25 | removal: .modifier(
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:28:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
26 | active: Vanish(animatableData: 0, style: style, increasedBrightness: increasedBrightness)
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | .defaultAnimation(Vanish.defaultAnimation)
30 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:29:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | ///
21 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
22 | static func vanish<T: ShapeStyle>(_ style: T, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:increasedBrightness:)' part of global actor 'MainActor'
23 | return .asymmetric(
24 | insertion: .identity,
:
27 | .defaultAnimation(Vanish.defaultAnimation),
28 | identity: Vanish(animatableData: 1, style: style, increasedBrightness: increasedBrightness)
29 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | )
31 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:48:25: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:49:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
47 | removal: .modifier(
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:22: warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: call to main actor-isolated instance method 'defaultAnimation' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Extensions/ViewModifier+DefaultAnimation.swift:4:10: note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
2 |
3 | internal extension ViewModifier where Self: Animatable {
4 | func defaultAnimation(_ animation: Animation) -> some ViewModifier {
| `- note: calls to instance method 'defaultAnimation' from outside of its actor context are implicitly asynchronous
5 | transaction { t in
6 | if t.animation == .default {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:50:27: warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
48 | active: Vanish(animatableData: 0, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
| `- warning: call to main actor-isolated initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .defaultAnimation(Vanish.defaultAnimation)
52 | )
:
71 | var colorScheme
72 |
73 | internal init<S: ShapeStyle>(animatableData: CGFloat = 0, style: S, mask: (any Shape)? = nil, eoFill: Bool = true, increasedBrightness: Bool = true) {
| |- note: calls to initializer 'init(animatableData:style:mask:eoFill:increasedBrightness:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
74 | self.animatableData = animatableData
75 | self.style = AnyShapeStyle(style)
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Vanish.swift:51:46: warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 | ///
43 | /// - Note: This will use a ease-out animation with a duration of 900ms by default.
44 | static func vanish<T: ShapeStyle, S: Shape>(_ style: T, mask: S, eoFill: Bool = false, increasedBrightness: Bool = true) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'vanish(_:mask:eoFill:increasedBrightness:)' part of global actor 'MainActor'
45 | return .asymmetric(
46 | insertion: .identity,
:
49 | .defaultAnimation(Vanish.defaultAnimation),
50 | identity: Vanish(animatableData: 1, style: style, mask: mask, eoFill: eoFill, increasedBrightness: increasedBrightness)
51 | .defaultAnimation(Vanish.defaultAnimation)
| `- warning: main actor-isolated static property 'defaultAnimation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | )
53 | )
:
56 |
57 | internal struct Vanish: ViewModifier, Animatable, AnimatableModifier {
58 | static let defaultAnimation: Animation = .easeOut(duration: 0.9)
| `- note: static property declared here
59 |
60 | var animatableData: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:25:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
23 |
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
27 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:26:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | /// - edge: The edge at which the sweep starts or ends.
9 | /// - blurRadius: The radius of the blur applied to the mask.
10 | static func wipe(edge: Edge, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(edge:blurRadius:)' part of global actor 'MainActor'
11 | let angle: Angle
12 |
:
24 | return .modifier(
25 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
26 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | )
28 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:52:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
54 | )
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Wipe.swift:53:23: warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | /// - angle: The angle of the animation.
49 | /// - blurRadius: The radius of the blur applied to the mask.
50 | static func wipe(angle: Angle, blurRadius: CGFloat = 0) -> AnyTransition {
| `- note: add '@MainActor' to make static method 'wipe(angle:blurRadius:)' part of global actor 'MainActor'
51 | .modifier(
52 | active: Wipe(angle: angle, blurRadius: blurRadius, progress: 0),
53 | identity: Wipe(angle: angle, blurRadius: blurRadius, progress: 1)
| `- warning: call to main actor-isolated initializer 'init(angle:blurRadius:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | }
:
61 | var animatableData: AnimatablePair<CGFloat, CGFloat>
62 |
63 | internal init(angle: Angle, blurRadius: CGFloat = 0, progress: CGFloat) {
| |- note: calls to initializer 'init(angle:blurRadius:progress:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
64 | self.angle = angle
65 | self.animatableData = AnimatableData(progress, clamp(0, blurRadius, 30))
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:26:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
24 | static func skid(direction: SkidDirection) -> AnyTransition {
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
27 | identity: Scaled(Skid(direction, animatableData: 1))
28 | )
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Skid.swift:27:23: warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
25 | .modifier(
26 | active: Scaled(Skid(direction, animatableData: 0)),
27 | identity: Scaled(Skid(direction, animatableData: 1))
| |- warning: sending value of non-Sendable type 'Skid' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Skid' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
28 | )
29 | }
[54/66] Emitting module Pow
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/WhileEffect.swift:157:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 | internal extension EnvironmentValues {
156 | private struct IsConditionalEffectKey: EnvironmentKey {
157 | static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Blur.swift:26:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
24 |
25 | internal struct Blur: ViewModifier, DebugProgressableAnimation, AnimatableModifier, Hashable {
26 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
27 | get { radius }
28 | set { radius = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Clock.swift:35:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | internal struct Clock: ViewModifier, DebugProgressableAnimation, AnimatableModifier {
| `- note: add '@preconcurrency' to the 'ProgressableAnimation' conformance to defer isolation checking to run time
25 |
26 | var origin: UnitPoint
:
33 | }
34 |
35 | var progress: CGFloat {
| `- warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
36 | get { animatableData.first }
37 | set { animatableData.first = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ProgressableAnimation.swift:18:7: note: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Transitions/Iris.swift:31:9: warning: main actor-isolated property 'progress' cannot be used to satisfy nonisolated requirement from protocol 'ProgressableAnimation'; this is an error in the Swift 6 language mode
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 requirement from protocol 'ProgressableAnimation'; 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: requirement 'progress' declared here
16 |
17 | protocol ProgressableAnimation: Animatable {
18 | var progress: CGFloat { get set }
| `- note: requirement 'progress' declared here
19 | }
20 |
[55/66] Compiling Pow ProjectionTransform+Utilities.swift
[56/66] Compiling Pow UnitPoint+CircularCoordinates.swift
[57/66] Compiling Pow ViewModifier+DefaultAnimation.swift
[58/66] Compiling Pow simd+Utilities.swift
[59/66] Compiling Pow AngleControl.swift
[60/66] Compiling Pow AnyAnimatableViewModifier.swift
[61/66] Compiling Pow OnChangeEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
[62/66] Compiling Pow ParticleLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
[63/66] Compiling Pow ProgressableAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
[64/66] Compiling Pow Scaled.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
[65/66] Compiling Pow SecondOrderDynamics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
[66/66] Compiling Pow SeededRandomNumberGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | internal struct ParticleLayerPreferenceKey: PreferenceKey {
81 | static var defaultValue: [UUID: ParticleLayerContents] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | static func reduce(value: inout [UUID: ParticleLayerContents], nextValue: () -> [UUID: ParticleLayerContents]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/ParticleLayer.swift:90:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | internal extension EnvironmentValues {
89 | struct ParticleLayerNames: EnvironmentKey {
90 | static var defaultValue: Set<AnyHashable> = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/Pow/Infrastructure/Scaled.swift:6:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
3 |
4 | /// Scales the domain of a View Modifier to avoid snapping when animating with a spring animation.
5 | internal struct Scaled<V: ViewModifier & Animatable>: ViewModifier, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
6 | var animatableData: V.AnimatableData {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
7 | get {
8 | var v = base.animatableData
Build complete! (20.24s)
Fetching https://github.com/EmergeTools/SnapshotPreviews-iOS
[1/4265] Fetching snapshotpreviews-ios
Fetched https://github.com/EmergeTools/SnapshotPreviews-iOS from cache (1.23s)
Computing version for https://github.com/EmergeTools/SnapshotPreviews-iOS
Computed https://github.com/EmergeTools/SnapshotPreviews-iOS at 0.10.21 (1.83s)
Fetching https://github.com/swhitty/FlyingFox.git
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git
Fetching https://github.com/EmergeTools/SimpleDebugger.git
[1/96] Fetching simpledebugger
[97/5370] Fetching simpledebugger, flyingfox
[519/8112] Fetching simpledebugger, flyingfox, accessibilitysnapshot
Fetched https://github.com/swhitty/FlyingFox.git from cache (1.05s)
[151/2838] Fetching simpledebugger, accessibilitysnapshot
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (2.23s)
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (2.23s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (2.73s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.59s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.49s)
Creating working copy for https://github.com/EmergeTools/SnapshotPreviews-iOS
Working copy of https://github.com/EmergeTools/SnapshotPreviews-iOS resolved at 0.10.21
Creating working copy for https://github.com/EmergeTools/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
Creating working copy for https://github.com/EmergeTools/SimpleDebugger.git
Working copy of https://github.com/EmergeTools/SimpleDebugger.git resolved at 1.0.0
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
warning: 'spi-builder-workspace': dependency 'snapshotpreviews-ios' is not used by any target
Build complete.
{
"dependencies" : [
{
"identity" : "snapshotpreviews-ios",
"requirement" : {
"exact" : [
"0.10.21"
]
},
"type" : "sourceControl",
"url" : "https://github.com/EmergeTools/SnapshotPreviews-iOS"
}
],
"manifest_display_name" : "Pow",
"name" : "Pow",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Pow",
"targets" : [
"Pow"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PowTests",
"module_type" : "SwiftTarget",
"name" : "PowTests",
"path" : "Tests/PowTests",
"sources" : [
"PowTests.swift"
],
"target_dependencies" : [
"Pow"
],
"type" : "test"
},
{
"c99name" : "Pow",
"module_type" : "SwiftTarget",
"name" : "Pow",
"path" : "Sources/Pow",
"product_memberships" : [
"Pow"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Pow/Assets.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Effects/GlowEffect.swift",
"Effects/HapticFeedbackEffect.swift",
"Effects/JumpEffect.swift",
"Effects/PingEffect.swift",
"Effects/PulseEffect.swift",
"Effects/PushDownEffect.swift",
"Effects/RisingParticleEffect.swift",
"Effects/ShakeEffect.swift",
"Effects/ShineEffect.swift",
"Effects/SmokeEffect.swift",
"Effects/SoundEffect.swift",
"Effects/SpinEffect.swift",
"Effects/SprayEffect.swift",
"Effects/WiggleEffect.swift",
"Extensions/Animation+TimingCurves.swift",
"Extensions/CGAffineTransform+Shear.swift",
"Extensions/CGPoint+Utilities.swift",
"Extensions/CGRect+Utilities.swift",
"Extensions/CGSize+Utilities.swift",
"Extensions/Duration+TimeInterval.swift",
"Extensions/ProjectionTransform+Utilities.swift",
"Extensions/UnitPoint+CircularCoordinates.swift",
"Extensions/ViewModifier+DefaultAnimation.swift",
"Extensions/simd+Utilities.swift",
"Infrastructure/AngleControl.swift",
"Infrastructure/AnyAnimatableViewModifier.swift",
"Infrastructure/AnyChangeEffect.swift",
"Infrastructure/AnyContinuousEffect.swift",
"Infrastructure/AnyViewModifier.swift",
"Infrastructure/Haptics.swift",
"Infrastructure/MathUtilities.swift",
"Infrastructure/Namespace.swift",
"Infrastructure/OnChangeEffect.swift",
"Infrastructure/ParticleLayer.swift",
"Infrastructure/ProgressableAnimation.swift",
"Infrastructure/Scaled.swift",
"Infrastructure/SecondOrderDynamics.swift",
"Infrastructure/SeededRandomNumberGenerator.swift",
"Infrastructure/Simulative.swift",
"Infrastructure/Spring.swift",
"Infrastructure/TRS.swift",
"Infrastructure/Transform3DEffect.swift",
"Infrastructure/ViewRepresentable.swift",
"Infrastructure/WhileEffect.swift",
"Transitions/Anvil.swift",
"Transitions/Blinds.swift",
"Transitions/Blur.swift",
"Transitions/Boing.swift",
"Transitions/Clock.swift",
"Transitions/FilmExposure.swift",
"Transitions/Flicker.swift",
"Transitions/Flip.swift",
"Transitions/Glare.swift",
"Transitions/Iris.swift",
"Transitions/Move.swift",
"Transitions/Poof.swift",
"Transitions/Pop.swift",
"Transitions/Skid.swift",
"Transitions/Swoosh.swift",
"Transitions/Vanish.swift",
"Transitions/Wipe.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.