The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DotLottie, reference main (d538dd), with Swift 6.1 for macOS (SPM) on 18 Aug 2026 00:25:05 UTC.

Swift 6 data race errors: 15

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LottieFiles/dotlottie-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LottieFiles/dotlottie-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d538dd9 OpenURL action enhancement (StateMachine) (#145)
Submodule path 'deps/dotlottie-rs': checked out '3bb9d23567ae79d5956c6fd54a740efe3afb50a4'
Submodule path 'deps/dotlottie-rs/dotlottie-rs/deps/thorvg': checked out '1902b3be04ff4883eadd7843d9125584637e45f1'
Submodule 'deps/dotlottie-rs' (https://github.com/Lottiefiles/dotlottie-rs) registered for path 'deps/dotlottie-rs'
Cloning into '/Users/admin/builder/spi-builder-workspace/deps/dotlottie-rs'...
Submodule 'dotlottie-rs/deps/thorvg' (https://github.com/thorvg/thorvg.git) registered for path 'deps/dotlottie-rs/dotlottie-rs/deps/thorvg'
Cloning into '/Users/admin/builder/spi-builder-workspace/deps/dotlottie-rs/dotlottie-rs/deps/thorvg'...
Cloned https://github.com/LottieFiles/dotlottie-ios.git
Revision (git rev-parse @):
d538dd98392d1090530d74946d0b4737452316ea
SUCCESS checkout https://github.com/LottieFiles/dotlottie-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LottieFiles/dotlottie-ios.git
https://github.com/LottieFiles/dotlottie-ios.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DotLottie",
  "name" : "DotLottie",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "DotLottie",
      "targets" : [
        "DotLottie",
        "DotLottiePlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DotLottiePlayer",
      "targets" : [
        "DotLottiePlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WgpuNative",
      "module_type" : "BinaryTarget",
      "name" : "WgpuNative",
      "path" : "Sources/DotLottieCore/WgpuNative.xcframework",
      "product_memberships" : [
        "DotLottie"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "DotLottieTests",
      "module_type" : "SwiftTarget",
      "name" : "DotLottieTests",
      "path" : "Tests/DotLottieTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/Flow.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/coffee.lottie",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/pigeon.lottie",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/sm-toggle.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/theming.lottie",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/toggle.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ConfigAndPropertiesTests.swift",
        "DotLottieTests.swift",
        "ExampleFixturesTests.swift",
        "FrameProgressTests.swift",
        "LottiePlayerUIViewTests.swift",
        "MemoryManagementTests.swift",
        "PlaybackTests.swift",
        "SegmentsMarkersThemesTests.swift",
        "StateMachineTests.swift",
        "TestSupport.swift",
        "UtilsTests.swift",
        "WebURLLoadingTests.swift"
      ],
      "target_dependencies" : [
        "DotLottie"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DotLottiePlayer",
      "module_type" : "BinaryTarget",
      "name" : "DotLottiePlayer",
      "path" : "Sources/DotLottieCore/DotLottiePlayer.xcframework",
      "product_memberships" : [
        "DotLottie",
        "DotLottiePlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "DotLottie",
      "module_type" : "SwiftTarget",
      "name" : "DotLottie",
      "path" : "Sources/DotLottie",
      "product_memberships" : [
        "DotLottie"
      ],
      "sources" : [
        "Public/Coordinator.swift",
        "Public/DotLottie.swift",
        "Public/DotLottieAnimation.swift",
        "Public/DotLottieAnimationView.swift",
        "Public/DotLottieObserver.swift",
        "Public/DotLottiePlayerBridge.swift",
        "Public/DotLottieView.swift",
        "Public/DotLottieWebGPUPlayerView.swift",
        "Public/DotLottieWebGPUView.swift",
        "Public/Errors.swift",
        "Public/GestureManager.swift",
        "Public/LottiePlayer.swift",
        "Public/LottiePlayerView.swift",
        "Public/Models/AnimationConfig.swift",
        "Public/Models/AnimationModel.swift",
        "Public/Player.swift",
        "Public/Utils/Utils.swift",
        "Public/ViewRepresentable.swift",
        "Public/WgpuContext.swift"
      ],
      "target_dependencies" : [
        "DotLottiePlayer",
        "WgpuNative"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BuildCustomFramework",
      "module_type" : "PluginTarget",
      "name" : "BuildCustomFramework",
      "path" : "Plugins/BuildCustomFramework",
      "plugin_capability" : {
        "intent" : {
          "description" : "Build DotLottiePlayer XCFramework with custom features",
          "type" : "custom",
          "verb" : "build-custom-framework"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Write custom-built XCFramework to Sources/DotLottieCore/Custom/",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "plugin.swift"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin BuildCustomFramework
Building for debugging...
[1/5] Write sources
[2/5] Copying DotLottiePlayer.framework
[3/5] Copying WgpuNative.framework
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/24] Compiling DotLottie GestureManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1032:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1024 |
1025 | #if os(macOS)
1026 | extension DotLottiePlayerUIView: GestureManagerDelegate {
     |                                  `- note: add '@preconcurrency' to the 'GestureManagerDelegate' conformance to defer isolation checking to run time
1027 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
1028 |         let mapped = mapCoordinatesToAnimation(location)
     :
1030 |     }
1031 |
1032 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeMove(_:at:)' to make this instance method not isolated to the actor
1033 |         let mapped = mapCoordinatesToAnimation(location)
1034 |         stateMachinePostEvent(.pointerMove(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:110:10: note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
108 |
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1037:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1035 |     }
1036 |
1037 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeDown(_:at:)' to make this instance method not isolated to the actor
1038 |         let mapped = mapCoordinatesToAnimation(location)
1039 |         stateMachinePostEvent(.pointerDown(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:111:10: note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1042:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1040 |     }
1041 |
1042 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeUp(_:at:)' to make this instance method not isolated to the actor
1043 |         let mapped = mapCoordinatesToAnimation(location)
1044 |         stateMachinePostEvent(.pointerUp(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:112:10: note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1027:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1025 | #if os(macOS)
1026 | extension DotLottiePlayerUIView: GestureManagerDelegate {
1027 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeTap(_:at:)' to make this instance method not isolated to the actor
1028 |         let mapped = mapCoordinatesToAnimation(location)
1029 |         stateMachinePostEvent(.click(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:113:10: note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1047:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1045 |     }
1046 |
1047 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeHover(_:at:)' to make this instance method not isolated to the actor
1048 |         let mapped = mapCoordinatesToAnimation(location)
1049 |         stateMachinePostEvent(.pointerEnter(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:114:10: note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1052:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1050 |     }
1051 |
1052 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeExitHover(_:at:)' to make this instance method not isolated to the actor
1053 |         let mapped = mapCoordinatesToAnimation(location)
1054 |         stateMachinePostEvent(.pointerExit(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:115:10: note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:965:9: warning: cannot access property 'cancellables' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
 963 |
 964 |     deinit {
 965 |         cancellables.removeAll()
     |         `- warning: cannot access property 'cancellables' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
 966 |     }
 967 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 2 | final public class AnyCancellable : Cancellable, Hashable {
   |                    `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
 3 |     public init(_ cancel: @escaping () -> Void)
 4 |     public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
  13 | import MetalKit
  14 | import CoreImage
  15 | import Combine
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
  16 |
  17 | public typealias PlatformView = NSView
[7/24] Compiling DotLottie LottiePlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1032:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1024 |
1025 | #if os(macOS)
1026 | extension DotLottiePlayerUIView: GestureManagerDelegate {
     |                                  `- note: add '@preconcurrency' to the 'GestureManagerDelegate' conformance to defer isolation checking to run time
1027 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
1028 |         let mapped = mapCoordinatesToAnimation(location)
     :
1030 |     }
1031 |
1032 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeMove(_:at:)' to make this instance method not isolated to the actor
1033 |         let mapped = mapCoordinatesToAnimation(location)
1034 |         stateMachinePostEvent(.pointerMove(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:110:10: note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
108 |
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1037:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1035 |     }
1036 |
1037 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeDown(_:at:)' to make this instance method not isolated to the actor
1038 |         let mapped = mapCoordinatesToAnimation(location)
1039 |         stateMachinePostEvent(.pointerDown(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:111:10: note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1042:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1040 |     }
1041 |
1042 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeUp(_:at:)' to make this instance method not isolated to the actor
1043 |         let mapped = mapCoordinatesToAnimation(location)
1044 |         stateMachinePostEvent(.pointerUp(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:112:10: note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1027:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1025 | #if os(macOS)
1026 | extension DotLottiePlayerUIView: GestureManagerDelegate {
1027 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeTap(_:at:)' to make this instance method not isolated to the actor
1028 |         let mapped = mapCoordinatesToAnimation(location)
1029 |         stateMachinePostEvent(.click(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:113:10: note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1047:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1045 |     }
1046 |
1047 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeHover(_:at:)' to make this instance method not isolated to the actor
1048 |         let mapped = mapCoordinatesToAnimation(location)
1049 |         stateMachinePostEvent(.pointerEnter(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:114:10: note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1052:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1050 |     }
1051 |
1052 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeExitHover(_:at:)' to make this instance method not isolated to the actor
1053 |         let mapped = mapCoordinatesToAnimation(location)
1054 |         stateMachinePostEvent(.pointerExit(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:115:10: note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:965:9: warning: cannot access property 'cancellables' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
 963 |
 964 |     deinit {
 965 |         cancellables.removeAll()
     |         `- warning: cannot access property 'cancellables' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
 966 |     }
 967 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 2 | final public class AnyCancellable : Cancellable, Hashable {
   |                    `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
 3 |     public init(_ cancel: @escaping () -> Void)
 4 |     public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
  13 | import MetalKit
  14 | import CoreImage
  15 | import Combine
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
  16 |
  17 | public typealias PlatformView = NSView
[8/25] Compiling DotLottie Utils.swift
[9/25] Compiling DotLottie ViewRepresentable.swift
[10/25] Compiling DotLottie AnimationModel.swift
[11/25] Compiling DotLottie Player.swift
[12/25] Compiling DotLottie LottiePlayerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayerView.swift:201:43: warning: non-sendable result type 'DotLottieAnimation?' cannot be sent from nonisolated context in call to let 'loadAnimation'; this is an error in the Swift 6 language mode
199 |         Task {
200 |             do {
201 |                 let animation = try await loadAnimation()
    |                                           `- warning: non-sendable result type 'DotLottieAnimation?' cannot be sent from nonisolated context in call to let 'loadAnimation'; this is an error in the Swift 6 language mode
202 |                 await MainActor.run {
203 |                     remoteAnimation = animation
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:19:20: note: class 'DotLottieAnimation' does not conform to the 'Sendable' protocol
 17 |
 18 | // MARK: DotLottieAnimation
 19 | public final class DotLottieAnimation: ObservableObject {
    |                    `- note: class 'DotLottieAnimation' does not conform to the 'Sendable' protocol
 20 |     @Published public var framerate: Int = 30
 21 |
[13/25] Compiling DotLottie AnimationConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayerView.swift:201:43: warning: non-sendable result type 'DotLottieAnimation?' cannot be sent from nonisolated context in call to let 'loadAnimation'; this is an error in the Swift 6 language mode
199 |         Task {
200 |             do {
201 |                 let animation = try await loadAnimation()
    |                                           `- warning: non-sendable result type 'DotLottieAnimation?' cannot be sent from nonisolated context in call to let 'loadAnimation'; this is an error in the Swift 6 language mode
202 |                 await MainActor.run {
203 |                     remoteAnimation = animation
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:19:20: note: class 'DotLottieAnimation' does not conform to the 'Sendable' protocol
 17 |
 18 | // MARK: DotLottieAnimation
 19 | public final class DotLottieAnimation: ObservableObject {
    |                    `- note: class 'DotLottieAnimation' does not conform to the 'Sendable' protocol
 20 |     @Published public var framerate: Int = 30
 21 |
[14/25] Compiling DotLottie DotLottieWebGPUView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:505:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
498 | // MARK: - GestureManagerDelegate
499 |
500 | extension DotLottieWebGPUView: GestureManagerDelegate {
    |                                `- note: add '@preconcurrency' to the 'GestureManagerDelegate' conformance to defer isolation checking to run time
501 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
502 |         postPointerEvent(Event.pointerDown, at: location)
503 |     }
504 |
505 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeMove(_:at:)' to make this instance method not isolated to the actor
506 |         postPointerEvent(Event.pointerMove, at: location)
507 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:110:10: note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
108 |
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:501:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
499 |
500 | extension DotLottieWebGPUView: GestureManagerDelegate {
501 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeDown(_:at:)' to make this instance method not isolated to the actor
502 |         postPointerEvent(Event.pointerDown, at: location)
503 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:111:10: note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:509:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
507 |     }
508 |
509 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeUp(_:at:)' to make this instance method not isolated to the actor
510 |         postPointerEvent(Event.pointerUp, at: location)
511 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:112:10: note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:513:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
511 |     }
512 |
513 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeTap(_:at:)' to make this instance method not isolated to the actor
514 |         postPointerEvent(Event.click, at: location)
515 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:113:10: note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:518:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
516 |
517 | #if os(macOS)
518 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeHover(_:at:)' to make this instance method not isolated to the actor
519 |         postPointerEvent(Event.pointerEnter, at: location)
520 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:114:10: note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:522:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
520 |     }
521 |
522 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeExitHover(_:at:)' to make this instance method not isolated to the actor
523 |         postPointerEvent(Event.pointerExit, at: location)
524 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:115:10: note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:479:9: warning: call to main actor-isolated instance method 'stopDisplayLink()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func stopDisplayLink() {
    |                  |- note: calls to instance method 'stopDisplayLink()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from inheritance from class 'NSView'
213 |         displayTimer?.cancel()
214 |         displayTimer = nil
    :
477 |
478 |     deinit {
479 |         stopDisplayLink()
    |         `- warning: call to main actor-isolated instance method 'stopDisplayLink()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
480 |         if let ctx = wgpuContext {
481 |             // Drain in-flight GPU work before releasing anything, so no pending
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:480:9: warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
478 |     deinit {
479 |         stopDisplayLink()
480 |         if let ctx = wgpuContext {
    |         `- warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
481 |             // Drain in-flight GPU work before releasing anything, so no pending
482 |             // Signal command buffer outlives the Staging buffers it references.
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/WgpuContext.swift:25:13: note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 23 |
 24 | /// Owns a WebGPU instance/adapter/device/queue/surface bound to a `CAMetalLayer`.
 25 | final class WgpuContext {
    |             `- note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 26 |
 27 |     private let instance: OpaquePointer
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:489:17: warning: cannot access property 'bridge' with a non-sendable type 'DotLottiePlayer' from nonisolated deinit; this is an error in the Swift 6 language mode
487 |             // use them after we've freed them. Passing nil triggers WgRenderer::release()
488 |             // which zeroes out mContext.queue — ThorVG's destructor then exits early.
489 |             _ = bridge.setWebGPUTarget(device: nil, instance: nil, target: nil, width: 0, height: 0)
    |                 `- warning: cannot access property 'bridge' with a non-sendable type 'DotLottiePlayer' from nonisolated deinit; this is an error in the Swift 6 language mode
490 |
491 |             // Releasing the context (WgpuContext.deinit) drains the GPU queue and
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottiePlayerBridge.swift:401:14: note: class 'DotLottiePlayer' does not conform to the 'Sendable' protocol
 399 | // MARK: - DotLottiePlayer
 400 |
 401 | public class DotLottiePlayer {
     |              `- note: class 'DotLottiePlayer' does not conform to the 'Sendable' protocol
 402 |     private var playerPtr: OpaquePointer?
 403 |     private var stateMachinePtr: OpaquePointer?
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:493:25: warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
491 |             // Releasing the context (WgpuContext.deinit) drains the GPU queue and
492 |             // releases the device and its internal staging buffers.
493 |             wgpuContext = nil
    |                         `- warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
494 |         }
495 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/WgpuContext.swift:25:13: note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 23 |
 24 | /// Owns a WebGPU instance/adapter/device/queue/surface bound to a `CAMetalLayer`.
 25 | final class WgpuContext {
    |             `- note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 26 |
 27 |     private let instance: OpaquePointer
[15/25] Compiling DotLottie Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:505:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
498 | // MARK: - GestureManagerDelegate
499 |
500 | extension DotLottieWebGPUView: GestureManagerDelegate {
    |                                `- note: add '@preconcurrency' to the 'GestureManagerDelegate' conformance to defer isolation checking to run time
501 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
502 |         postPointerEvent(Event.pointerDown, at: location)
503 |     }
504 |
505 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeMove(_:at:)' to make this instance method not isolated to the actor
506 |         postPointerEvent(Event.pointerMove, at: location)
507 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:110:10: note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
108 |
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:501:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
499 |
500 | extension DotLottieWebGPUView: GestureManagerDelegate {
501 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeDown(_:at:)' to make this instance method not isolated to the actor
502 |         postPointerEvent(Event.pointerDown, at: location)
503 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:111:10: note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:509:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
507 |     }
508 |
509 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeUp(_:at:)' to make this instance method not isolated to the actor
510 |         postPointerEvent(Event.pointerUp, at: location)
511 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:112:10: note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:513:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
511 |     }
512 |
513 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeTap(_:at:)' to make this instance method not isolated to the actor
514 |         postPointerEvent(Event.click, at: location)
515 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:113:10: note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:518:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
516 |
517 | #if os(macOS)
518 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeHover(_:at:)' to make this instance method not isolated to the actor
519 |         postPointerEvent(Event.pointerEnter, at: location)
520 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:114:10: note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:522:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
520 |     }
521 |
522 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeExitHover(_:at:)' to make this instance method not isolated to the actor
523 |         postPointerEvent(Event.pointerExit, at: location)
524 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:115:10: note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:479:9: warning: call to main actor-isolated instance method 'stopDisplayLink()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func stopDisplayLink() {
    |                  |- note: calls to instance method 'stopDisplayLink()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from inheritance from class 'NSView'
213 |         displayTimer?.cancel()
214 |         displayTimer = nil
    :
477 |
478 |     deinit {
479 |         stopDisplayLink()
    |         `- warning: call to main actor-isolated instance method 'stopDisplayLink()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
480 |         if let ctx = wgpuContext {
481 |             // Drain in-flight GPU work before releasing anything, so no pending
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:480:9: warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
478 |     deinit {
479 |         stopDisplayLink()
480 |         if let ctx = wgpuContext {
    |         `- warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
481 |             // Drain in-flight GPU work before releasing anything, so no pending
482 |             // Signal command buffer outlives the Staging buffers it references.
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/WgpuContext.swift:25:13: note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 23 |
 24 | /// Owns a WebGPU instance/adapter/device/queue/surface bound to a `CAMetalLayer`.
 25 | final class WgpuContext {
    |             `- note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 26 |
 27 |     private let instance: OpaquePointer
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:489:17: warning: cannot access property 'bridge' with a non-sendable type 'DotLottiePlayer' from nonisolated deinit; this is an error in the Swift 6 language mode
487 |             // use them after we've freed them. Passing nil triggers WgRenderer::release()
488 |             // which zeroes out mContext.queue — ThorVG's destructor then exits early.
489 |             _ = bridge.setWebGPUTarget(device: nil, instance: nil, target: nil, width: 0, height: 0)
    |                 `- warning: cannot access property 'bridge' with a non-sendable type 'DotLottiePlayer' from nonisolated deinit; this is an error in the Swift 6 language mode
490 |
491 |             // Releasing the context (WgpuContext.deinit) drains the GPU queue and
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottiePlayerBridge.swift:401:14: note: class 'DotLottiePlayer' does not conform to the 'Sendable' protocol
 399 | // MARK: - DotLottiePlayer
 400 |
 401 | public class DotLottiePlayer {
     |              `- note: class 'DotLottiePlayer' does not conform to the 'Sendable' protocol
 402 |     private var playerPtr: OpaquePointer?
 403 |     private var stateMachinePtr: OpaquePointer?
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:493:25: warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
491 |             // Releasing the context (WgpuContext.deinit) drains the GPU queue and
492 |             // releases the device and its internal staging buffers.
493 |             wgpuContext = nil
    |                         `- warning: cannot access property 'wgpuContext' with a non-sendable type 'WgpuContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
494 |         }
495 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/WgpuContext.swift:25:13: note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 23 |
 24 | /// Owns a WebGPU instance/adapter/device/queue/surface bound to a `CAMetalLayer`.
 25 | final class WgpuContext {
    |             `- note: class 'WgpuContext' does not conform to the 'Sendable' protocol
 26 |
 27 |     private let instance: OpaquePointer
[16/25] Compiling DotLottie DotLottieObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottiePlayerBridge.swift:1198:13: warning: capture of 'self' with non-sendable type 'DotLottiePlayer?' in a '@Sendable' closure
 399 | // MARK: - DotLottiePlayer
 400 |
 401 | public class DotLottiePlayer {
     |              `- note: class 'DotLottiePlayer' does not conform to the 'Sendable' protocol
 402 |     private var playerPtr: OpaquePointer?
 403 |     private var stateMachinePtr: OpaquePointer?
     :
1196 |     private func startEventPolling() {
1197 |         eventPollTimer = Timer.scheduledTimer(withTimeInterval: 0.016, repeats: true) { [weak self] _ in
1198 |             self?.pollEvents()
     |             `- warning: capture of 'self' with non-sendable type 'DotLottiePlayer?' in a '@Sendable' closure
1199 |         }
1200 |     }
[17/25] Compiling DotLottie DotLottiePlayerBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottiePlayerBridge.swift:1198:13: warning: capture of 'self' with non-sendable type 'DotLottiePlayer?' in a '@Sendable' closure
 399 | // MARK: - DotLottiePlayer
 400 |
 401 | public class DotLottiePlayer {
     |              `- note: class 'DotLottiePlayer' does not conform to the 'Sendable' protocol
 402 |     private var playerPtr: OpaquePointer?
 403 |     private var stateMachinePtr: OpaquePointer?
     :
1196 |     private func startEventPolling() {
1197 |         eventPollTimer = Timer.scheduledTimer(withTimeInterval: 0.016, repeats: true) { [weak self] _ in
1198 |             self?.pollEvents()
     |             `- warning: capture of 'self' with non-sendable type 'DotLottiePlayer?' in a '@Sendable' closure
1199 |         }
1200 |     }
[18/25] Compiling DotLottie DotLottieView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieView.swift:29:34: warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 14 |
 15 | // SwiftUI animation view
 16 | public struct DotLottieView: ViewRepresentable, DotLottie {
    |                                                 `- note: add '@preconcurrency' to the 'DotLottie' conformance to defer isolation checking to run time
 17 |     public typealias UIViewType = MTKView
 18 |
    :
 27 | #endif
 28 |
 29 |     @ObservedObject internal var dotLottieViewModel: DotLottieAnimation
    |                                  `- warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 30 |     @ObservedObject internal var playerState: Player
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottie.swift:11:9: note: requirement 'dotLottieViewModel' declared here
 9 |
10 | protocol DotLottie {
11 |     var dotLottieViewModel: DotLottieAnimation { get set }
   |         `- note: requirement 'dotLottieViewModel' declared here
12 | }
13 |
[19/25] Compiling DotLottie DotLottieWebGPUPlayerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieView.swift:29:34: warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 14 |
 15 | // SwiftUI animation view
 16 | public struct DotLottieView: ViewRepresentable, DotLottie {
    |                                                 `- note: add '@preconcurrency' to the 'DotLottie' conformance to defer isolation checking to run time
 17 |     public typealias UIViewType = MTKView
 18 |
    :
 27 | #endif
 28 |
 29 |     @ObservedObject internal var dotLottieViewModel: DotLottieAnimation
    |                                  `- warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 30 |     @ObservedObject internal var playerState: Player
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottie.swift:11:9: note: requirement 'dotLottieViewModel' declared here
 9 |
10 | protocol DotLottie {
11 |     var dotLottieViewModel: DotLottieAnimation { get set }
   |         `- note: requirement 'dotLottieViewModel' declared here
12 | }
13 |
[20/25] Compiling DotLottie Coordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:123:35: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 |
118 | #if os(macOS)
119 |     private func setupScreenChangeObserver() {
    |                  `- note: add '@MainActor' to make instance method 'setupScreenChangeObserver()' part of global actor 'MainActor'
120 |         // Keep the returned token so deinit can remove this block-based observer.
121 |         screenChangeObserver = NotificationCenter.default.addObserver(
122 |             forName: NSWindow.didChangeScreenNotification,
123 |             object: self.mtkView?.window,
    |                                   `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
124 |             queue: .main
125 |         ) { [weak self] notification in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:126:13: warning: capture of 'self' with non-sendable type 'Coordinator?' in a '@Sendable' closure
 86 |
 87 | // Unified Coordinator for all platforms
 88 | public class Coordinator: NSObject, MTKViewDelegate {
    |              `- note: class 'Coordinator' does not conform to the 'Sendable' protocol
 89 |     private let viewModel: DotLottieAnimation
 90 |     private var ciContext: CIContext!
    :
124 |             queue: .main
125 |         ) { [weak self] notification in
126 |             self?.dpr = self?.getMaxDPRScale() ?? 1.0
    |             `- warning: capture of 'self' with non-sendable type 'Coordinator?' in a '@Sendable' closure
127 |         }
128 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:133:21: warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | #endif
130 |
131 |     private func setupMetal(mtkView: MTKView) {
    |                  `- note: add '@MainActor' to make instance method 'setupMetal(mtkView:)' part of global actor 'MainActor'
132 |         if let metalDevice = MTLCreateSystemDefaultDevice() {
133 |             mtkView.device = metalDevice
    |                     `- warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
134 |             self.metalDevice = metalDevice
135 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h:52:56: note: mutation of this property is only permitted within the actor
 50 |  @discussion This must be explicitly set by the application unless it was passed into the initializer. Defaults to nil
 51 |   */
 52 | @property (nonatomic, retain, nullable) id <MTLDevice> device;
    |                                                        `- note: mutation of this property is only permitted within the actor
 53 |
 54 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:152:29: warning: main actor-isolated property 'gestureCoordinator' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 15 | // Custom MTKView that handles mouse events
 16 | class InteractiveMTKView: MTKView {
 17 |     weak var gestureCoordinator: Coordinator?
    |              `- note: mutation of this property is only permitted within the actor
 18 |
 19 |     override func mouseDown(with event: NSEvent) {
    :
142 |     // macOS gestures are managed here
143 |     // Other platforms have to self managed gestures
144 |     private func setupPlatformSpecificGestures(mtkView: MTKView) {
    |                  `- note: add '@MainActor' to make instance method 'setupPlatformSpecificGestures(mtkView:)' part of global actor 'MainActor'
145 | #if os(macOS)
146 |         // Initialize gesture manager for macOS
    :
150 |         // Set up mouse event handling if this is an InteractiveMTKView
151 |         if let interactiveView = mtkView as? InteractiveMTKView {
152 |             interactiveView.gestureCoordinator = self
    |                             `- warning: main actor-isolated property 'gestureCoordinator' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
153 |             interactiveView.updateTrackingAreas()
154 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:153:29: warning: call to main actor-isolated instance method 'updateTrackingAreas()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 53 |     }
 54 |
 55 |     override func updateTrackingAreas() {
    |                   |- note: calls to instance method 'updateTrackingAreas()' from outside of its actor context are implicitly asynchronous
    |                   `- note: main actor isolation inferred from inheritance from class 'MTKView'
 56 |         super.updateTrackingAreas()
 57 |
    :
142 |     // macOS gestures are managed here
143 |     // Other platforms have to self managed gestures
144 |     private func setupPlatformSpecificGestures(mtkView: MTKView) {
    |                  `- note: add '@MainActor' to make instance method 'setupPlatformSpecificGestures(mtkView:)' part of global actor 'MainActor'
145 | #if os(macOS)
146 |         // Initialize gesture manager for macOS
    :
151 |         if let interactiveView = mtkView as? InteractiveMTKView {
152 |             interactiveView.gestureCoordinator = self
153 |             interactiveView.updateTrackingAreas()
    |                             `- warning: call to main actor-isolated instance method 'updateTrackingAreas()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
154 |         }
155 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:282:37: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | #if os(macOS)
280 |     private func getMaxDPRScale() -> CGFloat {
    |                  `- note: add '@MainActor' to make instance method 'getMaxDPRScale()' part of global actor 'MainActor'
281 |         // Get the DPR of the screen where the window is currently displayed
282 |         guard let window = mtkView?.window,
    |                                     `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
283 |               let screen = window.screen else {
284 |             // Fallback to main screen if we can't find the window's screen
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:283:35: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | #if os(macOS)
280 |     private func getMaxDPRScale() -> CGFloat {
    |                  `- note: add '@MainActor' to make instance method 'getMaxDPRScale()' part of global actor 'MainActor'
281 |         // Get the DPR of the screen where the window is currently displayed
282 |         guard let window = mtkView?.window,
283 |               let screen = window.screen else {
    |                                   `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
284 |             // Fallback to main screen if we can't find the window's screen
285 |             let fallbackDpr = NSScreen.main?.backingScaleFactor ?? 1.0
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
[21/25] Compiling DotLottie DotLottie.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:123:35: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 |
118 | #if os(macOS)
119 |     private func setupScreenChangeObserver() {
    |                  `- note: add '@MainActor' to make instance method 'setupScreenChangeObserver()' part of global actor 'MainActor'
120 |         // Keep the returned token so deinit can remove this block-based observer.
121 |         screenChangeObserver = NotificationCenter.default.addObserver(
122 |             forName: NSWindow.didChangeScreenNotification,
123 |             object: self.mtkView?.window,
    |                                   `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
124 |             queue: .main
125 |         ) { [weak self] notification in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:126:13: warning: capture of 'self' with non-sendable type 'Coordinator?' in a '@Sendable' closure
 86 |
 87 | // Unified Coordinator for all platforms
 88 | public class Coordinator: NSObject, MTKViewDelegate {
    |              `- note: class 'Coordinator' does not conform to the 'Sendable' protocol
 89 |     private let viewModel: DotLottieAnimation
 90 |     private var ciContext: CIContext!
    :
124 |             queue: .main
125 |         ) { [weak self] notification in
126 |             self?.dpr = self?.getMaxDPRScale() ?? 1.0
    |             `- warning: capture of 'self' with non-sendable type 'Coordinator?' in a '@Sendable' closure
127 |         }
128 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:133:21: warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | #endif
130 |
131 |     private func setupMetal(mtkView: MTKView) {
    |                  `- note: add '@MainActor' to make instance method 'setupMetal(mtkView:)' part of global actor 'MainActor'
132 |         if let metalDevice = MTLCreateSystemDefaultDevice() {
133 |             mtkView.device = metalDevice
    |                     `- warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
134 |             self.metalDevice = metalDevice
135 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h:52:56: note: mutation of this property is only permitted within the actor
 50 |  @discussion This must be explicitly set by the application unless it was passed into the initializer. Defaults to nil
 51 |   */
 52 | @property (nonatomic, retain, nullable) id <MTLDevice> device;
    |                                                        `- note: mutation of this property is only permitted within the actor
 53 |
 54 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:152:29: warning: main actor-isolated property 'gestureCoordinator' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 15 | // Custom MTKView that handles mouse events
 16 | class InteractiveMTKView: MTKView {
 17 |     weak var gestureCoordinator: Coordinator?
    |              `- note: mutation of this property is only permitted within the actor
 18 |
 19 |     override func mouseDown(with event: NSEvent) {
    :
142 |     // macOS gestures are managed here
143 |     // Other platforms have to self managed gestures
144 |     private func setupPlatformSpecificGestures(mtkView: MTKView) {
    |                  `- note: add '@MainActor' to make instance method 'setupPlatformSpecificGestures(mtkView:)' part of global actor 'MainActor'
145 | #if os(macOS)
146 |         // Initialize gesture manager for macOS
    :
150 |         // Set up mouse event handling if this is an InteractiveMTKView
151 |         if let interactiveView = mtkView as? InteractiveMTKView {
152 |             interactiveView.gestureCoordinator = self
    |                             `- warning: main actor-isolated property 'gestureCoordinator' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
153 |             interactiveView.updateTrackingAreas()
154 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:153:29: warning: call to main actor-isolated instance method 'updateTrackingAreas()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 53 |     }
 54 |
 55 |     override func updateTrackingAreas() {
    |                   |- note: calls to instance method 'updateTrackingAreas()' from outside of its actor context are implicitly asynchronous
    |                   `- note: main actor isolation inferred from inheritance from class 'MTKView'
 56 |         super.updateTrackingAreas()
 57 |
    :
142 |     // macOS gestures are managed here
143 |     // Other platforms have to self managed gestures
144 |     private func setupPlatformSpecificGestures(mtkView: MTKView) {
    |                  `- note: add '@MainActor' to make instance method 'setupPlatformSpecificGestures(mtkView:)' part of global actor 'MainActor'
145 | #if os(macOS)
146 |         // Initialize gesture manager for macOS
    :
151 |         if let interactiveView = mtkView as? InteractiveMTKView {
152 |             interactiveView.gestureCoordinator = self
153 |             interactiveView.updateTrackingAreas()
    |                             `- warning: call to main actor-isolated instance method 'updateTrackingAreas()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
154 |         }
155 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:282:37: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | #if os(macOS)
280 |     private func getMaxDPRScale() -> CGFloat {
    |                  `- note: add '@MainActor' to make instance method 'getMaxDPRScale()' part of global actor 'MainActor'
281 |         // Get the DPR of the screen where the window is currently displayed
282 |         guard let window = mtkView?.window,
    |                                     `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
283 |               let screen = window.screen else {
284 |             // Fallback to main screen if we can't find the window's screen
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:283:35: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | #if os(macOS)
280 |     private func getMaxDPRScale() -> CGFloat {
    |                  `- note: add '@MainActor' to make instance method 'getMaxDPRScale()' part of global actor 'MainActor'
281 |         // Get the DPR of the screen where the window is currently displayed
282 |         guard let window = mtkView?.window,
283 |               let screen = window.screen else {
    |                                   `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
284 |             // Fallback to main screen if we can't find the window's screen
285 |             let fallbackDpr = NSScreen.main?.backingScaleFactor ?? 1.0
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
[22/25] Emitting module DotLottie
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimationView.swift:31:16: warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 24 |
 25 | // Platform animation view for UIKit/AppKit
 26 | public class DotLottieAnimationView: PlatformViewBase, DotLottie {
    |                                                        `- note: add '@preconcurrency' to the 'DotLottie' conformance to defer isolation checking to run time
 27 |     private var mtkView: MTKView!
 28 |     private var coordinator: Coordinator!
 29 |     private var cancellableBag = Set<AnyCancellable>()
 30 |
 31 |     public var dotLottieViewModel: DotLottieAnimation
    |                `- warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 32 |
 33 |     public init(dotLottieViewModel: DotLottieAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottie.swift:11:9: note: requirement 'dotLottieViewModel' declared here
 9 |
10 | protocol DotLottie {
11 |     var dotLottieViewModel: DotLottieAnimation { get set }
   |         `- note: requirement 'dotLottieViewModel' declared here
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieView.swift:29:34: warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 14 |
 15 | // SwiftUI animation view
 16 | public struct DotLottieView: ViewRepresentable, DotLottie {
    |                                                 `- note: add '@preconcurrency' to the 'DotLottie' conformance to defer isolation checking to run time
 17 |     public typealias UIViewType = MTKView
 18 |
    :
 27 | #endif
 28 |
 29 |     @ObservedObject internal var dotLottieViewModel: DotLottieAnimation
    |                                  `- warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 30 |     @ObservedObject internal var playerState: Player
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottie.swift:11:9: note: requirement 'dotLottieViewModel' declared here
 9 |
10 | protocol DotLottie {
11 |     var dotLottieViewModel: DotLottieAnimation { get set }
   |         `- note: requirement 'dotLottieViewModel' declared here
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:505:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
498 | // MARK: - GestureManagerDelegate
499 |
500 | extension DotLottieWebGPUView: GestureManagerDelegate {
    |                                `- note: add '@preconcurrency' to the 'GestureManagerDelegate' conformance to defer isolation checking to run time
501 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
502 |         postPointerEvent(Event.pointerDown, at: location)
503 |     }
504 |
505 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeMove(_:at:)' to make this instance method not isolated to the actor
506 |         postPointerEvent(Event.pointerMove, at: location)
507 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:110:10: note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
108 |
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:501:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
499 |
500 | extension DotLottieWebGPUView: GestureManagerDelegate {
501 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeDown(_:at:)' to make this instance method not isolated to the actor
502 |         postPointerEvent(Event.pointerDown, at: location)
503 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:111:10: note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:509:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
507 |     }
508 |
509 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeUp(_:at:)' to make this instance method not isolated to the actor
510 |         postPointerEvent(Event.pointerUp, at: location)
511 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:112:10: note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:513:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
511 |     }
512 |
513 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeTap(_:at:)' to make this instance method not isolated to the actor
514 |         postPointerEvent(Event.click, at: location)
515 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:113:10: note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:518:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
516 |
517 | #if os(macOS)
518 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeHover(_:at:)' to make this instance method not isolated to the actor
519 |         postPointerEvent(Event.pointerEnter, at: location)
520 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:114:10: note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieWebGPUView.swift:522:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
520 |     }
521 |
522 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint) {
    |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeExitHover(_:at:)' to make this instance method not isolated to the actor
523 |         postPointerEvent(Event.pointerExit, at: location)
524 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:115:10: note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1032:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1024 |
1025 | #if os(macOS)
1026 | extension DotLottiePlayerUIView: GestureManagerDelegate {
     |                                  `- note: add '@preconcurrency' to the 'GestureManagerDelegate' conformance to defer isolation checking to run time
1027 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
1028 |         let mapped = mapCoordinatesToAnimation(location)
     :
1030 |     }
1031 |
1032 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeMove(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeMove(_:at:)' to make this instance method not isolated to the actor
1033 |         let mapped = mapCoordinatesToAnimation(location)
1034 |         stateMachinePostEvent(.pointerMove(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:110:10: note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
108 |
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeMove(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1037:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1035 |     }
1036 |
1037 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeDown(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeDown(_:at:)' to make this instance method not isolated to the actor
1038 |         let mapped = mapCoordinatesToAnimation(location)
1039 |         stateMachinePostEvent(.pointerDown(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:111:10: note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
109 | protocol GestureManagerDelegate: AnyObject {
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeDown(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1042:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1040 |     }
1041 |
1042 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeUp(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeUp(_:at:)' to make this instance method not isolated to the actor
1043 |         let mapped = mapCoordinatesToAnimation(location)
1044 |         stateMachinePostEvent(.pointerUp(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:112:10: note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
110 |     func gestureManagerDidRecognizeMove(_ gestureManager: GestureManager, at location: CGPoint)
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeUp(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1027:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1025 | #if os(macOS)
1026 | extension DotLottiePlayerUIView: GestureManagerDelegate {
1027 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeTap(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeTap(_:at:)' to make this instance method not isolated to the actor
1028 |         let mapped = mapCoordinatesToAnimation(location)
1029 |         stateMachinePostEvent(.click(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:113:10: note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
111 |     func gestureManagerDidRecognizeDown(_ gestureManager: GestureManager, at location: CGPoint)
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeTap(_:at:)' 'async' to allow actor-isolated conformances
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1047:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1045 |     }
1046 |
1047 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeHover(_:at:)' to make this instance method not isolated to the actor
1048 |         let mapped = mapCoordinatesToAnimation(location)
1049 |         stateMachinePostEvent(.pointerEnter(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:114:10: note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
112 |     func gestureManagerDidRecognizeUp(_ gestureManager: GestureManager, at location: CGPoint)
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeHover(_:at:)' 'async' to allow actor-isolated conformances
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/LottiePlayer.swift:1052:10: warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
1050 |     }
1051 |
1052 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint) {
     |          |- warning: main actor-isolated instance method 'gestureManagerDidRecognizeExitHover(_:at:)' cannot be used to satisfy nonisolated requirement from protocol 'GestureManagerDelegate'; this is an error in the Swift 6 language mode
     |          `- note: add 'nonisolated' to 'gestureManagerDidRecognizeExitHover(_:at:)' to make this instance method not isolated to the actor
1053 |         let mapped = mapCoordinatesToAnimation(location)
1054 |         stateMachinePostEvent(.pointerExit(x: Float(mapped.x), y: Float(mapped.y)))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/GestureManager.swift:115:10: note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
113 |     func gestureManagerDidRecognizeTap(_ gestureManager: GestureManager, at location: CGPoint)
114 |     func gestureManagerDidRecognizeHover(_ gestureManager: GestureManager, at location: CGPoint)
115 |     func gestureManagerDidRecognizeExitHover(_ gestureManager: GestureManager, at location: CGPoint)
    |          `- note: mark the protocol requirement 'gestureManagerDidRecognizeExitHover(_:at:)' 'async' to allow actor-isolated conformances
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/WgpuContext.swift:208:13: warning: var 'wgpuPendingDeviceBox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
206 | /// Set immediately before `wgpuAdapterRequestDevice` and cleared right after,
207 | /// because wgpu-native v25 drops the callback's `userdata1`.
208 | private var wgpuPendingDeviceBox: DeviceBox?
    |             |- warning: var 'wgpuPendingDeviceBox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'wgpuPendingDeviceBox' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'wgpuPendingDeviceBox' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 |
210 | #endif
[23/25] Compiling DotLottie DotLottieAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:802:9: warning: call to main actor-isolated initializer 'init(dotLottie:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
799 |
800 |     // MARK: View creators
801 |     public func view() -> DotLottieView {
    |                 `- note: add '@MainActor' to make instance method 'view()' part of global actor 'MainActor'
802 |         DotLottieView(dotLottie: self)
    |         `- warning: call to main actor-isolated initializer 'init(dotLottie:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
803 |     }
804 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieView.swift:32:12: note: calls to initializer 'init(dotLottie:)' from outside of its actor context are implicitly asynchronous
 30 |     @ObservedObject internal var playerState: Player
 31 |
 32 |     public init(dotLottie: DotLottieAnimation) {
    |            |- note: calls to initializer 'init(dotLottie:)' from outside of its actor context are implicitly asynchronous
    |            `- note: main actor isolation inferred from conformance to protocol 'ViewRepresentable'
 33 |         self.dotLottieViewModel = dotLottie
 34 |         self.playerState = dotLottie.player
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimationView.swift:31:16: warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 24 |
 25 | // Platform animation view for UIKit/AppKit
 26 | public class DotLottieAnimationView: PlatformViewBase, DotLottie {
    |                                                        `- note: add '@preconcurrency' to the 'DotLottie' conformance to defer isolation checking to run time
 27 |     private var mtkView: MTKView!
 28 |     private var coordinator: Coordinator!
 29 |     private var cancellableBag = Set<AnyCancellable>()
 30 |
 31 |     public var dotLottieViewModel: DotLottieAnimation
    |                `- warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 32 |
 33 |     public init(dotLottieViewModel: DotLottieAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottie.swift:11:9: note: requirement 'dotLottieViewModel' declared here
 9 |
10 | protocol DotLottie {
11 |     var dotLottieViewModel: DotLottieAnimation { get set }
   |         `- note: requirement 'dotLottieViewModel' declared here
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:256:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
254 |             DispatchQueue.main.async {
255 |                 do {
256 |                     self.framerate = try getAnimationFramerate(animationData: animationData)
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
257 |                 } catch {
258 |                     self.framerate = 30
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:81:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |         })
 80 |         let urlString = webURL
 81 |         loadingTask = Task { [weak self] in
    |                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             let data: Data
 83 |             do {
    :
 85 |                 data = try await fetchFileFromURL(url: url)
 86 |             } catch {
 87 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
 88 |                     self?.animationModel.error = true
 89 |                     self?.animationModel.errorMessage = error.localizedDescription
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:97:27: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 95 |
 96 |             await MainActor.run { [weak self] in
 97 |                 guard let self else { return }
    |                           |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 98 |                 do {
 99 |                     if urlString.contains(".lottie") {
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:88:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 86 |             } catch {
 87 |                 await MainActor.run { [weak self] in
 88 |                     self?.animationModel.error = true
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 89 |                     self?.animationModel.errorMessage = error.localizedDescription
 90 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:173:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
171 |             Task { @MainActor in
172 |                 do {
173 |                     try await load(self)
    |                                    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
174 |                 } catch {
175 |                     print(errorMessage(error))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:802:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
800 |     // MARK: View creators
801 |     public func view() -> DotLottieView {
802 |         DotLottieView(dotLottie: self)
    |         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
803 |     }
804 |
[24/25] Compiling DotLottie DotLottieAnimationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:802:9: warning: call to main actor-isolated initializer 'init(dotLottie:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
799 |
800 |     // MARK: View creators
801 |     public func view() -> DotLottieView {
    |                 `- note: add '@MainActor' to make instance method 'view()' part of global actor 'MainActor'
802 |         DotLottieView(dotLottie: self)
    |         `- warning: call to main actor-isolated initializer 'init(dotLottie:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
803 |     }
804 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieView.swift:32:12: note: calls to initializer 'init(dotLottie:)' from outside of its actor context are implicitly asynchronous
 30 |     @ObservedObject internal var playerState: Player
 31 |
 32 |     public init(dotLottie: DotLottieAnimation) {
    |            |- note: calls to initializer 'init(dotLottie:)' from outside of its actor context are implicitly asynchronous
    |            `- note: main actor isolation inferred from conformance to protocol 'ViewRepresentable'
 33 |         self.dotLottieViewModel = dotLottie
 34 |         self.playerState = dotLottie.player
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimationView.swift:31:16: warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 24 |
 25 | // Platform animation view for UIKit/AppKit
 26 | public class DotLottieAnimationView: PlatformViewBase, DotLottie {
    |                                                        `- note: add '@preconcurrency' to the 'DotLottie' conformance to defer isolation checking to run time
 27 |     private var mtkView: MTKView!
 28 |     private var coordinator: Coordinator!
 29 |     private var cancellableBag = Set<AnyCancellable>()
 30 |
 31 |     public var dotLottieViewModel: DotLottieAnimation
    |                `- warning: main actor-isolated property 'dotLottieViewModel' cannot be used to satisfy nonisolated requirement from protocol 'DotLottie'; this is an error in the Swift 6 language mode
 32 |
 33 |     public init(dotLottieViewModel: DotLottieAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottie.swift:11:9: note: requirement 'dotLottieViewModel' declared here
 9 |
10 | protocol DotLottie {
11 |     var dotLottieViewModel: DotLottieAnimation { get set }
   |         `- note: requirement 'dotLottieViewModel' declared here
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:256:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
254 |             DispatchQueue.main.async {
255 |                 do {
256 |                     self.framerate = try getAnimationFramerate(animationData: animationData)
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
257 |                 } catch {
258 |                     self.framerate = 30
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:81:28: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |         })
 80 |         let urlString = webURL
 81 |         loadingTask = Task { [weak self] in
    |                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             let data: Data
 83 |             do {
    :
 85 |                 data = try await fetchFileFromURL(url: url)
 86 |             } catch {
 87 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
 88 |                     self?.animationModel.error = true
 89 |                     self?.animationModel.errorMessage = error.localizedDescription
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:97:27: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 95 |
 96 |             await MainActor.run { [weak self] in
 97 |                 guard let self else { return }
    |                           |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 98 |                 do {
 99 |                     if urlString.contains(".lottie") {
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:88:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 86 |             } catch {
 87 |                 await MainActor.run { [weak self] in
 88 |                     self?.animationModel.error = true
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 89 |                     self?.animationModel.errorMessage = error.localizedDescription
 90 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:173:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
171 |             Task { @MainActor in
172 |                 do {
173 |                     try await load(self)
    |                                    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
174 |                 } catch {
175 |                     print(errorMessage(error))
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/DotLottieAnimation.swift:802:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
800 |     // MARK: View creators
801 |     public func view() -> DotLottieView {
802 |         DotLottieView(dotLottie: self)
    |         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
803 |     }
804 |
[25/25] Compiling DotLottie WgpuContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/DotLottie/Public/WgpuContext.swift:208:13: warning: var 'wgpuPendingDeviceBox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
206 | /// Set immediately before `wgpuAdapterRequestDevice` and cleared right after,
207 | /// because wgpu-native v25 drops the callback's `userdata1`.
208 | private var wgpuPendingDeviceBox: DeviceBox?
    |             |- warning: var 'wgpuPendingDeviceBox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'wgpuPendingDeviceBox' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'wgpuPendingDeviceBox' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 |
210 | #endif
Build complete! (10.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DotLottie",
  "name" : "DotLottie",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "DotLottie",
      "targets" : [
        "DotLottie",
        "DotLottiePlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DotLottiePlayer",
      "targets" : [
        "DotLottiePlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WgpuNative",
      "module_type" : "BinaryTarget",
      "name" : "WgpuNative",
      "path" : "Sources/DotLottieCore/WgpuNative.xcframework",
      "product_memberships" : [
        "DotLottie"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "DotLottieTests",
      "module_type" : "SwiftTarget",
      "name" : "DotLottieTests",
      "path" : "Tests/DotLottieTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/Flow.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/coffee.lottie",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/pigeon.lottie",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/sm-toggle.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/theming.lottie",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DotLottieTests/Fixtures/toggle.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ConfigAndPropertiesTests.swift",
        "DotLottieTests.swift",
        "ExampleFixturesTests.swift",
        "FrameProgressTests.swift",
        "LottiePlayerUIViewTests.swift",
        "MemoryManagementTests.swift",
        "PlaybackTests.swift",
        "SegmentsMarkersThemesTests.swift",
        "StateMachineTests.swift",
        "TestSupport.swift",
        "UtilsTests.swift",
        "WebURLLoadingTests.swift"
      ],
      "target_dependencies" : [
        "DotLottie"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DotLottiePlayer",
      "module_type" : "BinaryTarget",
      "name" : "DotLottiePlayer",
      "path" : "Sources/DotLottieCore/DotLottiePlayer.xcframework",
      "product_memberships" : [
        "DotLottie",
        "DotLottiePlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "DotLottie",
      "module_type" : "SwiftTarget",
      "name" : "DotLottie",
      "path" : "Sources/DotLottie",
      "product_memberships" : [
        "DotLottie"
      ],
      "sources" : [
        "Public/Coordinator.swift",
        "Public/DotLottie.swift",
        "Public/DotLottieAnimation.swift",
        "Public/DotLottieAnimationView.swift",
        "Public/DotLottieObserver.swift",
        "Public/DotLottiePlayerBridge.swift",
        "Public/DotLottieView.swift",
        "Public/DotLottieWebGPUPlayerView.swift",
        "Public/DotLottieWebGPUView.swift",
        "Public/Errors.swift",
        "Public/GestureManager.swift",
        "Public/LottiePlayer.swift",
        "Public/LottiePlayerView.swift",
        "Public/Models/AnimationConfig.swift",
        "Public/Models/AnimationModel.swift",
        "Public/Player.swift",
        "Public/Utils/Utils.swift",
        "Public/ViewRepresentable.swift",
        "Public/WgpuContext.swift"
      ],
      "target_dependencies" : [
        "DotLottiePlayer",
        "WgpuNative"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BuildCustomFramework",
      "module_type" : "PluginTarget",
      "name" : "BuildCustomFramework",
      "path" : "Plugins/BuildCustomFramework",
      "plugin_capability" : {
        "intent" : {
          "description" : "Build DotLottiePlayer XCFramework with custom features",
          "type" : "custom",
          "verb" : "build-custom-framework"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Write custom-built XCFramework to Sources/DotLottieCore/Custom/",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "plugin.swift"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.7"
}
Done.