Build Information
Successful build of Lottie, reference 4.5.1 (047aa8
), with Swift 6.0 for macOS (SPM) on 4 Jan 2025 01:08:55 UTC.
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[253/290] Compiling Lottie CompoundBezierPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[254/290] Compiling Lottie CurveVertex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[255/290] Compiling Lottie PathElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[256/290] Compiling Lottie UnitBezier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[257/290] Compiling Lottie VectorsExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[258/290] Compiling Lottie LottieAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[259/290] Compiling Lottie LottieAnimationHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[260/290] Compiling Lottie LottieAnimationLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[261/290] Compiling Lottie LottieAnimationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[262/290] Compiling Lottie LottieAnimationViewInitializers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[263/290] Compiling Lottie LottiePlaybackMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[264/290] Compiling Lottie LottieView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[265/290] Compiling Lottie AnimationCacheProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:7: warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Transformed' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:12:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
10 | func map<Transformed>(transform: @escaping (Value) -> Transformed) -> Binding<Transformed> {
11 | .init {
12 | transform(wrappedValue)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Helpers/Binding+Map.swift:15:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
13 | } set: { newValue in
14 | guard let newValue = newValue as? Value else { return }
15 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/AnimationCache/LottieAnimationCache.swift:14:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Using an Animation Cache can increase performance when loading an animation multiple times.
13 | /// Defaults to DefaultAnimationCache.sharedCache.
14 | public static var shared: AnimationCacheProvider? = DefaultAnimationCache.sharedCache
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configuration/LottieConfiguration.swift:27:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// The global configuration of Lottie,
26 | /// which applies to all `LottieAnimationView`s by default.
27 | public static var shared = LottieConfiguration()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// The rendering engine implementation to use when displaying an animation
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/Public/Animation/LottieAnimationHelpers.swift:209:13: warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
207 | guard error == nil, let jsonData = data else {
208 | DispatchQueue.main.async {
209 | closure(nil)
| |- warning: capture of 'closure' with non-sendable type 'LottieAnimation.DownloadClosure' (aka '(Optional<LottieAnimation>) -> ()') in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 | }
211 | return
/Users/admin/builder/spi-builder-workspace/Sources/Private/Utility/Debugging/TestHelpers.swift:9:14: warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Whether or not performance tests are currently running in a test target
9 | static var performanceTestsAreRunning = false
| |- warning: static property 'performanceTestsAreRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'performanceTestsAreRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'performanceTestsAreRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:54:21: warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
52 | /// - When using `LottieView`, the image provider from the dotLottie animation will override
53 | /// the image provider applied manually using `LottieView.imageProvider(...)`.
54 | public static let imageProvider = DotLottieConfigurationComponents(rawValue: 1 << 0)
| |- warning: static property 'imageProvider' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// `DotLottieConfigurationMode.loopMode` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:59:21: warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
57 | /// - When using `LottieView`, the loop mode from the dotLottie animation will override
58 | /// the loopMode applied by any playback method.
59 | public static let loopMode = DotLottieConfigurationComponents(rawValue: 1 << 1)
| |- warning: static property 'loopMode' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// `DotLottieConfigurationMode.speed` will be applied to the `LottieAnimationView`.
/Users/admin/builder/spi-builder-workspace/Sources/Public/DotLottie/DotLottieConfiguration.swift:64:21: warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// - When using `LottieView`, if the component is selected to be applied it will
40 | /// override any value provided via other `LottieView` APIs.
41 | public struct DotLottieConfigurationComponents: OptionSet {
| `- note: consider making struct 'DotLottieConfigurationComponents' conform to the 'Sendable' protocol
42 |
43 | // MARK: Lifecycle
:
62 | /// - When using `LottieView`, the speed from the dotLottie animation will override
63 | /// the speed applied manually using `LottieView.animationSpeed(...)`.
64 | public static let animationSpeed = DotLottieConfigurationComponents(rawValue: 1 << 2)
| |- warning: static property 'animationSpeed' is not concurrency-safe because non-'Sendable' type 'DotLottieConfigurationComponents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'animationSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let all: DotLottieConfigurationComponents = [.imageProvider, .loopMode, .animationSpeed]
[266/290] Compiling Lottie PointValueProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[267/290] Compiling Lottie SizeValueProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[268/290] Compiling Lottie AnimationFontProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[269/290] Compiling Lottie AnimationImageProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[270/290] Compiling Lottie Interpolatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[271/290] Compiling Lottie Keyframe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[272/290] Compiling Lottie LottieLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[273/290] Compiling Lottie AnimationTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[274/290] Compiling Lottie LottieColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[275/290] Compiling Lottie Vectors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[276/290] Compiling Lottie AnimationTextProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[277/290] Compiling Lottie AnimationSubview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[278/290] Compiling Lottie BundleImageProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[279/290] Compiling Lottie CompatibleAnimationKeypath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[280/290] Compiling Lottie CompatibleAnimationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[281/290] Compiling Lottie FilepathImageProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[282/290] Compiling Lottie LottieAnimationViewBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[283/290] Compiling Lottie UIColorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[284/290] Compiling Lottie AnimationSubview.macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[285/290] Compiling Lottie BundleImageProvider.macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[286/290] Compiling Lottie FilepathImageProvider.macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[287/290] Compiling Lottie LottieAnimationViewBase.macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[288/290] Compiling Lottie resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Logging/LottieLogger.swift:75:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | ///
74 | /// Set this to a new logger instance to intercept assertions and warnings logged by Lottie.
75 | public static var shared = LottieLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Logs that an assertion occurred.
[288/290] Write Objects.LinkFileList
[289/290] Linking libLottie-Dynamic.dylib
Build complete! (29.99s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/airbnb/swift"
}
],
"manifest_display_name" : "Lottie",
"name" : "Lottie",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionOS",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Lottie",
"targets" : [
"Lottie"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Lottie-Dynamic",
"targets" : [
"Lottie"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "Lottie",
"module_type" : "SwiftTarget",
"name" : "Lottie",
"path" : "Sources",
"product_memberships" : [
"Lottie",
"Lottie-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Private/CoreAnimation/Animations/CAAnimation+TimingConfiguration.swift",
"Private/CoreAnimation/Animations/CALayer+addAnimation.swift",
"Private/CoreAnimation/Animations/CombinedShapeAnimation.swift",
"Private/CoreAnimation/Animations/CustomPathAnimation.swift",
"Private/CoreAnimation/Animations/DropShadowAnimation.swift",
"Private/CoreAnimation/Animations/EllipseAnimation.swift",
"Private/CoreAnimation/Animations/GradientAnimations.swift",
"Private/CoreAnimation/Animations/LayerProperty.swift",
"Private/CoreAnimation/Animations/OpacityAnimation.swift",
"Private/CoreAnimation/Animations/RectangleAnimation.swift",
"Private/CoreAnimation/Animations/ShapeAnimation.swift",
"Private/CoreAnimation/Animations/StarAnimation.swift",
"Private/CoreAnimation/Animations/StrokeAnimation.swift",
"Private/CoreAnimation/Animations/TransformAnimations.swift",
"Private/CoreAnimation/Animations/VisibilityAnimation.swift",
"Private/CoreAnimation/CompatibilityTracker.swift",
"Private/CoreAnimation/CoreAnimationLayer.swift",
"Private/CoreAnimation/Extensions/CALayer+fillBounds.swift",
"Private/CoreAnimation/Extensions/KeyframeGroup+exactlyOneKeyframe.swift",
"Private/CoreAnimation/Extensions/Keyframes+combined.swift",
"Private/CoreAnimation/Extensions/Keyframes+timeRemapping.swift",
"Private/CoreAnimation/Layers/AnimationLayer.swift",
"Private/CoreAnimation/Layers/BaseAnimationLayer.swift",
"Private/CoreAnimation/Layers/BaseCompositionLayer.swift",
"Private/CoreAnimation/Layers/CALayer+setupLayerHierarchy.swift",
"Private/CoreAnimation/Layers/GradientRenderLayer.swift",
"Private/CoreAnimation/Layers/ImageLayer.swift",
"Private/CoreAnimation/Layers/InfiniteOpaqueAnimationLayer.swift",
"Private/CoreAnimation/Layers/LayerModel+makeAnimationLayer.swift",
"Private/CoreAnimation/Layers/MaskCompositionLayer.swift",
"Private/CoreAnimation/Layers/PreCompLayer.swift",
"Private/CoreAnimation/Layers/RepeaterLayer.swift",
"Private/CoreAnimation/Layers/ShapeItemLayer.swift",
"Private/CoreAnimation/Layers/ShapeLayer.swift",
"Private/CoreAnimation/Layers/SolidLayer.swift",
"Private/CoreAnimation/Layers/TextLayer.swift",
"Private/CoreAnimation/Layers/TransformLayer.swift",
"Private/CoreAnimation/ValueProviderStore.swift",
"Private/EmbeddedLibraries/EpoxyCore/Diffing/Collection+Diff.swift",
"Private/EmbeddedLibraries/EpoxyCore/Diffing/Diffable.swift",
"Private/EmbeddedLibraries/EpoxyCore/Diffing/DiffableSection.swift",
"Private/EmbeddedLibraries/EpoxyCore/Diffing/IndexChangeset.swift",
"Private/EmbeddedLibraries/EpoxyCore/Diffing/SectionedChangeset.swift",
"Private/EmbeddedLibraries/EpoxyCore/Logging/EpoxyLogger.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/CallbackContextEpoxyModeled.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/EpoxyModelArrayBuilder.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/EpoxyModelProperty.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/EpoxyModelStorage.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/EpoxyModeled.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Internal/AnyEpoxyModelProperty.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Internal/ClassReference.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/AnimatedProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/DataIDProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/DidDisplayProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/DidEndDisplayingProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/DidSelectProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/ErasedContentProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/MakeViewProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/SetBehaviorsProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/SetContentProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/StyleIDProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/TraitCollectionProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/ViewDifferentiatorProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/ViewProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/Providers/WillDisplayProviding.swift",
"Private/EmbeddedLibraries/EpoxyCore/Model/ViewEpoxyModeled.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/LayoutUtilities/MeasuringViewRepresentable.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/SwiftUIView.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/UIView+SwiftUIView.swift",
"Private/EmbeddedLibraries/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift",
"Private/EmbeddedLibraries/EpoxyCore/Views/BehaviorsConfigurableView.swift",
"Private/EmbeddedLibraries/EpoxyCore/Views/ContentConfigurableView.swift",
"Private/EmbeddedLibraries/EpoxyCore/Views/EpoxyableView.swift",
"Private/EmbeddedLibraries/EpoxyCore/Views/StyledView.swift",
"Private/EmbeddedLibraries/EpoxyCore/Views/ViewType.swift",
"Private/EmbeddedLibraries/LRUCache/LRUCache.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+BackingConfiguration.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+Helpers.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+MemoryFile.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+Progress.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+Reading.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+ReadingDeprecated.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+Writing.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+WritingDeprecated.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive+ZIP64.swift",
"Private/EmbeddedLibraries/ZipFoundation/Archive.swift",
"Private/EmbeddedLibraries/ZipFoundation/Data+Compression.swift",
"Private/EmbeddedLibraries/ZipFoundation/Data+CompressionDeprecated.swift",
"Private/EmbeddedLibraries/ZipFoundation/Data+Serialization.swift",
"Private/EmbeddedLibraries/ZipFoundation/Entry+Serialization.swift",
"Private/EmbeddedLibraries/ZipFoundation/Entry+ZIP64.swift",
"Private/EmbeddedLibraries/ZipFoundation/Entry.swift",
"Private/EmbeddedLibraries/ZipFoundation/FileManager+ZIP.swift",
"Private/EmbeddedLibraries/ZipFoundation/URL+ZIP.swift",
"Private/MainThread/LayerContainers/CompLayers/CompositionLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/ImageCompositionLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/MaskContainerLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/NullCompositionLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/PreCompositionLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/ShapeCompositionLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/SolidCompositionLayer.swift",
"Private/MainThread/LayerContainers/CompLayers/TextCompositionLayer.swift",
"Private/MainThread/LayerContainers/MainThreadAnimationLayer.swift",
"Private/MainThread/LayerContainers/Utility/CachedImageProvider.swift",
"Private/MainThread/LayerContainers/Utility/CompositionLayersInitializer.swift",
"Private/MainThread/LayerContainers/Utility/CoreTextRenderLayer.swift",
"Private/MainThread/LayerContainers/Utility/InvertedMatteLayer.swift",
"Private/MainThread/LayerContainers/Utility/LayerFontProvider.swift",
"Private/MainThread/LayerContainers/Utility/LayerImageProvider.swift",
"Private/MainThread/LayerContainers/Utility/LayerTextProvider.swift",
"Private/MainThread/LayerContainers/Utility/LayerTransformNode.swift",
"Private/MainThread/NodeRenderSystem/Extensions/ItemsExtension.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/NodeProperty.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/Protocols/AnyNodeProperty.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/Protocols/AnyValueContainer.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/Protocols/KeypathSearchable.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/Protocols/NodePropertyMap.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/ValueContainer.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/ValueProviders/GroupInterpolator.swift",
"Private/MainThread/NodeRenderSystem/NodeProperties/ValueProviders/SingleValueProvider.swift",
"Private/MainThread/NodeRenderSystem/Nodes/LayerEffectNodes/DropShadowNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/LayerEffectNodes/LayerEffectNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/ModifierNodes/RoundedCornersNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/ModifierNodes/TrimPathNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/GroupOutputNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/PassThroughOutputNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/PathOutputNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/FillRenderer.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/GradientFillRenderer.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/GradientStrokeRenderer.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/LegacyGradientFillRenderer.swift",
"Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/StrokeRenderer.swift",
"Private/MainThread/NodeRenderSystem/Nodes/PathNodes/EllipseNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/PathNodes/PolygonNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/PathNodes/RectNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/PathNodes/ShapeNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/PathNodes/StarNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/RenderContainers/GroupNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/FillNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/GradientFillNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/GradientStrokeNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/StrokeNode.swift",
"Private/MainThread/NodeRenderSystem/Nodes/Text/TextAnimatorNode.swift",
"Private/MainThread/NodeRenderSystem/Protocols/AnimatorNode.swift",
"Private/MainThread/NodeRenderSystem/Protocols/PathNode.swift",
"Private/MainThread/NodeRenderSystem/Protocols/RenderNode.swift",
"Private/MainThread/NodeRenderSystem/RenderLayers/ShapeContainerLayer.swift",
"Private/MainThread/NodeRenderSystem/RenderLayers/ShapeRenderLayer.swift",
"Private/Model/Assets/Asset.swift",
"Private/Model/Assets/AssetLibrary.swift",
"Private/Model/Assets/ImageAsset.swift",
"Private/Model/Assets/PrecompAsset.swift",
"Private/Model/DictionaryInitializable.swift",
"Private/Model/DotLottie/DotLottieAnimation.swift",
"Private/Model/DotLottie/DotLottieImageProvider.swift",
"Private/Model/DotLottie/DotLottieManifest.swift",
"Private/Model/DotLottie/DotLottieUtils.swift",
"Private/Model/Extensions/Bundle.swift",
"Private/Model/Extensions/KeyedDecodingContainerExtensions.swift",
"Private/Model/Keyframes/KeyframeData.swift",
"Private/Model/Keyframes/KeyframeGroup.swift",
"Private/Model/LayerEffects/DropShadowEffect.swift",
"Private/Model/LayerEffects/EffectValues/ColorEffectValue.swift",
"Private/Model/LayerEffects/EffectValues/EffectValue.swift",
"Private/Model/LayerEffects/EffectValues/Vector1DEffectValue.swift",
"Private/Model/LayerEffects/LayerEffect.swift",
"Private/Model/LayerStyles/DropShadowStyle.swift",
"Private/Model/LayerStyles/LayerStyle.swift",
"Private/Model/Layers/ImageLayerModel.swift",
"Private/Model/Layers/LayerModel.swift",
"Private/Model/Layers/PreCompLayerModel.swift",
"Private/Model/Layers/ShapeLayerModel.swift",
"Private/Model/Layers/SolidLayerModel.swift",
"Private/Model/Layers/TextLayerModel.swift",
"Private/Model/Objects/DashPattern.swift",
"Private/Model/Objects/Marker.swift",
"Private/Model/Objects/Mask.swift",
"Private/Model/Objects/Transform.swift",
"Private/Model/ShapeItems/Ellipse.swift",
"Private/Model/ShapeItems/Fill.swift",
"Private/Model/ShapeItems/GradientFill.swift",
"Private/Model/ShapeItems/GradientStroke.swift",
"Private/Model/ShapeItems/Group.swift",
"Private/Model/ShapeItems/Merge.swift",
"Private/Model/ShapeItems/Rectangle.swift",
"Private/Model/ShapeItems/Repeater.swift",
"Private/Model/ShapeItems/RoundedCorners.swift",
"Private/Model/ShapeItems/Shape.swift",
"Private/Model/ShapeItems/ShapeItem.swift",
"Private/Model/ShapeItems/ShapeTransform.swift",
"Private/Model/ShapeItems/Star.swift",
"Private/Model/ShapeItems/Stroke.swift",
"Private/Model/ShapeItems/Trim.swift",
"Private/Model/Text/Font.swift",
"Private/Model/Text/Glyph.swift",
"Private/Model/Text/TextAnimator.swift",
"Private/Model/Text/TextDocument.swift",
"Private/RootAnimationLayer.swift",
"Private/Utility/Debugging/AnimatorNodeDebugging.swift",
"Private/Utility/Debugging/LayerDebugging.swift",
"Private/Utility/Debugging/TestHelpers.swift",
"Private/Utility/Extensions/AnimationKeypathExtension.swift",
"Private/Utility/Extensions/BlendMode+Filter.swift",
"Private/Utility/Extensions/CGColor+RGB.swift",
"Private/Utility/Extensions/CGFloatExtensions.swift",
"Private/Utility/Extensions/DataExtension.swift",
"Private/Utility/Extensions/MathKit.swift",
"Private/Utility/Extensions/StringExtensions.swift",
"Private/Utility/Helpers/AnimationContext.swift",
"Private/Utility/Helpers/AnyEquatable.swift",
"Private/Utility/Helpers/Binding+Map.swift",
"Private/Utility/Helpers/View+ValueChanged.swift",
"Private/Utility/Interpolatable/InterpolatableExtensions.swift",
"Private/Utility/Interpolatable/KeyframeExtensions.swift",
"Private/Utility/Interpolatable/KeyframeInterpolator.swift",
"Private/Utility/LottieAnimationSource.swift",
"Private/Utility/Primitives/BezierPath.swift",
"Private/Utility/Primitives/BezierPathRoundExtension.swift",
"Private/Utility/Primitives/CGPointExtension.swift",
"Private/Utility/Primitives/ColorExtension.swift",
"Private/Utility/Primitives/CompoundBezierPath.swift",
"Private/Utility/Primitives/CurveVertex.swift",
"Private/Utility/Primitives/PathElement.swift",
"Private/Utility/Primitives/UnitBezier.swift",
"Private/Utility/Primitives/VectorsExtensions.swift",
"Public/Animation/LottieAnimation.swift",
"Public/Animation/LottieAnimationHelpers.swift",
"Public/Animation/LottieAnimationLayer.swift",
"Public/Animation/LottieAnimationView.swift",
"Public/Animation/LottieAnimationViewInitializers.swift",
"Public/Animation/LottiePlaybackMode.swift",
"Public/Animation/LottieView.swift",
"Public/AnimationCache/AnimationCacheProvider.swift",
"Public/AnimationCache/DefaultAnimationCache.swift",
"Public/AnimationCache/LRUAnimationCache.swift",
"Public/AnimationCache/LottieAnimationCache.swift",
"Public/Configuration/DecodingStrategy.swift",
"Public/Configuration/LottieConfiguration.swift",
"Public/Configuration/ReducedMotionOption.swift",
"Public/Configuration/RenderingEngineOption.swift",
"Public/Controls/AnimatedButton.swift",
"Public/Controls/AnimatedControl.swift",
"Public/Controls/AnimatedSwitch.swift",
"Public/Controls/LottieButton.swift",
"Public/Controls/LottieSwitch.swift",
"Public/Controls/LottieViewType.swift",
"Public/DotLottie/Cache/DotLottieCache.swift",
"Public/DotLottie/Cache/DotLottieCacheProvider.swift",
"Public/DotLottie/DotLottieConfiguration.swift",
"Public/DotLottie/DotLottieFile.swift",
"Public/DotLottie/DotLottieFileHelpers.swift",
"Public/DynamicProperties/AnimationKeypath.swift",
"Public/DynamicProperties/AnyValueProvider.swift",
"Public/DynamicProperties/ValueProviders/ColorValueProvider.swift",
"Public/DynamicProperties/ValueProviders/FloatValueProvider.swift",
"Public/DynamicProperties/ValueProviders/GradientValueProvider.swift",
"Public/DynamicProperties/ValueProviders/PointValueProvider.swift",
"Public/DynamicProperties/ValueProviders/SizeValueProvider.swift",
"Public/FontProvider/AnimationFontProvider.swift",
"Public/ImageProvider/AnimationImageProvider.swift",
"Public/Keyframes/Interpolatable.swift",
"Public/Keyframes/Keyframe.swift",
"Public/Logging/LottieLogger.swift",
"Public/Primitives/AnimationTime.swift",
"Public/Primitives/LottieColor.swift",
"Public/Primitives/Vectors.swift",
"Public/TextProvider/AnimationTextProvider.swift",
"Public/iOS/AnimationSubview.swift",
"Public/iOS/BundleImageProvider.swift",
"Public/iOS/Compatibility/CompatibleAnimationKeypath.swift",
"Public/iOS/Compatibility/CompatibleAnimationView.swift",
"Public/iOS/FilepathImageProvider.swift",
"Public/iOS/LottieAnimationViewBase.swift",
"Public/iOS/UIColorExtension.swift",
"Public/macOS/AnimationSubview.macOS.swift",
"Public/macOS/BundleImageProvider.macOS.swift",
"Public/macOS/FilepathImageProvider.macOS.swift",
"Public/macOS/LottieAnimationViewBase.macOS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.