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 swiftui-loop-videoplayer, reference main (127df5), with Swift 6.0 (beta) for macOS (SPM) on 13 Sep 2024 13:14:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
63 |     textView.drawsBackground = false
64 |     textView.string = error.description
65 |     textView.alignment = .center
   |              `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
67 |     textView.textColor = NSColor(color)
AppKit.NSText:50:14: note: mutation of this property is only permitted within the actor
48 |     open var font: NSFont? { get set }
49 |     @NSCopying open var textColor: NSColor? { get set }
50 |     open var alignment: NSTextAlignment { get set }
   |              `- note: mutation of this property is only permitted within the actor
51 |     open var baseWritingDirection: NSWritingDirection { get set }
52 |     open func setTextColor(_ color: NSColor?, range: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:66:14: warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
64 |     textView.string = error.description
65 |     textView.alignment = .center
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
   |              `- warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 |     textView.textColor = NSColor(color)
68 |
AppKit.NSText:48:14: note: mutation of this property is only permitted within the actor
46 |     open var selectedRange: NSRange { get set }
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
   |              `- note: mutation of this property is only permitted within the actor
49 |     @NSCopying open var textColor: NSColor? { get set }
50 |     open var alignment: NSTextAlignment { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:67:14: warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
65 |     textView.alignment = .center
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
67 |     textView.textColor = NSColor(color)
   |              `- warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |
69 |     let containerView = NSView()
AppKit.NSText:49:25: note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
49 |     @NSCopying open var textColor: NSColor? { get set }
   |                         `- note: mutation of this property is only permitted within the actor
50 |     open var alignment: NSTextAlignment { get set }
51 |     open var baseWritingDirection: NSWritingDirection { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:69:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
67 |     textView.textColor = NSColor(color)
68 |
69 |     let containerView = NSView()
   |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |     containerView.addSubview(textView)
71 |
AppKit.NSView:354:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
352 |     @available(macOS 10.14, *)
353 |     open func viewDidChangeEffectiveAppearance()
354 |     @MainActor public convenience init()
    |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
355 |     @available(macOS 10.5, *)
356 |     open var animations: [NSAnimatablePropertyKey : Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:70:19: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
68 |
69 |     let containerView = NSView()
70 |     containerView.addSubview(textView)
   |                   `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
71 |
72 |     textView.translatesAutoresizingMaskIntoConstraints = false
AppKit.NSView:29:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
 27 |     @available(macOS 10.5, *)
 28 |     open func viewDidUnhide()
 29 |     @MainActor open func addSubview(_ view: NSView)
    |                          `- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
 30 |     open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
 31 |     open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:72:14: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
70 |     containerView.addSubview(textView)
71 |
72 |     textView.translatesAutoresizingMaskIntoConstraints = false
   |              `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 |     // Center textView in containerView with padding
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 |     @available(macOS 10.7, *)
3 |     @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
  |                         `- note: mutation of this property is only permitted within the actor
4 |     @available(macOS 10.7, *)
5 |     open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:76:18: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
74 |     // Center textView in containerView with padding
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
   |                  `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
AppKit.NSView:19:25: note: property declared here
17 |     open var heightAnchor: NSLayoutDimension { get }
18 |     @available(macOS 10.11, *)
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:76:66: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
74 |     // Center textView in containerView with padding
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
   |                                                                  `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
AppKit.NSView:19:25: note: property declared here
17 |     open var heightAnchor: NSLayoutDimension { get }
18 |     @available(macOS 10.11, *)
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:77:18: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
   |                  `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
AppKit.NSView:21:14: note: property declared here
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
   |              `- note: property declared here
22 |     @available(macOS 10.11, *)
23 |     open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:77:66: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
   |                                                                  `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
AppKit.NSView:21:14: note: property declared here
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
   |              `- note: property declared here
22 |     @available(macOS 10.11, *)
23 |     open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:78:18: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
   |                  `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
80 |     ])
AppKit.NSView:3:25: note: property declared here
 1 | extension NSView {
 2 |     @available(macOS 10.11, *)
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:78:79: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
   |                                                                               `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
80 |     ])
AppKit.NSView:3:25: note: property declared here
 1 | extension NSView {
 2 |     @available(macOS 10.11, *)
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:79:18: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
   |                  `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |     ])
81 |
AppKit.NSView:5:25: note: property declared here
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 6 |     @available(macOS 10.11, *)
 7 |     open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:79:77: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
   |                                                                             `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |     ])
81 |
AppKit.NSView:5:25: note: property declared here
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 6 |     @available(macOS 10.11, *)
 7 |     open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/LoopingPlayerNSView.swift:107:27: warning: cannot access property 'timeObserver' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
105 |             volumeObserver: &volumeObserver,
106 |             statusObserver: &statusObserver,
107 |             timeObserver: &timeObserver)
    |                           `- warning: cannot access property 'timeObserver' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
108 |     }
109 | }
[27/43] Compiling swiftui_loop_videoplayer ErrorMsgViewMacOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:60:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
   |                    `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |     textView.isEditable = false
62 |     textView.isSelectable = false
AppKit.NSTextView:111:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
109 |     @available(macOS 10.14, *)
110 |     open var usesAdaptiveColorMappingForDarkAppearance: Bool { get set }
111 |     @MainActor public convenience init()
    |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
112 |     @available(macOS 14.0, *)
113 |     open var unionRectInVisibleSelectedRange: NSRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:61:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   |              `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 |     textView.isSelectable = false
63 |     textView.drawsBackground = false
AppKit.NSTextView:65:25: note: mutation of this property is only permitted within the actor
63 |     open var usesRolloverButtonForSelection: Bool { get set }
64 |     weak open var delegate: (any NSTextViewDelegate)? { get set }
65 |     @MainActor open var isEditable: Bool { get set }
   |                         `- note: mutation of this property is only permitted within the actor
66 |     @available(swift, obsoleted: 3, renamed: "isEditable")
67 |     open var editable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:62:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
62 |     textView.isSelectable = false
   |              `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
63 |     textView.drawsBackground = false
64 |     textView.string = error.description
AppKit.NSTextView:68:14: note: mutation of this property is only permitted within the actor
66 |     @available(swift, obsoleted: 3, renamed: "isEditable")
67 |     open var editable: Bool { get set }
68 |     open var isSelectable: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
69 |     @available(swift, obsoleted: 3, renamed: "isSelectable")
70 |     open var selectable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:63:14: warning: main actor-isolated property 'drawsBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
62 |     textView.isSelectable = false
63 |     textView.drawsBackground = false
   |              `- warning: main actor-isolated property 'drawsBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 |     textView.string = error.description
65 |     textView.alignment = .center
AppKit.NSTextView:75:14: note: mutation of this property is only permitted within the actor
73 |     open var richText: Bool { get set }
74 |     open var importsGraphics: Bool { get set }
75 |     open var drawsBackground: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
76 |     @NSCopying open var backgroundColor: NSColor { get set }
77 |     open var isFieldEditor: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:64:14: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
62 |     textView.isSelectable = false
63 |     textView.drawsBackground = false
64 |     textView.string = error.description
   |              `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 |     textView.alignment = .center
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
 2 |     @MainActor public init(frame frameRect: NSRect)
 3 |     @MainActor public init?(coder: NSCoder)
 4 |     @MainActor open var string: String { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 5 |     open func replaceCharacters(in range: NSRange, with string: String)
 6 |     @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:65:14: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
63 |     textView.drawsBackground = false
64 |     textView.string = error.description
65 |     textView.alignment = .center
   |              `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
67 |     textView.textColor = NSColor(color)
AppKit.NSText:50:14: note: mutation of this property is only permitted within the actor
48 |     open var font: NSFont? { get set }
49 |     @NSCopying open var textColor: NSColor? { get set }
50 |     open var alignment: NSTextAlignment { get set }
   |              `- note: mutation of this property is only permitted within the actor
51 |     open var baseWritingDirection: NSWritingDirection { get set }
52 |     open func setTextColor(_ color: NSColor?, range: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:66:14: warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
64 |     textView.string = error.description
65 |     textView.alignment = .center
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
   |              `- warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 |     textView.textColor = NSColor(color)
68 |
AppKit.NSText:48:14: note: mutation of this property is only permitted within the actor
46 |     open var selectedRange: NSRange { get set }
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
   |              `- note: mutation of this property is only permitted within the actor
49 |     @NSCopying open var textColor: NSColor? { get set }
50 |     open var alignment: NSTextAlignment { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:67:14: warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
65 |     textView.alignment = .center
66 |     textView.font = NSFont.systemFont(ofSize: fontSize)
67 |     textView.textColor = NSColor(color)
   |              `- warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |
69 |     let containerView = NSView()
AppKit.NSText:49:25: note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
49 |     @NSCopying open var textColor: NSColor? { get set }
   |                         `- note: mutation of this property is only permitted within the actor
50 |     open var alignment: NSTextAlignment { get set }
51 |     open var baseWritingDirection: NSWritingDirection { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:69:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
67 |     textView.textColor = NSColor(color)
68 |
69 |     let containerView = NSView()
   |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |     containerView.addSubview(textView)
71 |
AppKit.NSView:354:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
352 |     @available(macOS 10.14, *)
353 |     open func viewDidChangeEffectiveAppearance()
354 |     @MainActor public convenience init()
    |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
355 |     @available(macOS 10.5, *)
356 |     open var animations: [NSAnimatablePropertyKey : Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:70:19: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
68 |
69 |     let containerView = NSView()
70 |     containerView.addSubview(textView)
   |                   `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
71 |
72 |     textView.translatesAutoresizingMaskIntoConstraints = false
AppKit.NSView:29:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
 27 |     @available(macOS 10.5, *)
 28 |     open func viewDidUnhide()
 29 |     @MainActor open func addSubview(_ view: NSView)
    |                          `- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
 30 |     open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
 31 |     open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:72:14: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
70 |     containerView.addSubview(textView)
71 |
72 |     textView.translatesAutoresizingMaskIntoConstraints = false
   |              `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 |     // Center textView in containerView with padding
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 |     @available(macOS 10.7, *)
3 |     @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
  |                         `- note: mutation of this property is only permitted within the actor
4 |     @available(macOS 10.7, *)
5 |     open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:76:18: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
74 |     // Center textView in containerView with padding
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
   |                  `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
AppKit.NSView:19:25: note: property declared here
17 |     open var heightAnchor: NSLayoutDimension { get }
18 |     @available(macOS 10.11, *)
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:76:66: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
74 |     // Center textView in containerView with padding
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
   |                                                                  `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
AppKit.NSView:19:25: note: property declared here
17 |     open var heightAnchor: NSLayoutDimension { get }
18 |     @available(macOS 10.11, *)
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:77:18: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
   |                  `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
AppKit.NSView:21:14: note: property declared here
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
   |              `- note: property declared here
22 |     @available(macOS 10.11, *)
23 |     open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:77:66: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
75 |     NSLayoutConstraint.activate([
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
   |                                                                  `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
AppKit.NSView:21:14: note: property declared here
19 |     @MainActor open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 |     @available(macOS 10.11, *)
21 |     open var centerYAnchor: NSLayoutYAxisAnchor { get }
   |              `- note: property declared here
22 |     @available(macOS 10.11, *)
23 |     open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:78:18: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
   |                  `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
80 |     ])
AppKit.NSView:3:25: note: property declared here
 1 | extension NSView {
 2 |     @available(macOS 10.11, *)
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:78:79: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
76 |         textView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
   |                                                                               `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
80 |     ])
AppKit.NSView:3:25: note: property declared here
 1 | extension NSView {
 2 |     @available(macOS 10.11, *)
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:79:18: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
   |                  `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |     ])
81 |
AppKit.NSView:5:25: note: property declared here
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 6 |     @available(macOS 10.11, *)
 7 |     open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/error/ErrorMsgViewMacOS.swift:79:77: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | ///   - fontSize: The font size to be used for the error text.
58 | /// - Returns: An `NSView` containing the error message text view centered with padding.
59 | internal func errorTpl(_ error: VPErrors, _ color: Color, _ fontSize: CGFloat) -> NSView {
   |               `- note: add '@MainActor' to make global function 'errorTpl' part of global actor 'MainActor'
60 |     let textView = ErrorMsgViewMacOS()
61 |     textView.isEditable = false
   :
77 |         textView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor),
78 |         textView.leadingAnchor.constraint(greaterThanOrEqualTo: containerView.leadingAnchor, constant: 10),
79 |         textView.trailingAnchor.constraint(lessThanOrEqualTo: containerView.trailingAnchor, constant: -10)
   |                                                                             `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |     ])
81 |
AppKit.NSView:5:25: note: property declared here
 3 |     @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
 4 |     @available(macOS 10.11, *)
 5 |     @MainActor open var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- note: property declared here
 6 |     @available(macOS 10.11, *)
 7 |     open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/view/player/mac/LoopingPlayerNSView.swift:107:27: warning: cannot access property 'timeObserver' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
105 |             volumeObserver: &volumeObserver,
106 |             statusObserver: &statusObserver,
107 |             timeObserver: &timeObserver)
    |                           `- warning: cannot access property 'timeObserver' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
108 |     }
109 | }
[28/43] Compiling swiftui_loop_videoplayer ShapeLayerBuilderProtocol.swift
[29/43] Compiling swiftui_loop_videoplayer VectorLayerProtocol.swift
[30/43] Compiling swiftui_loop_videoplayer LoopPlayerViewProtocol.swift
[31/43] Compiling swiftui_loop_videoplayer Ext.swift
[32/43] Compiling swiftui_loop_videoplayer PlayerDelegateProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:173:17: warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |                 }
172 |
173 |                 callback(item.status)
    |                 |- warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 |                 self?.clearStatusObserver()
175 |             }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |             }
176 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:23: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                       `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |             }
176 |         }
    :
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:37: warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                     `- warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:55: warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                                       `- warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:19: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
    :
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                   `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:29: warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                             `- warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:35:10: note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
33 |     ///   - currentTime: The current time of the player after seeking, in seconds.
34 |     @MainActor
35 |     func didSeek(value: Bool, currentTime: Double)
   |          `- note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
36 |
37 |     /// Called when the player has paused playback.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:413:67: warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 |
412 |             let videoComposition = AVVideoComposition(asset: item.asset, applyingCIFiltersWithHandler: { request in
413 |                 handleVideoComposition(request: request, filters: allFilters)
    |                                                                   `- warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
414 |             })
415 |
CoreImage.CIFilter:2:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class CIFilter : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
 3 |     @available(macOS 10.10, *)
 4 |     open var outputImage: CIImage? { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  8 | import AVFoundation
  9 | #if canImport(CoreImage)
 10 | import CoreImage
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 11 | #endif
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:487:13: warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
459 | ///   - statusObserver: An inout reference to an NSKeyValueObservation that observes the player's status. It is invalidated and set to nil.
460 | ///   - timeObserver: An inout reference to a generic observer (e.g., a time observer token) that needs to be removed to prevent memory leaks. It is cleared and set to nil.
461 | internal func cleanUp(
    |               `- note: add '@MainActor' to make global function 'cleanUp(player:playerLooper:errorObserver:timeControlObserver:currentItemObserver:volumeObserver:statusObserver:timeObserver:)' part of global actor 'MainActor'
462 |     player: inout AVQueuePlayer?,
463 |     playerLooper: inout AVPlayerLooper?,
    :
485 |     statusObserver = nil
486 |
487 |     player?.pause()
    |             `- warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
488 |
489 |     playerLooper?.disableLooping()
AVFoundation.AVPlayer:6:26: note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 4 |     nonisolated open var defaultRate: Float { get set }
 5 |     @MainActor open func play()
 6 |     @MainActor open func pause()
   |                          `- note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 7 |     @available(macOS 10.12, *)
 8 |     nonisolated open var timeControlStatus: AVPlayer.TimeControlStatus { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:129:34: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         if let timePublishing{
128 |             timeObserver = player.addPeriodicTimeObserver(forInterval: timePublishing, queue: .main) { [weak self] time in
129 |                 guard let self = self else{ return }
    |                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:22: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                      `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:32: warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                                `- warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:28:10: note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
26 |     /// - Parameter seconds: The amount of time, in seconds, that has passed.
27 |     @MainActor
28 |     func didPassedTime(seconds: Double)
   |          `- note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
29 |
30 |     /// A method that handles seeking in the player.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:19: warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     ///
 71 |     /// - Parameter player: The AVQueuePlayer that encountered an error.
 72 |     func handlePlayerError(_ player: AVPlayer)
    |          `- note: calls to instance method 'handlePlayerError' from outside of its actor context are implicitly asynchronous
 73 | }
 74 |
    :
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |                   `- warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 |         }
193 |
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:33: warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                                 `- warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:41:10: note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
39 |     /// This method is triggered when the player's `timeControlStatus` changes to `.paused`.
40 |     @MainActor
41 |     func didPausePlayback()
   |          `- note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
42 |
43 |     /// Called when the player is waiting to play at the specified rate.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:33: warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                                 `- warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:47:10: note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
45 |     /// This method is triggered when the player's `timeControlStatus` changes to `.waitingToPlayAtSpecifiedRate`.
46 |     @MainActor
47 |     func isWaitingToPlay()
   |          `- note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
48 |
49 |     /// Called when the player starts or resumes playing.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:33: warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                                 `- warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:53:10: note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
51 |     /// This method is triggered when the player's `timeControlStatus` changes to `.playing`.
52 |     @MainActor
53 |     func didStartPlaying()
   |          `- note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
54 |
55 |     /// Called when the current media item in the player changes.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:60:10: note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
58 |     /// - Parameter newItem: The new `AVPlayerItem` that the player has switched to, if any.
59 |     @MainActor
60 |     func currentItemDidChange(to newItem: AVPlayerItem?)
   |          `- note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
61 |
62 |     /// Called when the current media item is removed from the player.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:66:10: note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
64 |     /// This method is triggered when the player's `currentItem` is set to `nil`, indicating that there is no longer an active media item.
65 |     @MainActor
66 |     func currentItemWasRemoved()
   |          `- note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
67 |
68 |     /// Called when the volume level of the player changes.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:218:19: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                   `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:180:10: note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:33: warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                                 `- warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:73:10: note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
71 |     /// - Parameter newVolume: The new volume level, expressed as a float between 0.0 (muted) and 1.0 (maximum volume).
72 |     @MainActor
73 |     func volumeDidChange(to newVolume: Float)
   |          `- note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
[33/43] Compiling swiftui_loop_videoplayer SettingsConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:173:17: warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |                 }
172 |
173 |                 callback(item.status)
    |                 |- warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 |                 self?.clearStatusObserver()
175 |             }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |             }
176 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:23: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                       `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |             }
176 |         }
    :
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:37: warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                     `- warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:55: warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                                       `- warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:19: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
    :
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                   `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:29: warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                             `- warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:35:10: note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
33 |     ///   - currentTime: The current time of the player after seeking, in seconds.
34 |     @MainActor
35 |     func didSeek(value: Bool, currentTime: Double)
   |          `- note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
36 |
37 |     /// Called when the player has paused playback.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:413:67: warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 |
412 |             let videoComposition = AVVideoComposition(asset: item.asset, applyingCIFiltersWithHandler: { request in
413 |                 handleVideoComposition(request: request, filters: allFilters)
    |                                                                   `- warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
414 |             })
415 |
CoreImage.CIFilter:2:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class CIFilter : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
 3 |     @available(macOS 10.10, *)
 4 |     open var outputImage: CIImage? { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  8 | import AVFoundation
  9 | #if canImport(CoreImage)
 10 | import CoreImage
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 11 | #endif
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:487:13: warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
459 | ///   - statusObserver: An inout reference to an NSKeyValueObservation that observes the player's status. It is invalidated and set to nil.
460 | ///   - timeObserver: An inout reference to a generic observer (e.g., a time observer token) that needs to be removed to prevent memory leaks. It is cleared and set to nil.
461 | internal func cleanUp(
    |               `- note: add '@MainActor' to make global function 'cleanUp(player:playerLooper:errorObserver:timeControlObserver:currentItemObserver:volumeObserver:statusObserver:timeObserver:)' part of global actor 'MainActor'
462 |     player: inout AVQueuePlayer?,
463 |     playerLooper: inout AVPlayerLooper?,
    :
485 |     statusObserver = nil
486 |
487 |     player?.pause()
    |             `- warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
488 |
489 |     playerLooper?.disableLooping()
AVFoundation.AVPlayer:6:26: note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 4 |     nonisolated open var defaultRate: Float { get set }
 5 |     @MainActor open func play()
 6 |     @MainActor open func pause()
   |                          `- note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 7 |     @available(macOS 10.12, *)
 8 |     nonisolated open var timeControlStatus: AVPlayer.TimeControlStatus { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:129:34: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         if let timePublishing{
128 |             timeObserver = player.addPeriodicTimeObserver(forInterval: timePublishing, queue: .main) { [weak self] time in
129 |                 guard let self = self else{ return }
    |                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:22: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                      `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:32: warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                                `- warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:28:10: note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
26 |     /// - Parameter seconds: The amount of time, in seconds, that has passed.
27 |     @MainActor
28 |     func didPassedTime(seconds: Double)
   |          `- note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
29 |
30 |     /// A method that handles seeking in the player.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:19: warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     ///
 71 |     /// - Parameter player: The AVQueuePlayer that encountered an error.
 72 |     func handlePlayerError(_ player: AVPlayer)
    |          `- note: calls to instance method 'handlePlayerError' from outside of its actor context are implicitly asynchronous
 73 | }
 74 |
    :
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |                   `- warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 |         }
193 |
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:33: warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                                 `- warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:41:10: note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
39 |     /// This method is triggered when the player's `timeControlStatus` changes to `.paused`.
40 |     @MainActor
41 |     func didPausePlayback()
   |          `- note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
42 |
43 |     /// Called when the player is waiting to play at the specified rate.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:33: warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                                 `- warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:47:10: note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
45 |     /// This method is triggered when the player's `timeControlStatus` changes to `.waitingToPlayAtSpecifiedRate`.
46 |     @MainActor
47 |     func isWaitingToPlay()
   |          `- note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
48 |
49 |     /// Called when the player starts or resumes playing.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:33: warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                                 `- warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:53:10: note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
51 |     /// This method is triggered when the player's `timeControlStatus` changes to `.playing`.
52 |     @MainActor
53 |     func didStartPlaying()
   |          `- note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
54 |
55 |     /// Called when the current media item in the player changes.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:60:10: note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
58 |     /// - Parameter newItem: The new `AVPlayerItem` that the player has switched to, if any.
59 |     @MainActor
60 |     func currentItemDidChange(to newItem: AVPlayerItem?)
   |          `- note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
61 |
62 |     /// Called when the current media item is removed from the player.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:66:10: note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
64 |     /// This method is triggered when the player's `currentItem` is set to `nil`, indicating that there is no longer an active media item.
65 |     @MainActor
66 |     func currentItemWasRemoved()
   |          `- note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
67 |
68 |     /// Called when the volume level of the player changes.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:218:19: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                   `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:180:10: note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:33: warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                                 `- warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:73:10: note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
71 |     /// - Parameter newVolume: The new volume level, expressed as a float between 0.0 (muted) and 1.0 (maximum volume).
72 |     @MainActor
73 |     func volumeDidChange(to newVolume: Float)
   |          `- note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
[34/43] Compiling swiftui_loop_videoplayer AbstractPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:173:17: warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |                 }
172 |
173 |                 callback(item.status)
    |                 |- warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 |                 self?.clearStatusObserver()
175 |             }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |             }
176 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:23: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                       `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |             }
176 |         }
    :
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:37: warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                     `- warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:55: warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                                       `- warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:19: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
    :
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                   `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:29: warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                             `- warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:35:10: note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
33 |     ///   - currentTime: The current time of the player after seeking, in seconds.
34 |     @MainActor
35 |     func didSeek(value: Bool, currentTime: Double)
   |          `- note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
36 |
37 |     /// Called when the player has paused playback.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:413:67: warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 |
412 |             let videoComposition = AVVideoComposition(asset: item.asset, applyingCIFiltersWithHandler: { request in
413 |                 handleVideoComposition(request: request, filters: allFilters)
    |                                                                   `- warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
414 |             })
415 |
CoreImage.CIFilter:2:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class CIFilter : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
 3 |     @available(macOS 10.10, *)
 4 |     open var outputImage: CIImage? { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  8 | import AVFoundation
  9 | #if canImport(CoreImage)
 10 | import CoreImage
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 11 | #endif
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:487:13: warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
459 | ///   - statusObserver: An inout reference to an NSKeyValueObservation that observes the player's status. It is invalidated and set to nil.
460 | ///   - timeObserver: An inout reference to a generic observer (e.g., a time observer token) that needs to be removed to prevent memory leaks. It is cleared and set to nil.
461 | internal func cleanUp(
    |               `- note: add '@MainActor' to make global function 'cleanUp(player:playerLooper:errorObserver:timeControlObserver:currentItemObserver:volumeObserver:statusObserver:timeObserver:)' part of global actor 'MainActor'
462 |     player: inout AVQueuePlayer?,
463 |     playerLooper: inout AVPlayerLooper?,
    :
485 |     statusObserver = nil
486 |
487 |     player?.pause()
    |             `- warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
488 |
489 |     playerLooper?.disableLooping()
AVFoundation.AVPlayer:6:26: note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 4 |     nonisolated open var defaultRate: Float { get set }
 5 |     @MainActor open func play()
 6 |     @MainActor open func pause()
   |                          `- note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 7 |     @available(macOS 10.12, *)
 8 |     nonisolated open var timeControlStatus: AVPlayer.TimeControlStatus { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:129:34: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         if let timePublishing{
128 |             timeObserver = player.addPeriodicTimeObserver(forInterval: timePublishing, queue: .main) { [weak self] time in
129 |                 guard let self = self else{ return }
    |                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:22: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                      `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:32: warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                                `- warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:28:10: note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
26 |     /// - Parameter seconds: The amount of time, in seconds, that has passed.
27 |     @MainActor
28 |     func didPassedTime(seconds: Double)
   |          `- note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
29 |
30 |     /// A method that handles seeking in the player.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:19: warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     ///
 71 |     /// - Parameter player: The AVQueuePlayer that encountered an error.
 72 |     func handlePlayerError(_ player: AVPlayer)
    |          `- note: calls to instance method 'handlePlayerError' from outside of its actor context are implicitly asynchronous
 73 | }
 74 |
    :
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |                   `- warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 |         }
193 |
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:33: warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                                 `- warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:41:10: note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
39 |     /// This method is triggered when the player's `timeControlStatus` changes to `.paused`.
40 |     @MainActor
41 |     func didPausePlayback()
   |          `- note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
42 |
43 |     /// Called when the player is waiting to play at the specified rate.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:33: warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                                 `- warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:47:10: note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
45 |     /// This method is triggered when the player's `timeControlStatus` changes to `.waitingToPlayAtSpecifiedRate`.
46 |     @MainActor
47 |     func isWaitingToPlay()
   |          `- note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
48 |
49 |     /// Called when the player starts or resumes playing.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:33: warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                                 `- warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:53:10: note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
51 |     /// This method is triggered when the player's `timeControlStatus` changes to `.playing`.
52 |     @MainActor
53 |     func didStartPlaying()
   |          `- note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
54 |
55 |     /// Called when the current media item in the player changes.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:60:10: note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
58 |     /// - Parameter newItem: The new `AVPlayerItem` that the player has switched to, if any.
59 |     @MainActor
60 |     func currentItemDidChange(to newItem: AVPlayerItem?)
   |          `- note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
61 |
62 |     /// Called when the current media item is removed from the player.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:66:10: note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
64 |     /// This method is triggered when the player's `currentItem` is set to `nil`, indicating that there is no longer an active media item.
65 |     @MainActor
66 |     func currentItemWasRemoved()
   |          `- note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
67 |
68 |     /// Called when the volume level of the player changes.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:218:19: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                   `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:180:10: note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:33: warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                                 `- warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:73:10: note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
71 |     /// - Parameter newVolume: The new volume level, expressed as a float between 0.0 (muted) and 1.0 (maximum volume).
72 |     @MainActor
73 |     func volumeDidChange(to newVolume: Float)
   |          `- note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
[35/43] Compiling swiftui_loop_videoplayer LoopingPlayerProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:173:17: warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |                 }
172 |
173 |                 callback(item.status)
    |                 |- warning: capture of 'callback' with non-sendable type '(AVPlayerItem.Status) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 |                 self?.clearStatusObserver()
175 |             }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |             }
176 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:174:23: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |
173 |                 callback(item.status)
174 |                 self?.clearStatusObserver()
    |                       `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |             }
176 |         }
    :
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:37: warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                     `- warning: immutable value 'currentAsset' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:197:55: warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
195 |         guard currentItem?.status == .readyToPlay else{
196 |             /// The case when the video is finished and we are trying to seek back
197 |             if let currentItem, let currentAsset, let currentSettings{
    |                                                       `- warning: immutable value 'currentSettings' was never used; consider replacing with '_' or removing it
198 |
199 |                 let callback : ((AVPlayerItem.Status) -> Void)? = { [weak self] status in
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:19: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
    :
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                   `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:237:29: warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
235 |         player.seek(to: seekTime){ [weak self] value in
236 |             let currentTime = CMTimeGetSeconds(player.currentTime())
237 |             self?.delegate?.didSeek(value: value, currentTime: currentTime)
    |                             `- warning: call to main actor-isolated instance method 'didSeek(value:currentTime:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
238 |         }
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:35:10: note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
33 |     ///   - currentTime: The current time of the player after seeking, in seconds.
34 |     @MainActor
35 |     func didSeek(value: Bool, currentTime: Double)
   |          `- note: calls to instance method 'didSeek(value:currentTime:)' from outside of its actor context are implicitly asynchronous
36 |
37 |     /// Called when the player has paused playback.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:413:67: warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 |
412 |             let videoComposition = AVVideoComposition(asset: item.asset, applyingCIFiltersWithHandler: { request in
413 |                 handleVideoComposition(request: request, filters: allFilters)
    |                                                                   `- warning: capture of 'allFilters' with non-sendable type '[CIFilter]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
414 |             })
415 |
CoreImage.CIFilter:2:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class CIFilter : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
 3 |     @available(macOS 10.10, *)
 4 |     open var outputImage: CIImage? { get }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  8 | import AVFoundation
  9 | #if canImport(CoreImage)
 10 | import CoreImage
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 11 | #endif
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:487:13: warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
459 | ///   - statusObserver: An inout reference to an NSKeyValueObservation that observes the player's status. It is invalidated and set to nil.
460 | ///   - timeObserver: An inout reference to a generic observer (e.g., a time observer token) that needs to be removed to prevent memory leaks. It is cleared and set to nil.
461 | internal func cleanUp(
    |               `- note: add '@MainActor' to make global function 'cleanUp(player:playerLooper:errorObserver:timeControlObserver:currentItemObserver:volumeObserver:statusObserver:timeObserver:)' part of global actor 'MainActor'
462 |     player: inout AVQueuePlayer?,
463 |     playerLooper: inout AVPlayerLooper?,
    :
485 |     statusObserver = nil
486 |
487 |     player?.pause()
    |             `- warning: call to main actor-isolated instance method 'pause()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
488 |
489 |     playerLooper?.disableLooping()
AVFoundation.AVPlayer:6:26: note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 4 |     nonisolated open var defaultRate: Float { get set }
 5 |     @MainActor open func play()
 6 |     @MainActor open func pause()
   |                          `- note: calls to instance method 'pause()' from outside of its actor context are implicitly asynchronous
 7 |     @available(macOS 10.12, *)
 8 |     nonisolated open var timeControlStatus: AVPlayer.TimeControlStatus { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:129:34: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         if let timePublishing{
128 |             timeObserver = player.addPeriodicTimeObserver(forInterval: timePublishing, queue: .main) { [weak self] time in
129 |                 guard let self = self else{ return }
    |                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:22: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                      `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:131:32: warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |                 guard let self = self else{ return }
130 |
131 |                 self.delegate?.didPassedTime(seconds: time.seconds)
    |                                `- warning: call to main actor-isolated instance method 'didPassedTime(seconds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:28:10: note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
26 |     /// - Parameter seconds: The amount of time, in seconds, that has passed.
27 |     @MainActor
28 |     func didPassedTime(seconds: Double)
   |          `- note: calls to instance method 'didPassedTime(seconds:)' from outside of its actor context are implicitly asynchronous
29 |
30 |     /// A method that handles seeking in the player.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:13: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         }
193 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:191:19: warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     ///
 71 |     /// - Parameter player: The AVQueuePlayer that encountered an error.
 72 |     func handlePlayerError(_ player: AVPlayer)
    |          `- note: calls to instance method 'handlePlayerError' from outside of its actor context are implicitly asynchronous
 73 | }
 74 |
    :
189 |     func setupObservers(for player: AVQueuePlayer) {
190 |         errorObserver = player.observe(\.error, options: [.new]) { [weak self] player, _ in
191 |             self?.handlePlayerError(player)
    |                   `- warning: call to main actor-isolated instance method 'handlePlayerError' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
192 |         }
193 |
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:198:33: warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |             case .paused:
197 |                 // This could mean playback has stopped, but it's not specific to end of playback
198 |                 self?.delegate?.didPausePlayback()
    |                                 `- warning: call to main actor-isolated instance method 'didPausePlayback()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:41:10: note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
39 |     /// This method is triggered when the player's `timeControlStatus` changes to `.paused`.
40 |     @MainActor
41 |     func didPausePlayback()
   |          `- note: calls to instance method 'didPausePlayback()' from outside of its actor context are implicitly asynchronous
42 |
43 |     /// Called when the player is waiting to play at the specified rate.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:201:33: warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 |             case .waitingToPlayAtSpecifiedRate:
200 |                 // Player is waiting to play (e.g., buffering)
201 |                 self?.delegate?.isWaitingToPlay()
    |                                 `- warning: call to main actor-isolated instance method 'isWaitingToPlay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:47:10: note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
45 |     /// This method is triggered when the player's `timeControlStatus` changes to `.waitingToPlayAtSpecifiedRate`.
46 |     @MainActor
47 |     func isWaitingToPlay()
   |          `- note: calls to instance method 'isWaitingToPlay()' from outside of its actor context are implicitly asynchronous
48 |
49 |     /// Called when the player starts or resumes playing.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:204:33: warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 |             case .playing:
203 |                 // Player is currently playing
204 |                 self?.delegate?.didStartPlaying()
    |                                 `- warning: call to main actor-isolated instance method 'didStartPlaying()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
205 |             @unknown default:
206 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:53:10: note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
51 |     /// This method is triggered when the player's `timeControlStatus` changes to `.playing`.
52 |     @MainActor
53 |     func didStartPlaying()
   |          `- note: calls to instance method 'didStartPlaying()' from outside of its actor context are implicitly asynchronous
54 |
55 |     /// Called when the current media item in the player changes.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: call to main actor-isolated instance method 'currentItemDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:60:10: note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
58 |     /// - Parameter newItem: The new `AVPlayerItem` that the player has switched to, if any.
59 |     @MainActor
60 |     func currentItemDidChange(to newItem: AVPlayerItem?)
   |          `- note: calls to instance method 'currentItemDidChange(to:)' from outside of its actor context are implicitly asynchronous
61 |
62 |     /// Called when the current media item is removed from the player.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: call to main actor-isolated instance method 'currentItemWasRemoved()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:66:10: note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
64 |     /// This method is triggered when the player's `currentItem` is set to `nil`, indicating that there is no longer an active media item.
65 |     @MainActor
66 |     func currentItemWasRemoved()
   |          `- note: calls to instance method 'currentItemWasRemoved()' from outside of its actor context are implicitly asynchronous
67 |
68 |     /// Called when the volume level of the player changes.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:218:19: warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                   `- warning: call to main actor-isolated instance method 'clearStatusObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:180:10: note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
178 |
179 |     /// Clear status observer
180 |     func clearStatusObserver(){
    |          `- note: calls to instance method 'clearStatusObserver()' from outside of its actor context are implicitly asynchronous
181 |         statusObserver?.invalidate()
182 |         statusObserver = nil
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:17: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:23: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/AbstractPlayer.swift:29:9: note: property declared here
 27 |
 28 |     /// The delegate to be notified about errors encountered by the player.
 29 |     var delegate: PlayerDelegateProtocol? { get set }
    |         `- note: property declared here
 30 |
 31 |     /// Retrieves the current item being played.
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:223:33: warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
221 |         volumeObserver = player.observe(\.volume, options: [.new, .old]) { [weak self]  player, change in
222 |             if let newVolume = change.newValue{
223 |                 self?.delegate?.volumeDidChange(to: newVolume)
    |                                 `- warning: call to main actor-isolated instance method 'volumeDidChange(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/helpers/PlayerDelegateProtocol.swift:73:10: note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
71 |     /// - Parameter newVolume: The new volume level, expressed as a float between 0.0 (muted) and 1.0 (maximum volume).
72 |     @MainActor
73 |     func volumeDidChange(to newVolume: Float)
   |          `- note: calls to instance method 'volumeDidChange(to:)' from outside of its actor context are implicitly asynchronous
74 |
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:213:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
211 |             // Detecting when the current item is changed
212 |             if let newItem = change.newValue as? AVPlayerItem {
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-loop-videoplayer/protocol/player/LoopingPlayerProtocol.swift:215:33: warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
213 |                 self?.delegate?.currentItemDidChange(to: newItem)
214 |             } else if change.newValue == nil {
215 |                 self?.delegate?.currentItemWasRemoved()
    |                                 `- warning: sending value of non-Sendable type 'any PlayerDelegateProtocol' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
216 |             }
217 |
218 |             self?.clearStatusObserver()
    |                 `- note: access can happen concurrently
219 |         }
220 |
[36/43] Compiling swiftui_loop_videoplayer VPErrors.swift
[37/43] Compiling swiftui_loop_videoplayer Array+.swift
[38/43] Compiling swiftui_loop_videoplayer CMTime+.swift
[39/43] Compiling swiftui_loop_videoplayer URL+.swift
[40/43] Compiling swiftui_loop_videoplayer SourceName.swift
[41/43] Compiling swiftui_loop_videoplayer TimePublishing.swift
[42/43] Compiling swiftui_loop_videoplayer EColor.swift
[43/43] Compiling swiftui_loop_videoplayer EFontSize.swift
Build complete! (21.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-loop-videoplayer",
  "name" : "swiftui-loop-videoplayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "swiftui-loop-videoplayer",
      "targets" : [
        "swiftui-loop-videoplayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftui_loop_videoplayerTests",
      "module_type" : "SwiftTarget",
      "name" : "swiftui-loop-videoplayerTests",
      "path" : "Tests/swiftui-loop-videoplayerTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/swiftui-loop-videoplayerTests/Resources/swipe.mp4",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "testPlaybackCommandChangesOverTime.swift",
        "testPlayerInitialization.swift"
      ],
      "target_dependencies" : [
        "swiftui-loop-videoplayer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swiftui_loop_videoplayer",
      "module_type" : "SwiftTarget",
      "name" : "swiftui-loop-videoplayer",
      "path" : "Sources/swiftui-loop-videoplayer",
      "product_memberships" : [
        "swiftui-loop-videoplayer"
      ],
      "sources" : [
        "ExtVideoPlayer.swift",
        "enum/PlaybackCommand.swift",
        "enum/PlayerEvent.swift",
        "enum/Setting.swift",
        "enum/VPErrors.swift",
        "ext+/Array+.swift",
        "ext+/CMTime+.swift",
        "ext+/URL+.swift",
        "ext+/View+.swift",
        "fn/constraintsFn.swift",
        "fn/fn+.swift",
        "protocol/helpers/CustomView.swift",
        "protocol/helpers/PlayerDelegateProtocol.swift",
        "protocol/helpers/SettingsConvertible.swift",
        "protocol/player/AbstractPlayer.swift",
        "protocol/player/LoopingPlayerProtocol.swift",
        "protocol/vector/ShapeLayerBuilderProtocol.swift",
        "protocol/vector/VectorLayerProtocol.swift",
        "protocol/view/LoopPlayerViewProtocol.swift",
        "settings/Ext.swift",
        "settings/Gravity.swift",
        "settings/Loop.swift",
        "settings/Mute.swift",
        "settings/NotAutoPlay.swift",
        "settings/SourceName.swift",
        "settings/TimePublishing.swift",
        "settings/errors/EColor.swift",
        "settings/errors/EFontSize.swift",
        "settings/errors/ErrorGroup.swift",
        "settings/errors/ErrorWidgetOff.swift",
        "utils/SettingsBuilder.swift",
        "utils/VideoSettings.swift",
        "view/helpers/PlayerCoordinator.swift",
        "view/main/LoopPlayerMultiPlatform.swift",
        "view/modifier/OnPlayerEventChangeModifier.swift",
        "view/modifier/OnTimeChangeModifier.swift",
        "view/player/ios/LoopingPlayerUIView.swift",
        "view/player/ios/error/ErrorMsgViewIOS.swift",
        "view/player/mac/LoopingPlayerNSView.swift",
        "view/player/mac/error/ErrorMsgViewMacOS.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.