The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of KSPlayer, reference main (9613f7), with Swift 6.1 for iOS using Xcode 16.3 on 26 Apr 2025 11:31:41 UTC.

Swift 6 data race errors: 137

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme KSPlayer -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures

Build Log

    public private(set) var pixelBuffer: PixelBufferProtocol?
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:22:9: note: requirement 'pixelBuffer' declared here
    var pixelBuffer: PixelBufferProtocol? { get }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:73:12: warning: main actor-isolated initializer 'init(options:)' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public init(options: KSOptions) {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:73:12: note: add 'nonisolated' to 'init(options:)' to make this initializer not isolated to the actor
    public init(options: KSOptions) {
           ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:23:5: note: mark the protocol requirement 'init(options:)' 'async' to allow actor-isolated conformances
    init(options: KSOptions)
    ^
                             async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:153:17: warning: main actor-isolated instance method 'invalidate()' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public func invalidate() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:153:17: note: add 'nonisolated' to 'invalidate()' to make this instance method not isolated to the actor
    public func invalidate() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:24:10: note: mark the protocol requirement 'invalidate()' 'async' to allow actor-isolated conformances
    func invalidate()
         ^
                      async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:157:17: warning: main actor-isolated instance method 'readNextFrame()' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public func readNextFrame() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:157:17: note: add 'nonisolated' to 'readNextFrame()' to make this instance method not isolated to the actor
    public func readNextFrame() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:25:10: note: mark the protocol requirement 'readNextFrame()' 'async' to allow actor-isolated conformances
    func readNextFrame()
         ^
                         async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:63:21: warning: main actor-isolated property 'renderSource' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public weak var renderSource: OutputRenderSourceDelegate?
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:67:9: note: requirement 'renderSource' declared here
    var renderSource: OutputRenderSourceDelegate? { get set }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:90:17: warning: main actor-isolated instance method 'pause()' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public func pause() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:90:17: note: add 'nonisolated' to 'pause()' to make this instance method not isolated to the actor
    public func pause() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:68:10: note: mark the protocol requirement 'pause()' 'async' to allow actor-isolated conformances
    func pause()
         ^
                 async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:144:17: warning: main actor-isolated instance method 'flush()' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public func flush() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:144:17: note: add 'nonisolated' to 'flush()' to make this instance method not isolated to the actor
    public func flush() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:69:10: note: mark the protocol requirement 'flush()' 'async' to allow actor-isolated conformances
    func flush()
         ^
                 async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:86:17: warning: main actor-isolated instance method 'play()' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public func play() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:86:17: note: add 'nonisolated' to 'play()' to make this instance method not isolated to the actor
    public func play() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:70:10: note: mark the protocol requirement 'play()' 'async' to allow actor-isolated conformances
    func play()
         ^
                async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:82:16: warning: static property 'enableSensor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableSensor = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:82:16: note: convert 'enableSensor' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableSensor = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:82:16: note: add '@MainActor' to make static property 'enableSensor' part of global actor 'MainActor'
    static var enableSensor = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:82:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableSensor = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:83:16: warning: static property 'stackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var stackSize = 65536
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:83:16: note: convert 'stackSize' to a 'let' constant to make 'Sendable' shared state immutable
    static var stackSize = 65536
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:83:16: note: add '@MainActor' to make static property 'stackSize' part of global actor 'MainActor'
    static var stackSize = 65536
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:83:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var stackSize = 65536
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:84:16: warning: static property 'isClearVideoWhereReplace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isClearVideoWhereReplace = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:84:16: note: convert 'isClearVideoWhereReplace' to a 'let' constant to make 'Sendable' shared state immutable
    static var isClearVideoWhereReplace = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:84:16: note: add '@MainActor' to make static property 'isClearVideoWhereReplace' part of global actor 'MainActor'
    static var isClearVideoWhereReplace = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:84:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isClearVideoWhereReplace = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: convert 'audioPlayerType' to a 'let' constant to make 'Sendable' shared state immutable
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: add '@MainActor' to make static property 'audioPlayerType' part of global actor 'MainActor'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:86:16: warning: static property 'videoPlayerType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var videoPlayerType: (VideoOutput & UIView).Type = MetalPlayView.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:86:16: note: convert 'videoPlayerType' to a 'let' constant to make 'Sendable' shared state immutable
    static var videoPlayerType: (VideoOutput & UIView).Type = MetalPlayView.self
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:86:16: note: add '@MainActor' to make static property 'videoPlayerType' part of global actor 'MainActor'
    static var videoPlayerType: (VideoOutput & UIView).Type = MetalPlayView.self
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:86:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var videoPlayerType: (VideoOutput & UIView).Type = MetalPlayView.self
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:87:16: warning: static property 'yadifMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var yadifMode = 1
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:87:16: note: convert 'yadifMode' to a 'let' constant to make 'Sendable' shared state immutable
    static var yadifMode = 1
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:87:16: note: add '@MainActor' to make static property 'yadifMode' part of global actor 'MainActor'
    static var yadifMode = 1
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:87:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var yadifMode = 1
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:88:16: warning: static property 'deInterlaceAddIdet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var deInterlaceAddIdet = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:88:16: note: convert 'deInterlaceAddIdet' to a 'let' constant to make 'Sendable' shared state immutable
    static var deInterlaceAddIdet = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:88:16: note: add '@MainActor' to make static property 'deInterlaceAddIdet' part of global actor 'MainActor'
    static var deInterlaceAddIdet = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:88:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var deInterlaceAddIdet = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:178:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timebase' may have shared mutable state; this is an error in the Swift 6 language mode
    static let defaultValue = Timebase(num: 1, den: 1)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:177:15: note: consider making struct 'Timebase' conform to the 'Sendable' protocol
public struct Timebase {
              ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:178:16: note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    static let defaultValue = Timebase(num: 1, den: 1)
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:178:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static let defaultValue = Timebase(num: 1, den: 1)
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state; this is an error in the Swift 6 language mode
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:379:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
@protocol MTLDevice <NSObject>
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
import Metal
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    static let device = MTLCreateSystemDefaultDevice()!
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static let device = MTLCreateSystemDefaultDevice()!
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
    static let library: MTLLibrary = {
               ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
@protocol MTLLibrary <NSObject>
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
    static let library: MTLLibrary = {
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static let library: MTLLibrary = {
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:881:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:881:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:885:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:885:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: warning: static property 'subtitleParses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: convert 'subtitleParses' to a 'let' constant to make 'Sendable' shared state immutable
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: add '@MainActor' to make static property 'subtitleParses' part of global actor 'MainActor'
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: convert 'textColor' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textColor: Color = .white
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: add '@MainActor' to make static property 'textColor' part of global actor 'MainActor'
    public static var textColor: Color = .white
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textColor: Color = .white
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: convert 'textBackgroundColor' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textBackgroundColor: Color = .clear
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: add '@MainActor' to make static property 'textBackgroundColor' part of global actor 'MainActor'
    public static var textBackgroundColor: Color = .clear
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textBackgroundColor: Color = .clear
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: warning: static property 'textFontSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: convert 'textFontSize' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: add '@MainActor' to make static property 'textFontSize' part of global actor 'MainActor'
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: warning: static property 'textBold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textBold = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: convert 'textBold' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textBold = false
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: add '@MainActor' to make static property 'textBold' part of global actor 'MainActor'
    public static var textBold = false
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textBold = false
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: warning: static property 'textItalic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: convert 'textItalic' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textItalic = false
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: add '@MainActor' to make static property 'textItalic' part of global actor 'MainActor'
    public static var textItalic = false
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textItalic = false
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: warning: static property 'textPosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: convert 'textPosition' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textPosition = TextPosition()
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: add '@MainActor' to make static property 'textPosition' part of global actor 'MainActor'
    public static var textPosition = TextPosition()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textPosition = TextPosition()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: warning: static property 'audioRecognizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: convert 'audioRecognizes' to a 'let' constant to make 'Sendable' shared state immutable
    public static var audioRecognizes = [any AudioRecognize]()
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: add '@MainActor' to make static property 'audioRecognizes' part of global actor 'MainActor'
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: warning: static property 'subtitleDataSouces' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: convert 'subtitleDataSouces' to a 'let' constant to make 'Sendable' shared state immutable
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: add '@MainActor' to make static property 'subtitleDataSouces' part of global actor 'MainActor'
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'PlistCacheSubtitleDataSouce' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:131:17: warning: main actor-isolated instance method 'setProgress(_:type:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    public func setProgress(_ progress: Float, type: UInt) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:131:17: note: add 'nonisolated' to 'setProgress(_:type:)' to make this instance method not isolated to the actor
    public func setProgress(_ progress: Float, type: UInt) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:130:23: note: add '@preconcurrency' to the 'BrightnessVolumeViewProtocol' conformance to defer isolation checking to run time
extension SystemView: BrightnessVolumeViewProtocol {
                      ^
                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:66:10: note: mark the protocol requirement 'setProgress(_:type:)' 'async' to allow actor-isolated conformances
    func setProgress(_ progress: Float, type: UInt)
         ^
                                                    async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:150:17: warning: main actor-isolated instance method 'move(to:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    public func move(to view: UIView) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:150:17: note: add 'nonisolated' to 'move(to:)' to make this instance method not isolated to the actor
    public func move(to view: UIView) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:67:10: note: mark the protocol requirement 'move(to:)' 'async' to allow actor-isolated conformances
    func move(to view: UIView)
         ^
                               async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:200:10: warning: main actor-isolated instance method 'setProgress(_:type:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    func setProgress(_ progress: Float, type: UInt) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:200:10: note: add 'nonisolated' to 'setProgress(_:type:)' to make this instance method not isolated to the actor
    func setProgress(_ progress: Float, type: UInt) {
         ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:199:25: note: add '@preconcurrency' to the 'BrightnessVolumeViewProtocol' conformance to defer isolation checking to run time
extension ProgressView: BrightnessVolumeViewProtocol {
                        ^
                        @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:66:10: note: mark the protocol requirement 'setProgress(_:type:)' 'async' to allow actor-isolated conformances
    func setProgress(_ progress: Float, type: UInt)
         ^
                                                    async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:209:10: warning: main actor-isolated instance method 'move(to:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    func move(to view: UIView) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:209:10: note: add 'nonisolated' to 'move(to:)' to make this instance method not isolated to the actor
    func move(to view: UIView) {
         ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:67:10: note: mark the protocol requirement 'move(to:)' 'async' to allow actor-isolated conformances
    func move(to view: UIView)
         ^
                               async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: warning: static property 'supportedInterfaceOrientations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: convert 'supportedInterfaceOrientations' to a 'let' constant to make 'Sendable' shared state immutable
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: add '@MainActor' to make static property 'supportedInterfaceOrientations' part of global actor 'MainActor'
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:61:10: warning: main actor-isolated instance method 'player(isMaskShow:isFullScreen:)' cannot be used to satisfy nonisolated requirement from protocol 'PlayerViewFullScreenDelegate'; this is an error in the Swift 6 language mode
    func player(isMaskShow: Bool, isFullScreen: Bool) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:61:10: note: add 'nonisolated' to 'player(isMaskShow:isFullScreen:)' to make this instance method not isolated to the actor
    func player(isMaskShow: Bool, isFullScreen: Bool) {
         ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:60:43: note: add '@preconcurrency' to the 'PlayerViewFullScreenDelegate' conformance to defer isolation checking to run time
extension PlayerFullScreenViewController: PlayerViewFullScreenDelegate {
                                          ^
                                          @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:12:10: note: mark the protocol requirement 'player(isMaskShow:isFullScreen:)' 'async' to allow actor-isolated conformances
    func player(isMaskShow: Bool, isFullScreen: Bool)
         ^
                                                      async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated requirement from protocol 'SeekViewProtocol'; this is an error in the Swift 6 language mode
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:66:21: note: add '@preconcurrency' to the 'SeekViewProtocol' conformance to defer isolation checking to run time
extension SeekView: SeekViewProtocol {
                    ^
                    @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
UIKit.UIActivityIndicatorView.startAnimating:2:22: warning: main actor-isolated instance method 'startAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: add 'nonisolated' to 'startAnimating()' to make this instance method not isolated to the actor
@MainActor open func startAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:29:36: note: add '@preconcurrency' to the 'LoadingIndector' conformance to defer isolation checking to run time
extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:24:10: note: mark the protocol requirement 'startAnimating()' 'async' to allow actor-isolated conformances
    func startAnimating()
         ^
                          async
UIKit.UIActivityIndicatorView.stopAnimating:2:22: warning: main actor-isolated instance method 'stopAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func stopAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: add 'nonisolated' to 'stopAnimating()' to make this instance method not isolated to the actor
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:25:10: note: mark the protocol requirement 'stopAnimating()' 'async' to allow actor-isolated conformances
    func stopAnimating()
         ^
                         async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: convert 'topBarShowInCase' to a 'let' constant to make 'Sendable' shared state immutable
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: add '@MainActor' to make static property 'topBarShowInCase' part of global actor 'MainActor'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: convert 'animateDelayTimeInterval' to a 'let' constant to make 'Sendable' shared state immutable
    static var animateDelayTimeInterval = TimeInterval(5)
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: add '@MainActor' to make static property 'animateDelayTimeInterval' part of global actor 'MainActor'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: convert 'enableBrightnessGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableBrightnessGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: add '@MainActor' to make static property 'enableBrightnessGestures' part of global actor 'MainActor'
    static var enableBrightnessGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableBrightnessGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: convert 'enableVolumeGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableVolumeGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: add '@MainActor' to make static property 'enableVolumeGestures' part of global actor 'MainActor'
    static var enableVolumeGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableVolumeGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: convert 'enablePlaytimeGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enablePlaytimeGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: add '@MainActor' to make static property 'enablePlaytimeGestures' part of global actor 'MainActor'
    static var enablePlaytimeGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enablePlaytimeGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: convert 'canBackgroundPlay' to a 'let' constant to make 'Sendable' shared state immutable
    static var canBackgroundPlay = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: add '@MainActor' to make static property 'canBackgroundPlay' part of global actor 'MainActor'
    static var canBackgroundPlay = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var canBackgroundPlay = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:84:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                        guard let self else { return }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:84:35: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                        guard let self else { return }
                                  ^~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:85:25: warning: sending 'pipController' risks causing data races; this is an error in the Swift 6 language mode
                        pipController.start(view: self)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:85:25: note: task-isolated 'pipController' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                        pipController.start(view: self)
                        ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                self?.parts = []
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                self?.parts = []
                ^~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:23:22: 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
                Task {
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:24:32: note: closure captures 'self' which is accessible to code in the current task
                    try? await parse(url: downloadURL, userAgent: userAgent)
                               ^
SwiftCompile normal arm64 Compiling\ MacVideoPlayerView.swift,\ PlayerFullScreenViewController.swift,\ PlayerTransitionAnimator.swift,\ SeekView.swift,\ VideoPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/MacVideoPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerTransitionAnimator.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/MacVideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

UIKit.UIActivityIndicatorView.startAnimating:2:22: warning: main actor-isolated instance method 'startAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: add 'nonisolated' to 'startAnimating()' to make this instance method not isolated to the actor
@MainActor open func startAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:29:36: note: add '@preconcurrency' to the 'LoadingIndector' conformance to defer isolation checking to run time
extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:24:10: note: mark the protocol requirement 'startAnimating()' 'async' to allow actor-isolated conformances
    func startAnimating()
         ^
                          async
UIKit.UIActivityIndicatorView.stopAnimating:2:22: warning: main actor-isolated instance method 'stopAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func stopAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: add 'nonisolated' to 'stopAnimating()' to make this instance method not isolated to the actor
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:25:10: note: mark the protocol requirement 'stopAnimating()' 'async' to allow actor-isolated conformances
    func stopAnimating()
         ^
                         async
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:61:10: warning: main actor-isolated instance method 'player(isMaskShow:isFullScreen:)' cannot be used to satisfy nonisolated requirement from protocol 'PlayerViewFullScreenDelegate'; this is an error in the Swift 6 language mode
    func player(isMaskShow: Bool, isFullScreen: Bool) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:61:10: note: add 'nonisolated' to 'player(isMaskShow:isFullScreen:)' to make this instance method not isolated to the actor
    func player(isMaskShow: Bool, isFullScreen: Bool) {
         ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:60:43: note: add '@preconcurrency' to the 'PlayerViewFullScreenDelegate' conformance to defer isolation checking to run time
extension PlayerFullScreenViewController: PlayerViewFullScreenDelegate {
                                          ^
                                          @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerFullScreenViewController.swift:12:10: note: mark the protocol requirement 'player(isMaskShow:isFullScreen:)' 'async' to allow actor-isolated conformances
    func player(isMaskShow: Bool, isFullScreen: Bool)
         ^
                                                      async
UIKit.UIActivityIndicatorView.startAnimating:2:22: warning: main actor-isolated instance method 'startAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: add 'nonisolated' to 'startAnimating()' to make this instance method not isolated to the actor
@MainActor open func startAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:29:36: note: add '@preconcurrency' to the 'LoadingIndector' conformance to defer isolation checking to run time
extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:24:10: note: mark the protocol requirement 'startAnimating()' 'async' to allow actor-isolated conformances
    func startAnimating()
         ^
                          async
UIKit.UIActivityIndicatorView.stopAnimating:2:22: warning: main actor-isolated instance method 'stopAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func stopAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: add 'nonisolated' to 'stopAnimating()' to make this instance method not isolated to the actor
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:25:10: note: mark the protocol requirement 'stopAnimating()' 'async' to allow actor-isolated conformances
    func stopAnimating()
         ^
                         async
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/PlayerTransitionAnimator.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

UIKit.UIActivityIndicatorView.startAnimating:2:22: warning: main actor-isolated instance method 'startAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: add 'nonisolated' to 'startAnimating()' to make this instance method not isolated to the actor
@MainActor open func startAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:29:36: note: add '@preconcurrency' to the 'LoadingIndector' conformance to defer isolation checking to run time
extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:24:10: note: mark the protocol requirement 'startAnimating()' 'async' to allow actor-isolated conformances
    func startAnimating()
         ^
                          async
UIKit.UIActivityIndicatorView.stopAnimating:2:22: warning: main actor-isolated instance method 'stopAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func stopAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: add 'nonisolated' to 'stopAnimating()' to make this instance method not isolated to the actor
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:25:10: note: mark the protocol requirement 'stopAnimating()' 'async' to allow actor-isolated conformances
    func stopAnimating()
         ^
                         async
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated requirement from protocol 'SeekViewProtocol'; this is an error in the Swift 6 language mode
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:66:21: note: add '@preconcurrency' to the 'SeekViewProtocol' conformance to defer isolation checking to run time
extension SeekView: SeekViewProtocol {
                    ^
                    @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
UIKit.UIActivityIndicatorView.startAnimating:2:22: warning: main actor-isolated instance method 'startAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: add 'nonisolated' to 'startAnimating()' to make this instance method not isolated to the actor
@MainActor open func startAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:29:36: note: add '@preconcurrency' to the 'LoadingIndector' conformance to defer isolation checking to run time
extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:24:10: note: mark the protocol requirement 'startAnimating()' 'async' to allow actor-isolated conformances
    func startAnimating()
         ^
                          async
UIKit.UIActivityIndicatorView.stopAnimating:2:22: warning: main actor-isolated instance method 'stopAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func stopAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: add 'nonisolated' to 'stopAnimating()' to make this instance method not isolated to the actor
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:25:10: note: mark the protocol requirement 'stopAnimating()' 'async' to allow actor-isolated conformances
    func stopAnimating()
         ^
                         async
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

UIKit.UIActivityIndicatorView.startAnimating:2:22: warning: main actor-isolated instance method 'startAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: add 'nonisolated' to 'startAnimating()' to make this instance method not isolated to the actor
@MainActor open func startAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:29:36: note: add '@preconcurrency' to the 'LoadingIndector' conformance to defer isolation checking to run time
extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:24:10: note: mark the protocol requirement 'startAnimating()' 'async' to allow actor-isolated conformances
    func startAnimating()
         ^
                          async
UIKit.UIActivityIndicatorView.stopAnimating:2:22: warning: main actor-isolated instance method 'stopAnimating()' cannot be used to satisfy nonisolated requirement from protocol 'LoadingIndector'; this is an error in the Swift 6 language mode
@MainActor open func stopAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: add 'nonisolated' to 'stopAnimating()' to make this instance method not isolated to the actor
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:25:10: note: mark the protocol requirement 'stopAnimating()' 'async' to allow actor-isolated conformances
    func stopAnimating()
         ^
                         async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: convert 'topBarShowInCase' to a 'let' constant to make 'Sendable' shared state immutable
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: add '@MainActor' to make static property 'topBarShowInCase' part of global actor 'MainActor'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: convert 'animateDelayTimeInterval' to a 'let' constant to make 'Sendable' shared state immutable
    static var animateDelayTimeInterval = TimeInterval(5)
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: add '@MainActor' to make static property 'animateDelayTimeInterval' part of global actor 'MainActor'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: convert 'enableBrightnessGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableBrightnessGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: add '@MainActor' to make static property 'enableBrightnessGestures' part of global actor 'MainActor'
    static var enableBrightnessGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableBrightnessGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: convert 'enableVolumeGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableVolumeGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: add '@MainActor' to make static property 'enableVolumeGestures' part of global actor 'MainActor'
    static var enableVolumeGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableVolumeGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: convert 'enablePlaytimeGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enablePlaytimeGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: add '@MainActor' to make static property 'enablePlaytimeGestures' part of global actor 'MainActor'
    static var enablePlaytimeGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enablePlaytimeGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: convert 'canBackgroundPlay' to a 'let' constant to make 'Sendable' shared state immutable
    static var canBackgroundPlay = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: add '@MainActor' to make static property 'canBackgroundPlay' part of global actor 'MainActor'
    static var canBackgroundPlay = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var canBackgroundPlay = false
               ^
    nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ UIKitExtend.swift,\ UXKit.swift,\ Utility.swift,\ AVFFmpegExtension.swift,\ AVFoundationExtension.swift,\ AudioEnginePlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UIKitExtend.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UXKit.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UIKitExtend.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UXKit.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:531:1: warning: extension declares a conformance of imported type 'TextAlignment' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension TextAlignment: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:531:1: note: add '@retroactive' to silence this warning
extension TextAlignment: RawRepresentable {
^                        ~~~~~~~~~~~~~~~~
                         @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:557:1: warning: extension declares a conformance of imported type 'TextAlignment' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension TextAlignment: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:557:1: note: add '@retroactive' to silence this warning
extension TextAlignment: Identifiable {
^                        ~~~~~~~~~~~~
                         @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:561:1: warning: extension declares a conformance of imported type 'HorizontalAlignment' to imported protocols 'Hashable', 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension HorizontalAlignment: Hashable, RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:561:1: note: add '@retroactive' to silence this warning
extension HorizontalAlignment: Hashable, RawRepresentable {
^                              ~~~~~~~~  ~~~~~~~~~~~~~~~~
                               @retroactive Hashable @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:589:1: warning: extension declares a conformance of imported type 'HorizontalAlignment' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension HorizontalAlignment: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:589:1: note: add '@retroactive' to silence this warning
extension HorizontalAlignment: Identifiable {
^                              ~~~~~~~~~~~~
                               @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:593:1: warning: extension declares a conformance of imported type 'VerticalAlignment' to imported protocols 'Hashable', 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension VerticalAlignment: Hashable, RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:593:1: note: add '@retroactive' to silence this warning
extension VerticalAlignment: Hashable, RawRepresentable {
^                            ~~~~~~~~  ~~~~~~~~~~~~~~~~
                             @retroactive Hashable @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:621:1: warning: extension declares a conformance of imported type 'VerticalAlignment' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension VerticalAlignment: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:621:1: note: add '@retroactive' to silence this warning
extension VerticalAlignment: Identifiable {
^                            ~~~~~~~~~~~~
                             @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:625:1: warning: extension declares a conformance of imported type 'Color' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension Color: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:625:1: note: add '@retroactive' to silence this warning
extension Color: RawRepresentable {
^                ~~~~~~~~~~~~~~~~
                 @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:655:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
extension Array: RawRepresentable where Element: Codable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:655:1: note: add '@retroactive' to silence this warning
extension Array: RawRepresentable where Element: Codable {
^                ~~~~~~~~~~~~~~~~
                 @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:673:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
extension Date: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:673:1: note: add '@retroactive' to silence this warning
extension Date: RawRepresentable {
^               ~~~~~~~~~~~~~~~~
                @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:757:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
extension URL: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:757:1: note: add '@retroactive' to silence this warning
extension URL: Identifiable {
^              ~~~~~~~~~~~~
               @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:761:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
extension String: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:761:1: note: add '@retroactive' to silence this warning
extension String: Identifiable {
^                 ~~~~~~~~~~~~
                  @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:765:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
extension Float: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:765:1: note: add '@retroactive' to silence this warning
extension Float: Identifiable {
^                ~~~~~~~~~~~~
                 @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:171:17: warning: capture of 'gifCreator' with non-sendable type 'GIFCreator' in a '@Sendable' closure
                gifCreator.add(image: imageRef)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:43:7: note: class 'GIFCreator' does not conform to the 'Sendable' protocol
class GIFCreator {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:172:17: warning: capture of 'progress' with non-sendable type '(Double) -> Void' in a '@Sendable' closure
                progress(Double(i) / Double(count))
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:172:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                progress(Double(i) / Double(count))
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:175:21: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
                    completion(nil)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:175:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                    completion(nil)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:170:17: warning: mutation of captured var 'i' in concurrently-executing code
                i += 1
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:172:33: warning: reference to captured var 'i' in concurrently-executing code
                progress(Double(i) / Double(count))
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:173:23: warning: reference to captured var 'i' in concurrently-executing code
                guard i == count else { return }
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:360:39: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
            await MainActor.run(body: block)
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:355:29: note: parameter 'block' is implicitly non-sendable
public func runOnMainThread(block: @escaping () -> Void) {
                            ^
                                   @Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:424:13: warning: capture of 'completion' with non-sendable type '(String, URL) -> Void' in a '@Sendable' closure
            completion(response.suggestedFilename ?? url.lastPathComponent, url)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:424:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
            completion(response.suggestedFilename ?? url.lastPathComponent, url)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:227:14: 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
        Task {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:228:49: note: closure captures 'self' which is accessible to code in the current task
            guard let exportSession = try await createExportSession(beginTime: beginTime, endTime: endTime) else { return }
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:359:14: 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
        Task {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:360:39: note: closure captures 'block' which is accessible to code in the current task
            await MainActor.run(body: block)
                                      ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:385:1: warning: extension declares a conformance of imported type 'AVBufferSrcParameters' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Libavfilter' introduce this conformance in the future
extension AVBufferSrcParameters: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:385:1: note: add '@retroactive' to silence this warning
extension AVBufferSrcParameters: Equatable {
^                                ~~~~~~~~~
                                 @retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:400:1: warning: extension declares a conformance of imported type 'AVChannelLayout' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Libavutil' introduce this conformance in the future
extension AVChannelLayout: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:400:1: note: add '@retroactive' to silence this warning
extension AVChannelLayout: Equatable {
^                          ~~~~~~~~~
                           @retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:408:1: warning: extension declares a conformance of imported type 'AVChannelLayout' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Libavutil' introduce this conformance in the future
extension AVChannelLayout: CustomStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:408:1: note: add '@retroactive' to silence this warning
extension AVChannelLayout: CustomStringConvertible {
^                          ~~~~~~~~~~~~~~~~~~~~~~~
                           @retroactive CustomStringConvertible
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AVChannelLayout' may have shared mutable state; this is an error in the Swift 6 language mode
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/Libavutil.framework/Headers/channel_layout.h:307:16: note: struct 'AVChannelLayout' does not conform to the 'Sendable' protocol
typedef struct AVChannelLayout {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Libavutil'
import FFmpegKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:431:1: warning: extension declares a conformance of imported type 'AVRational' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Libavutil' introduce this conformance in the future
extension AVRational: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:431:1: note: add '@retroactive' to silence this warning
extension AVRational: Equatable {
^                     ~~~~~~~~~
                      @retroactive Equatable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift:108:1: warning: extension declares a conformance of imported type 'AudioChannelLayout' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
extension AudioChannelLayout: CustomStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift:108:1: note: add '@retroactive' to silence this warning
extension AudioChannelLayout: CustomStringConvertible {
^                             ~~~~~~~~~~~~~~~~~~~~~~~
                              @retroactive CustomStringConvertible
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift:203:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                self?.play()
~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift:203:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                self?.play()
                ^~~~
SwiftCompile normal arm64 Compiling\ FFmpegDecode.swift,\ Filter.swift,\ KSMEPlayer.swift,\ MEPlayerItem.swift,\ MEPlayerItemTrack.swift,\ MetalPlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Filter.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItemTrack.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift:95:37: warning: initialization of immutable value 'data' was never used; consider replacing with assignment to '_' or removing it
                                let data = sideData.data.withMemoryRebound(to: [UInt8].self, capacity: 1) { $0 }
                                ~~~~^~~~
                                _
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift:98:37: warning: initialization of immutable value 'header' was never used; consider replacing with assignment to '_' or removing it
                                let header = av_dovi_get_header(data)
                                ~~~~^~~~~~
                                _
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift:99:37: warning: initialization of immutable value 'mapping' was never used; consider replacing with assignment to '_' or removing it
                                let mapping = av_dovi_get_mapping(data)
                                ~~~~^~~~~~~
                                _
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift:100:37: warning: initialization of immutable value 'color' was never used; consider replacing with assignment to '_' or removing it
                                let color = av_dovi_get_color(data)
                                ~~~~^~~~~
                                _
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift:103:37: warning: initialization of immutable value 'data' was never used; consider replacing with assignment to '_' or removing it
                                let data = sideData.data.withMemoryRebound(to: AVDynamicHDRPlus.self, capacity: 1) { $0 }.pointee
                                ~~~~^~~~
                                _
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegDecode.swift:105:37: warning: initialization of immutable value 'data' was never used; consider replacing with assignment to '_' or removing it
                                let data = sideData.data.withMemoryRebound(to: AVDynamicHDRVivid.self, capacity: 1) { $0 }.pointee
                                ~~~~^~~~
                                _
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Filter.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:26:27: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
                oldValue?.removeFromSuperview()
                          ^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:110:35: warning: call to main actor-isolated instance method 'finish(player:error:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
                        delegate?.finish(player: self, error: nil)
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:114:10: note: calls to instance method 'finish(player:error:)' from outside of its actor context are implicitly asynchronous
    func finish(player: some MediaPlayerProtocol, error: Error?)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:429:16: warning: main actor-isolated property 'contentMode' cannot be used to satisfy nonisolated requirement from protocol 'MediaPlayerProtocol'; this is an error in the Swift 6 language mode
    public var contentMode: UIViewContentMode {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:291:23: note: add '@preconcurrency' to the 'MediaPlayerProtocol' conformance to defer isolation checking to run time
extension KSMEPlayer: MediaPlayerProtocol {
                      ^
                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:83:9: note: requirement 'contentMode' declared here
    var contentMode: UIViewContentMode { get set }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:309:16: warning: main actor-isolated property 'naturalSize' cannot be used to satisfy nonisolated requirement from protocol 'MediaPlayback'; this is an error in the Swift 6 language mode
    public var naturalSize: CGSize {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:19:9: note: requirement 'naturalSize' declared here
    var naturalSize: CGSize { get }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:16:14: warning: non-final class 'KSMEPlayer' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
public class KSMEPlayer: NSObject {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:17:17: warning: stored property 'loopCount' of 'Sendable'-conforming class 'KSMEPlayer' is mutable; this is an error in the Swift 6 language mode
    private var loopCount = 1
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:35:27: warning: call to main actor-isolated instance method 'changeBuffering(player:progress:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
                delegate?.changeBuffering(player: self, progress: newValue)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:112:10: note: calls to instance method 'changeBuffering(player:progress:)' from outside of its actor context are implicitly asynchronous
    func changeBuffering(player: some MediaPlayerProtocol, progress: Int)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:164:28: warning: call to main actor-isolated instance method 'changeLoadState(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
            self.delegate?.changeLoadState(player: self)
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:110:10: note: calls to instance method 'changeLoadState(player:)' from outside of its actor context are implicitly asynchronous
    func changeLoadState(player: some MediaPlayerProtocol)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:178:19: warning: value 'reason' was defined but never used; consider replacing with boolean test
        guard let reason = notification.userInfo?[AVAudioSessionRouteChangeReasonKey] as? UInt else {
              ~~~~^~~~~~~~~                                                           ~~~
                                                                                      is
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:213:23: warning: call to main actor-isolated instance method 'readyToPlay(player:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
            delegate?.readyToPlay(player: self)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:109:10: note: calls to instance method 'readyToPlay(player:)' from outside of its actor context are implicitly asynchronous
    func readyToPlay(player: some MediaPlayerProtocol)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:220:28: warning: call to main actor-isolated instance method 'finish(player:error:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
            self.delegate?.finish(player: self, error: error)
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:114:10: note: calls to instance method 'finish(player:error:)' from outside of its actor context are implicitly asynchronous
    func finish(player: some MediaPlayerProtocol, error: Error?)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:229:32: warning: call to main actor-isolated instance method 'playBack(player:loopCount:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
                self.delegate?.playBack(player: self, loopCount: self.loopCount)
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:113:10: note: calls to instance method 'playBack(player:loopCount:)' from outside of its actor context are implicitly asynchronous
    func playBack(player: some MediaPlayerProtocol, loopCount: Int)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:563:17: warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure
                completionHandler()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:563:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                completionHandler()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:516:13: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
            completionHandler()
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:516:13: note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
            completionHandler()
            ^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:532:13: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
            completionHandler()
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:532:13: note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
            completionHandler()
            ^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:557:17: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
                completionHandler()
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/KSMEPlayer.swift:557:17: note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                completionHandler()
                ^~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:94:24: warning: static property 'onceInitial' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    private static var onceInitial: Void = {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:94:24: note: convert 'onceInitial' to a 'let' constant to make 'Sendable' shared state immutable
    private static var onceInitial: Void = {
                   ~~~ ^
                   let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:94:24: note: add '@MainActor' to make static property 'onceInitial' part of global actor 'MainActor'
    private static var onceInitial: Void = {
                       ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:94:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    private static var onceInitial: Void = {
                       ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:16:17: warning: stored property 'options' of 'Sendable'-conforming class 'MEPlayerItem' has non-sendable type 'KSOptions'; this is an error in the Swift 6 language mode
    private let options: KSOptions
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:17:12: note: class 'KSOptions' does not conform to the 'Sendable' protocol
open class KSOptions {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:19:17: warning: stored property 'formatCtx' of 'Sendable'-conforming class 'MEPlayerItem' is mutable; this is an error in the Swift 6 language mode
    private var formatCtx: UnsafeMutablePointer<AVFormatContext>?
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:441:21: warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it
                let result = avformat_seek_file(formatCtx, -1, Int64.min, timestamp.value, Int64.max, flags)
                ~~~~^~~~~~
                _
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:494:28: warning: 'result' mutated after capture by sendable closure
                    result = avformat_seek_file(formatCtx, -1, seekMin, timeStamp, seekMax, seekFlags)
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:485:21: note: variable defined here
                var result = avformat_seek_file(formatCtx, -1, seekMin, timeStamp, seekMax, seekFlags)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:505:42: note: variable captured by sendable closure
                DispatchQueue.main.async { [weak self] in
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:507:52: note: capturing use
                    self.seekingCompletionHandler?(result >= 0)
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:485:21: note: variable defined here
                var result = avformat_seek_file(formatCtx, -1, seekMin, timeStamp, seekMax, seekFlags)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:505:42: note: variable captured by sendable closure
                DispatchQueue.main.async { [weak self] in
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItem.swift:507:52: note: capturing use
                    self.seekingCompletionHandler?(result >= 0)
                                                   ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItemTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItemTrack.swift:223:23: warning: capture of 'self' with non-sendable type 'AsyncPlayerItemTrack<Frame>?' in a '@Sendable' closure
            guard let self else { return }
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MEPlayerItemTrack.swift:179:13: note: generic class 'AsyncPlayerItemTrack' does not conform to the 'Sendable' protocol
final class AsyncPlayerItemTrack<Frame: MEFrame>: SyncPlayerItemTrack<Frame> {
            ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:72:21: warning: main actor-isolated property 'displayLayerDelegate' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public weak var displayLayerDelegate: DisplayLayerDelegate?
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:28:43: note: add '@preconcurrency' to the 'VideoOutput' conformance to defer isolation checking to run time
public final class MetalPlayView: UIView, VideoOutput {
                                          ^
                                          @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:19:9: note: requirement 'displayLayerDelegate' declared here
    var displayLayerDelegate: DisplayLayerDelegate? { get set }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:62:16: warning: main actor-isolated property 'options' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public var options: KSOptions
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:20:9: note: requirement 'options' declared here
    var options: KSOptions { get set }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:29:16: warning: main actor-isolated property 'displayLayer' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public var displayLayer: AVSampleBufferDisplayLayer {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:21:9: note: requirement 'displayLayer' declared here
    var displayLayer: AVSampleBufferDisplayLayer { get }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:56:29: warning: main actor-isolated property 'pixelBuffer' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public private(set) var pixelBuffer: PixelBufferProtocol?
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:22:9: note: requirement 'pixelBuffer' declared here
    var pixelBuffer: PixelBufferProtocol? { get }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:73:12: warning: main actor-isolated initializer 'init(options:)' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public init(options: KSOptions) {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:73:12: note: add 'nonisolated' to 'init(options:)' to make this initializer not isolated to the actor
    public init(options: KSOptions) {
           ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:23:5: note: mark the protocol requirement 'init(options:)' 'async' to allow actor-isolated conformances
    init(options: KSOptions)
    ^
                             async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:153:17: warning: main actor-isolated instance method 'invalidate()' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public func invalidate() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:153:17: note: add 'nonisolated' to 'invalidate()' to make this instance method not isolated to the actor
    public func invalidate() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:24:10: note: mark the protocol requirement 'invalidate()' 'async' to allow actor-isolated conformances
    func invalidate()
         ^
                      async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:157:17: warning: main actor-isolated instance method 'readNextFrame()' cannot be used to satisfy nonisolated requirement from protocol 'VideoOutput'; this is an error in the Swift 6 language mode
    public func readNextFrame() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:157:17: note: add 'nonisolated' to 'readNextFrame()' to make this instance method not isolated to the actor
    public func readNextFrame() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:25:10: note: mark the protocol requirement 'readNextFrame()' 'async' to allow actor-isolated conformances
    func readNextFrame()
         ^
                         async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:63:21: warning: main actor-isolated property 'renderSource' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public weak var renderSource: OutputRenderSourceDelegate?
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:67:9: note: requirement 'renderSource' declared here
    var renderSource: OutputRenderSourceDelegate? { get set }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:90:17: warning: main actor-isolated instance method 'pause()' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public func pause() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:90:17: note: add 'nonisolated' to 'pause()' to make this instance method not isolated to the actor
    public func pause() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:68:10: note: mark the protocol requirement 'pause()' 'async' to allow actor-isolated conformances
    func pause()
         ^
                 async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:144:17: warning: main actor-isolated instance method 'flush()' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public func flush() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:144:17: note: add 'nonisolated' to 'flush()' to make this instance method not isolated to the actor
    public func flush() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:69:10: note: mark the protocol requirement 'flush()' 'async' to allow actor-isolated conformances
    func flush()
         ^
                 async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:86:17: warning: main actor-isolated instance method 'play()' cannot be used to satisfy nonisolated requirement from protocol 'FrameOutput'; this is an error in the Swift 6 language mode
    public func play() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/MetalPlayView.swift:86:17: note: add 'nonisolated' to 'play()' to make this instance method not isolated to the actor
    public func play() {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:70:10: note: mark the protocol requirement 'play()' 'async' to allow actor-isolated conformances
    func play()
         ^
                async
SwiftCompile normal arm64 Compiling\ MetalRender.swift,\ MotionSensor.swift,\ PixelBufferProtocol.swift,\ Transforms.swift,\ AudioRecognize.swift,\ KSParseProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MotionSensor.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/Transforms.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/AudioRecognize.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state; this is an error in the Swift 6 language mode
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:379:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
@protocol MTLDevice <NSObject>
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
import Metal
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    static let device = MTLCreateSystemDefaultDevice()!
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static let device = MTLCreateSystemDefaultDevice()!
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
    static let library: MTLLibrary = {
               ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
@protocol MTLLibrary <NSObject>
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
    static let library: MTLLibrary = {
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static let library: MTLLibrary = {
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:881:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:881:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:885:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:885:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MotionSensor.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/Transforms.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/AudioRecognize.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: warning: static property 'subtitleParses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: convert 'subtitleParses' to a 'let' constant to make 'Sendable' shared state immutable
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: add '@MainActor' to make static property 'subtitleParses' part of global actor 'MainActor'
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:262:75: warning: left side of nil coalescing operator '??' has non-optional type 'UIFont', so the right side is never used
                font = UIFont(descriptor: fontDescriptor, size: fontSize) ?? font
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:271:16: warning: value 'assColor' was defined but never used; consider replacing with boolean test
        if let assColor = self["SecondaryColour"] {
           ~~~~^~~~~~~~~~~
                                                  != nil
SwiftCompile normal arm64 Compiling\ MediaPlayerProtocol.swift,\ PlayerDefines.swift,\ AudioPlayerView.swift,\ AppKitExtend.swift,\ PlayerToolBar.swift,\ PlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/PlayerDefines.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Audio/AudioPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerToolBar.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/PlayerDefines.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Audio/AudioPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerToolBar.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:159:15: warning: main actor-isolated instance method 'slider(value:event:)' cannot be used to satisfy nonisolated requirement from protocol 'KSSliderDelegate'; this is an error in the Swift 6 language mode
    open func slider(value: Double, event: ControlEvents) {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:159:15: note: add 'nonisolated' to 'slider(value:event:)' to make this instance method not isolated to the actor
    open func slider(value: Double, event: ControlEvents) {
              ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:41:55: note: add '@preconcurrency' to the 'KSSliderDelegate' conformance to defer isolation checking to run time
open class PlayerView: UIView, KSPlayerLayerDelegate, KSSliderDelegate {
                                                      ^
                                                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UXKit.swift:47:10: note: mark the protocol requirement 'slider(value:event:)' 'async' to allow actor-isolated conformances
    func slider(value: Double, event: ControlEvents)
         ^
                                                     async
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/DisplayCriteria.o normal (in target 'DisplayCriteria' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios13.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/DisplayCriteria.build/Objects-normal/arm64/DisplayCriteria.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/DisplayCriteria.build/Objects-normal/arm64/DisplayCriteria_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/DisplayCriteria.build/Objects-normal/arm64/DisplayCriteria_dependency_info.dat -fobjc-arc -fobjc-link-runtime -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/DisplayCriteria.o
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FFmpegKit.o normal (in target 'FFmpegKit' from project 'FFmpegKit')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FFmpegKit
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios13.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -O0 -w -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FFmpegKit.build/Debug-iphoneos/FFmpegKit.build/Objects-normal/arm64/FFmpegKit.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FFmpegKit.build/Debug-iphoneos/FFmpegKit.build/Objects-normal/arm64/FFmpegKit_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FFmpegKit.build/Debug-iphoneos/FFmpegKit.build/Objects-normal/arm64/FFmpegKit_dependency_info.dat -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FFmpegKit.o
SwiftCompile normal arm64 Compiling\ AudioGraphPlayer.swift,\ AudioRendererPlayer.swift,\ AudioUnitPlayer.swift,\ CircularBuffer.swift,\ EmbedDataSouce.swift,\ FFmpegAssetTrack.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioGraphPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioUnitPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/CircularBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/EmbedDataSouce.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioGraphPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:88:23: warning: capture of 'self' with non-sendable type 'AudioRendererPlayer?' in a '@Sendable' closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:11:14: note: class 'AudioRendererPlayer' does not conform to the 'Sendable' protocol
public class AudioRendererPlayer: AudioOutput {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:94:23: warning: capture of 'self' with non-sendable type 'AudioRendererPlayer?' in a '@Sendable' closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:11:14: note: class 'AudioRendererPlayer' does not conform to the 'Sendable' protocol
public class AudioRendererPlayer: AudioOutput {
             ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioUnitPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/CircularBuffer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/EmbedDataSouce.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ KSSubtitle.swift,\ SubtitleDataSouce.swift,\ AirPlayView.swift,\ KSVideoPlayerView.swift,\ KSVideoPlayerViewBuilder.swift,\ LiveTextImage.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: convert 'textColor' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textColor: Color = .white
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: add '@MainActor' to make static property 'textColor' part of global actor 'MainActor'
    public static var textColor: Color = .white
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textColor: Color = .white
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: convert 'textBackgroundColor' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textBackgroundColor: Color = .clear
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: add '@MainActor' to make static property 'textBackgroundColor' part of global actor 'MainActor'
    public static var textBackgroundColor: Color = .clear
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textBackgroundColor: Color = .clear
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: warning: static property 'textFontSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: convert 'textFontSize' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: add '@MainActor' to make static property 'textFontSize' part of global actor 'MainActor'
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: warning: static property 'textBold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textBold = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: convert 'textBold' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textBold = false
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: add '@MainActor' to make static property 'textBold' part of global actor 'MainActor'
    public static var textBold = false
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textBold = false
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: warning: static property 'textItalic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: convert 'textItalic' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textItalic = false
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: add '@MainActor' to make static property 'textItalic' part of global actor 'MainActor'
    public static var textItalic = false
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textItalic = false
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: warning: static property 'textPosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: convert 'textPosition' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textPosition = TextPosition()
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: add '@MainActor' to make static property 'textPosition' part of global actor 'MainActor'
    public static var textPosition = TextPosition()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textPosition = TextPosition()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: warning: static property 'audioRecognizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: convert 'audioRecognizes' to a 'let' constant to make 'Sendable' shared state immutable
    public static var audioRecognizes = [any AudioRecognize]()
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: add '@MainActor' to make static property 'audioRecognizes' part of global actor 'MainActor'
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:246:20: warning: 'UI_USER_INTERFACE_IDIOM()' was deprecated in iOS 13.0: Use -[UIDevice userInterfaceIdiom] directly.
                if UI_USER_INTERFACE_IDIOM() == .phone {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:258:20: warning: 'UI_USER_INTERFACE_IDIOM()' was deprecated in iOS 13.0: Use -[UIDevice userInterfaceIdiom] directly.
                if UI_USER_INTERFACE_IDIOM() == .phone {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:270:20: warning: 'UI_USER_INTERFACE_IDIOM()' was deprecated in iOS 13.0: Use -[UIDevice userInterfaceIdiom] directly.
                if UI_USER_INTERFACE_IDIOM() == .phone {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:369:32: warning: sending 'dataSouce' risks causing data races; this is an error in the Swift 6 language mode
                    try? await dataSouce.searchSubtitle(query: query, languages: languages)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:369:32: note: task-isolated 'dataSouce' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                    try? await dataSouce.searchSubtitle(query: query, languages: languages)
                               ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:370:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                    subtitleInfos.append(contentsOf: dataSouce.infos)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:370:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                    subtitleInfos.append(contentsOf: dataSouce.infos)
                    ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:28: warning: sending 'dataSouce' risks causing data races; this is an error in the Swift 6 language mode
                try? await dataSouce.searchSubtitle(fileURL: url)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:28: note: task-isolated 'dataSouce' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                try? await dataSouce.searchSubtitle(fileURL: url)
                           ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:62: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                try? await dataSouce.searchSubtitle(fileURL: url)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:62: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                try? await dataSouce.searchSubtitle(fileURL: url)
                                                             ^~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                self?.parts = []
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                self?.parts = []
                ^~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: warning: static property 'subtitleDataSouces' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: convert 'subtitleDataSouces' to a 'let' constant to make 'Sendable' shared state immutable
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: add '@MainActor' to make static property 'subtitleDataSouces' part of global actor 'MainActor'
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'PlistCacheSubtitleDataSouce' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:97:23: warning: capture of 'self' with non-sendable type 'PlistCacheSubtitleDataSouce?' in a '@Sendable' closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:127:27: warning: capture of 'self' with non-sendable type 'PlistCacheSubtitleDataSouce?' in a '@Sendable' closure
                guard let self else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:23:22: 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
                Task {
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:24:32: note: closure captures 'self' which is accessible to code in the current task
                    try? await parse(url: downloadURL, userAgent: userAgent)
                               ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:218:25: warning: call to main actor-isolated instance method 'openURL' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
                        openURL(url)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:304:17: note: calls to instance method 'openURL' from outside of its actor context are implicitly asynchronous
    public func openURL(_ url: URL) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:529:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
        if #available(tvOS 17, *) {
           ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:51: warning: non-sendable result type 'ImageAnalysis' cannot be sent from nonisolated context in call to instance method 'analyze(_:orientation:configuration:)'; this is an error in the Swift 6 language mode
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                  ^
VisionKit.ImageAnalysis:2:20: note: class 'ImageAnalysis' does not conform to the 'Sendable' protocol
final public class ImageAnalysis {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'VisionKit'
import VisionKit
^
@preconcurrency
SwiftCompile normal arm64 Compiling\ Slider.swift,\ BrightnessVolume.swift,\ IOSVideoPlayerView.swift,\ KSMenu.swift,\ KSPlayerItem.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/Slider.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/Slider.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:131:17: warning: main actor-isolated instance method 'setProgress(_:type:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    public func setProgress(_ progress: Float, type: UInt) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:131:17: note: add 'nonisolated' to 'setProgress(_:type:)' to make this instance method not isolated to the actor
    public func setProgress(_ progress: Float, type: UInt) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:130:23: note: add '@preconcurrency' to the 'BrightnessVolumeViewProtocol' conformance to defer isolation checking to run time
extension SystemView: BrightnessVolumeViewProtocol {
                      ^
                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:66:10: note: mark the protocol requirement 'setProgress(_:type:)' 'async' to allow actor-isolated conformances
    func setProgress(_ progress: Float, type: UInt)
         ^
                                                    async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:150:17: warning: main actor-isolated instance method 'move(to:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    public func move(to view: UIView) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:150:17: note: add 'nonisolated' to 'move(to:)' to make this instance method not isolated to the actor
    public func move(to view: UIView) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:67:10: note: mark the protocol requirement 'move(to:)' 'async' to allow actor-isolated conformances
    func move(to view: UIView)
         ^
                               async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:200:10: warning: main actor-isolated instance method 'setProgress(_:type:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    func setProgress(_ progress: Float, type: UInt) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:200:10: note: add 'nonisolated' to 'setProgress(_:type:)' to make this instance method not isolated to the actor
    func setProgress(_ progress: Float, type: UInt) {
         ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:199:25: note: add '@preconcurrency' to the 'BrightnessVolumeViewProtocol' conformance to defer isolation checking to run time
extension ProgressView: BrightnessVolumeViewProtocol {
                        ^
                        @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:66:10: note: mark the protocol requirement 'setProgress(_:type:)' 'async' to allow actor-isolated conformances
    func setProgress(_ progress: Float, type: UInt)
         ^
                                                    async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:209:10: warning: main actor-isolated instance method 'move(to:)' cannot be used to satisfy nonisolated requirement from protocol 'BrightnessVolumeViewProtocol'; this is an error in the Swift 6 language mode
    func move(to view: UIView) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:209:10: note: add 'nonisolated' to 'move(to:)' to make this instance method not isolated to the actor
    func move(to view: UIView) {
         ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:67:10: note: mark the protocol requirement 'move(to:)' 'async' to allow actor-isolated conformances
    func move(to view: UIView)
         ^
                               async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:19:22: warning: call to main actor-isolated instance method 'appearView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
                self.appearView()
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:42:18: note: calls to instance method 'appearView()' from outside of its actor context are implicitly asynchronous
    private func appearView() {
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:20:22: warning: main actor-isolated property 'progressView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
                self.progressView.setProgress(Float(value), type: 0)
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:14:16: note: property declared here
    public var progressView: BrightnessVolumeViewProtocol & UIView = ProgressView()
               ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: warning: static property 'supportedInterfaceOrientations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: convert 'supportedInterfaceOrientations' to a 'let' constant to make 'Sendable' shared state immutable
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: add '@MainActor' to make static property 'supportedInterfaceOrientations' part of global actor 'MainActor'
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
    nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSMenu.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftDriverJobDiscovery normal arm64 Emitting module for KSPlayer (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriver\ Compilation\ Requirements KSPlayer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KSPlayer -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FFmpegKit.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/DisplayCriteria.modulemap -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios13.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FFmpegKit/Sources/FFmpegKit/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/DisplayCriteria/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling AudioGraphPlayer.swift, AudioRendererPlayer.swift, AudioUnitPlayer.swift, CircularBuffer.swift, EmbedDataSouce.swift, FFmpegAssetTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/KSPlayer-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/KSPlayer-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/arm64-apple-ios.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/arm64-apple-ios.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/arm64-apple-ios.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftdoc (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/arm64-apple-ios.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/arm64-apple-ios.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.abi.json (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/arm64-apple-ios.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftsourceinfo (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer_KSPlayer.bundle (in target 'KSPlayer_KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer_KSPlayer.bundle
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FFmpegKit.o (in target 'FFmpegKit' from project 'FFmpegKit')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FFmpegKit
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FFmpegKit.o
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/DisplayCriteria.o (in target 'DisplayCriteria' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/DisplayCriteria.o
Touch /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer_KSPlayer.bundle (in target 'KSPlayer_KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    /usr/bin/touch -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer_KSPlayer.bundle
SwiftDriverJobDiscovery normal arm64 Compiling Model.swift, Resample.swift, SubtitleDecode.swift, ThumbnailController.swift, VideoToolboxDecode.swift, DisplayModel.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling Slider.swift, BrightnessVolume.swift, IOSVideoPlayerView.swift, KSMenu.swift, KSPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, KSAVPlayer.swift, KSOptions.swift, KSPictureInPictureController.swift, KSPlayerLayer.swift, KSVideoPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling MacVideoPlayerView.swift, PlayerFullScreenViewController.swift, PlayerTransitionAnimator.swift, SeekView.swift, VideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling MediaPlayerProtocol.swift, PlayerDefines.swift, AudioPlayerView.swift, AppKitExtend.swift, PlayerToolBar.swift, PlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling MetalRender.swift, MotionSensor.swift, PixelBufferProtocol.swift, Transforms.swift, AudioRecognize.swift, KSParseProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling UIKitExtend.swift, UXKit.swift, Utility.swift, AVFFmpegExtension.swift, AVFoundationExtension.swift, AudioEnginePlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling KSSubtitle.swift, SubtitleDataSouce.swift, AirPlayView.swift, KSVideoPlayerView.swift, KSVideoPlayerViewBuilder.swift, LiveTextImage.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling FFmpegDecode.swift, Filter.swift, KSMEPlayer.swift, MEPlayerItem.swift, MEPlayerItemTrack.swift, MetalPlayView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriver\ Compilation KSPlayer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KSPlayer -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FFmpegKit.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/DisplayCriteria.modulemap -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios13.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FFmpegKit/Sources/FFmpegKit/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/DisplayCriteria/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.o normal (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios13.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.o
ExtractAppIntentsMetadata (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name KSPlayer --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk --xcode-version 16E140 --platform-family iOS --deployment-target 13.0 --bundle-identifier spi-builder-workspace.KSPlayer --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.appintents --target-triple arm64-apple-ios13.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/KSPlayer.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/KSPlayer.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-iphoneos/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-26 04:31:39.941 appintentsmetadataprocessor[1028:5985] Starting appintentsmetadataprocessor export
2025-04-26 04:31:39.980 appintentsmetadataprocessor[1028:5985] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.o (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/KSPlayer.o
** BUILD SUCCEEDED **
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "ffmpegkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.1.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kingslay/FFmpegKit.git"
    }
  ],
  "manifest_display_name" : "KSPlayer",
  "name" : "KSPlayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "KSPlayer",
      "targets" : [
        "KSPlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KSPlayerTests",
      "module_type" : "SwiftTarget",
      "name" : "KSPlayerTests",
      "path" : "Tests/KSPlayerTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/KSPlayerTests/Resources/test.m3u",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AudioTest.swift",
        "KSAVPlayerTest.swift",
        "KSMEPlayerTest.swift",
        "KSPlayerLayerTest.swift",
        "M3UParseTest.swift",
        "SubtitleTest.swift",
        "VideoPlayerControllerTest.swift",
        "VideoPlayerViewTest.swift"
      ],
      "target_dependencies" : [
        "KSPlayer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KSPlayer",
      "module_type" : "SwiftTarget",
      "name" : "KSPlayer",
      "path" : "Sources/KSPlayer",
      "product_dependencies" : [
        "FFmpegKit"
      ],
      "product_memberships" : [
        "KSPlayer"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/Shaders.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AVPlayer/KSAVPlayer.swift",
        "AVPlayer/KSOptions.swift",
        "AVPlayer/KSPictureInPictureController.swift",
        "AVPlayer/KSPlayerLayer.swift",
        "AVPlayer/KSVideoPlayer.swift",
        "AVPlayer/MediaPlayerProtocol.swift",
        "AVPlayer/PlayerDefines.swift",
        "Audio/AudioPlayerView.swift",
        "Core/AppKitExtend.swift",
        "Core/PlayerToolBar.swift",
        "Core/PlayerView.swift",
        "Core/UIKitExtend.swift",
        "Core/UXKit.swift",
        "Core/Utility.swift",
        "MEPlayer/AVFFmpegExtension.swift",
        "MEPlayer/AVFoundationExtension.swift",
        "MEPlayer/AudioEnginePlayer.swift",
        "MEPlayer/AudioGraphPlayer.swift",
        "MEPlayer/AudioRendererPlayer.swift",
        "MEPlayer/AudioUnitPlayer.swift",
        "MEPlayer/CircularBuffer.swift",
        "MEPlayer/EmbedDataSouce.swift",
        "MEPlayer/FFmpegAssetTrack.swift",
        "MEPlayer/FFmpegDecode.swift",
        "MEPlayer/Filter.swift",
        "MEPlayer/KSMEPlayer.swift",
        "MEPlayer/MEPlayerItem.swift",
        "MEPlayer/MEPlayerItemTrack.swift",
        "MEPlayer/MetalPlayView.swift",
        "MEPlayer/Model.swift",
        "MEPlayer/Resample.swift",
        "MEPlayer/SubtitleDecode.swift",
        "MEPlayer/ThumbnailController.swift",
        "MEPlayer/VideoToolboxDecode.swift",
        "Metal/DisplayModel.swift",
        "Metal/MetalRender.swift",
        "Metal/MotionSensor.swift",
        "Metal/PixelBufferProtocol.swift",
        "Metal/Transforms.swift",
        "Subtitle/AudioRecognize.swift",
        "Subtitle/KSParseProtocol.swift",
        "Subtitle/KSSubtitle.swift",
        "Subtitle/SubtitleDataSouce.swift",
        "SwiftUI/AirPlayView.swift",
        "SwiftUI/KSVideoPlayerView.swift",
        "SwiftUI/KSVideoPlayerViewBuilder.swift",
        "SwiftUI/LiveTextImage.swift",
        "SwiftUI/Slider.swift",
        "Video/BrightnessVolume.swift",
        "Video/IOSVideoPlayerView.swift",
        "Video/KSMenu.swift",
        "Video/KSPlayerItem.swift",
        "Video/MacVideoPlayerView.swift",
        "Video/PlayerFullScreenViewController.swift",
        "Video/PlayerTransitionAnimator.swift",
        "Video/SeekView.swift",
        "Video/VideoPlayerView.swift"
      ],
      "target_dependencies" : [
        "DisplayCriteria"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DisplayCriteria",
      "module_type" : "ClangTarget",
      "name" : "DisplayCriteria",
      "path" : "Sources/DisplayCriteria",
      "product_memberships" : [
        "KSPlayer"
      ],
      "sources" : [
        "DisplayCriteria.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.