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

Failed to build AgoraUIKit_macOS, reference main (b110d3), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 22:19:28 UTC.

Build Command

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

Build Log

/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:231:15: warning: main actor-isolated instance method 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
229 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
230 |     }
231 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
232 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
233 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:106:19: note: 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' declared here
104 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt)
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
    |                   `- note: 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' declared here
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:225:15: warning: main actor-isolated instance method 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
223 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioPublishStateChange: channelId, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
224 |     }
225 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
226 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoPublishStateChange: channelId, sourceType: sourceType, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
227 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:107:19: note: 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' declared here
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
    |                   `- note: 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' declared here
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:138:15: warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
136 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamPublishedWithUrl: url, errorCode: errorCode)
137 |     }
138 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' to make this instance method not isolated to the actor
139 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, rtmpStreamingChangedToState: url, state: state, errCode: errCode)
140 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:108:19: note: 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' declared here
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
    |                   `- note: 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' declared here
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:180:15: warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
178 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, wlAccMessage: reason, action: action, wlAccMsg: wlAccMsg)
179 |     }
180 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' to make this instance method not isolated to the actor
181 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, rtmpStreamingEventWithUrl: url, eventCode: eventCode)
182 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:109:19: note: 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' declared here
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
    |                   `- note: 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' declared here
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:135:15: warning: main actor-isolated instance method 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
133 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioMuted: muted, byUid: uid)
134 |     }
135 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' to make this instance method not isolated to the actor
136 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamPublishedWithUrl: url, errorCode: errorCode)
137 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:110:19: note: 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' declared here
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
    |                   `- note: 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' declared here
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:102:15: warning: main actor-isolated instance method 'rtcEngine(_:streamUnpublishedWithUrl:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
100 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didReceive: event)
101 |     }
102 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:streamUnpublishedWithUrl:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:streamUnpublishedWithUrl:)' to make this instance method not isolated to the actor
103 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamUnpublishedWithUrl: url)
104 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:111:19: note: 'rtcEngine(_:streamUnpublishedWithUrl:)' declared here
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
    |                   `- note: 'rtcEngine(_:streamUnpublishedWithUrl:)' declared here
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:27:15: warning: main actor-isolated instance method 'rtcEngineTranscodingUpdated' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 25 |         self.agoraSettings.rtcDelegate?.rtcEngineCameraDidReady?(engine)
 26 |     }
 27 |     open func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineTranscodingUpdated' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineTranscodingUpdated' to make this instance method not isolated to the actor
 28 |         self.agoraSettings.rtcDelegate?.rtcEngineTranscodingUpdated?(engine)
 29 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:112:19: note: 'rtcEngineTranscodingUpdated' declared here
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
    |                   `- note: 'rtcEngineTranscodingUpdated' declared here
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:159:15: warning: main actor-isolated instance method 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
157 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, networkQuality: uid, txQuality: txQuality, rxQuality: rxQuality)
158 |     }
159 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' to make this instance method not isolated to the actor
160 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamInjectedStatusOfUrl: url, uid: uid, status: status)
161 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:113:19: note: 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' declared here
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
    |                   `- note: 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' declared here
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
115 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:123:15: warning: main actor-isolated instance method 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRemoteSubscribeFallbackToAudioOnly: isFallbackOrRecover, byUid: uid)
122 |     }
123 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' to make this instance method not isolated to the actor
124 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingStateChanged: state, reasonCode: reasonCode)
125 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:114:19: note: 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' declared here
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
    |                   `- note: 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' declared here
115 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int)
116 |     @available(macOS, unavailable, deprecated: 10.9, message: "Use rtcEngine:localVideoStateChangedOfState:error:sourceType instead.")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:147:15: warning: main actor-isolated instance method 'rtcEngine(_:audioMixingPositionChanged:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
145 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, licenseValidationFailure: error)
146 |     }
147 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioMixingPositionChanged:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioMixingPositionChanged:)' to make this instance method not isolated to the actor
148 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingPositionChanged: position)
149 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:115:19: note: 'rtcEngine(_:audioMixingPositionChanged:)' declared here
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
115 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int)
    |                   `- note: 'rtcEngine(_:audioMixingPositionChanged:)' declared here
116 |     @available(macOS, unavailable, deprecated: 10.9, message: "Use rtcEngine:localVideoStateChangedOfState:error:sourceType instead.")
117 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
[29/48] Compiling AgoraUIKit AgoraSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:52:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |         /// Initialiser for creating an option set
 54 |         /// - Parameter rawValue: Raw value to be applied, used for choosing the button options
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:85:27: warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    |                           |- warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allTrue' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |             ExternalVideoSettings(enabled: true, texture: true, encoded: true)
 87 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:89:27: warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    :
 87 |         }()
 88 |         /// Create instance with all properties set to `false`
 89 |         public static let allFalse: ExternalVideoSettings = {
    |                           |- warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allFalse' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |             ExternalVideoSettings(enabled: false, texture: false, encoded: false)
 91 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:215:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |     #elseif os(macOS)
214 |     /// Font size of the builtin buttons SF Symbol text
215 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |     #endif
217 |
[30/48] Compiling AgoraUIKit AgoraSingleVideoView+RtmDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:52:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |         /// Initialiser for creating an option set
 54 |         /// - Parameter rawValue: Raw value to be applied, used for choosing the button options
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:85:27: warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    |                           |- warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allTrue' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |             ExternalVideoSettings(enabled: true, texture: true, encoded: true)
 87 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:89:27: warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    :
 87 |         }()
 88 |         /// Create instance with all properties set to `false`
 89 |         public static let allFalse: ExternalVideoSettings = {
    |                           |- warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allFalse' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |             ExternalVideoSettings(enabled: false, texture: false, encoded: false)
 91 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:215:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |     #elseif os(macOS)
214 |     /// Font size of the builtin buttons SF Symbol text
215 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |     #endif
217 |
[31/48] Compiling AgoraUIKit AgoraSingleVideoView+RtmOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:52:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |         /// Initialiser for creating an option set
 54 |         /// - Parameter rawValue: Raw value to be applied, used for choosing the button options
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:85:27: warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    |                           |- warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allTrue' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |             ExternalVideoSettings(enabled: true, texture: true, encoded: true)
 87 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:89:27: warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    :
 87 |         }()
 88 |         /// Create instance with all properties set to `false`
 89 |         public static let allFalse: ExternalVideoSettings = {
    |                           |- warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allFalse' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |             ExternalVideoSettings(enabled: false, texture: false, encoded: false)
 91 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:215:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |     #elseif os(macOS)
214 |     /// Font size of the builtin buttons SF Symbol text
215 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |     #endif
217 |
[32/48] Compiling AgoraUIKit AgoraVideoViewer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:138:27: warning: static property 'floating' is not concurrency-safe because non-'Sendable' type 'AgoraVideoViewer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
130 |     }
131 |     /// Style and organisation to be applied to all the videos in this view.
132 |     public enum Style: Equatable {
    |                 `- note: consider making enum 'Style' conform to the 'Sendable' protocol
133 |         /// grid lays out all the videos in an NxN grid, regardless of how many there are.
134 |         case grid
    :
136 |         case pinned
137 |         /// Legacy, will remove in future versions
138 |         public static let floating = Style.pinned
    |                           |- warning: static property 'floating' is not concurrency-safe because non-'Sendable' type 'AgoraVideoViewer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'floating' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |         /// collection only shows the collectionview, no other UI is visible, except video controls
140 |         case collection
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: warning: main actor-isolated property 'rtmController' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
100 |
101 | /// View to contain all the video session objects, including camera feeds and buttons for settings
102 | open class AgoraVideoViewer: MPView, SingleVideoViewDelegate {
    |                                      `- note: add '@preconcurrency' to the 'SingleVideoViewDelegate' conformance to defer isolation checking to run time
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
    :
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- warning: main actor-isolated property 'rtmController' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSingleVideoView+RtmDelegate.swift:21:9: note: 'rtmController' declared here
19 |     #if canImport(AgoraRtmControl)
20 |     /// RTM Controller class for managing RTM messages
21 |     var rtmController: AgoraRtmController? { get set }
   |         `- note: 'rtmController' declared here
22 |     /// Create and send request to user to mute/unmute a device
23 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+MuteRequests.swift:92:21: warning: main actor-isolated instance method 'sendMuteRequest(to:mute:device:isForceful:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 90 |     ///   - device: Type of device (camera/microphone)
 91 |     ///   - isForceful: Whether the request should force its way through, otherwise a request is made. Cannot forcefully unmute.
 92 |     @objc open func sendMuteRequest(to rtcId: UInt, mute: Bool, device: MutingDevices, isForceful: Bool = false) {
    |                     |- warning: main actor-isolated instance method 'sendMuteRequest(to:mute:device:isForceful:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                     `- note: add 'nonisolated' to 'sendMuteRequest(to:mute:device:isForceful:)' to make this instance method not isolated to the actor
 93 |         if isForceful == true, mute == false {
 94 |             AgoraVideoViewer.agoraPrint(.error, message: "Invalid mute request")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSingleVideoView+RtmDelegate.swift:37:10: note: mark the protocol requirement 'sendMuteRequest(to:mute:device:isForceful:)' 'async' to allow actor-isolated conformances
35 |     ///   - device: Type of device (camera/microphone)
36 |     ///   - isForceful: Whether the request should force its way through, otherwise a request is made. Cannot forcefully unmute.
37 |     func sendMuteRequest(to rtcId: UInt, mute: Bool, device: AgoraVideoViewer.MutingDevices, isForceful: Bool)
   |          `- note: mark the protocol requirement 'sendMuteRequest(to:mute:device:isForceful:)' 'async' to allow actor-isolated conformances
38 |
39 |     #endif
[33/48] Compiling AgoraUIKit AgoraViewer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:138:27: warning: static property 'floating' is not concurrency-safe because non-'Sendable' type 'AgoraVideoViewer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
130 |     }
131 |     /// Style and organisation to be applied to all the videos in this view.
132 |     public enum Style: Equatable {
    |                 `- note: consider making enum 'Style' conform to the 'Sendable' protocol
133 |         /// grid lays out all the videos in an NxN grid, regardless of how many there are.
134 |         case grid
    :
136 |         case pinned
137 |         /// Legacy, will remove in future versions
138 |         public static let floating = Style.pinned
    |                           |- warning: static property 'floating' is not concurrency-safe because non-'Sendable' type 'AgoraVideoViewer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'floating' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |         /// collection only shows the collectionview, no other UI is visible, except video controls
140 |         case collection
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: warning: main actor-isolated property 'rtmController' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
100 |
101 | /// View to contain all the video session objects, including camera feeds and buttons for settings
102 | open class AgoraVideoViewer: MPView, SingleVideoViewDelegate {
    |                                      `- note: add '@preconcurrency' to the 'SingleVideoViewDelegate' conformance to defer isolation checking to run time
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
    :
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- warning: main actor-isolated property 'rtmController' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSingleVideoView+RtmDelegate.swift:21:9: note: 'rtmController' declared here
19 |     #if canImport(AgoraRtmControl)
20 |     /// RTM Controller class for managing RTM messages
21 |     var rtmController: AgoraRtmController? { get set }
   |         `- note: 'rtmController' declared here
22 |     /// Create and send request to user to mute/unmute a device
23 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+MuteRequests.swift:92:21: warning: main actor-isolated instance method 'sendMuteRequest(to:mute:device:isForceful:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 90 |     ///   - device: Type of device (camera/microphone)
 91 |     ///   - isForceful: Whether the request should force its way through, otherwise a request is made. Cannot forcefully unmute.
 92 |     @objc open func sendMuteRequest(to rtcId: UInt, mute: Bool, device: MutingDevices, isForceful: Bool = false) {
    |                     |- warning: main actor-isolated instance method 'sendMuteRequest(to:mute:device:isForceful:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                     `- note: add 'nonisolated' to 'sendMuteRequest(to:mute:device:isForceful:)' to make this instance method not isolated to the actor
 93 |         if isForceful == true, mute == false {
 94 |             AgoraVideoViewer.agoraPrint(.error, message: "Invalid mute request")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSingleVideoView+RtmDelegate.swift:37:10: note: mark the protocol requirement 'sendMuteRequest(to:mute:device:isForceful:)' 'async' to allow actor-isolated conformances
35 |     ///   - device: Type of device (camera/microphone)
36 |     ///   - isForceful: Whether the request should force its way through, otherwise a request is made. Cannot forcefully unmute.
37 |     func sendMuteRequest(to rtcId: UInt, mute: Bool, device: AgoraVideoViewer.MutingDevices, isForceful: Bool)
   |          `- note: mark the protocol requirement 'sendMuteRequest(to:mute:device:isForceful:)' 'async' to allow actor-isolated conformances
38 |
39 |     #endif
[34/48] Compiling AgoraUIKit AgoraSingleVideoView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:157:17: warning: main actor-isolated instance method 'rtmChannelJoined(name:channel:code:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 83 | import AgoraRtmControl
 84 |
 85 | extension AgoraVideoViewer: RtmControllerDelegate {
    |                             `- note: add '@preconcurrency' to the 'RtmControllerDelegate' conformance to defer isolation checking to run time
 86 |
 87 |     public func rtmStateChanged(
    :
155 |         self.delegate?.incomingPongRequest(from: peerId)
156 |     }
157 |     public func rtmChannelJoined(
    |                 |- warning: main actor-isolated instance method 'rtmChannelJoined(name:channel:code:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtmChannelJoined(name:channel:code:)' to make this instance method not isolated to the actor
158 |         name: String, channel: AgoraRtmChannel, code: AgoraRtmJoinChannelErrorCode
159 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:17:10: note: mark the protocol requirement 'rtmChannelJoined(name:channel:code:)' 'async' to allow actor-isolated conformances
 15 |     ///   - channel: instance of joined `AgoraRtmChannel`
 16 |     ///   - code: Error codes related to joining a channel.
 17 |     func rtmChannelJoined(
    |          `- note: mark the protocol requirement 'rtmChannelJoined(name:channel:code:)' 'async' to allow actor-isolated conformances
 18 |         name: String, channel: AgoraRtmChannel,
 19 |         code: AgoraRtmJoinChannelErrorCode
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:104:16: warning: main actor-isolated property 'rtcLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 | open class AgoraVideoViewer: MPView, SingleVideoViewDelegate {
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
    |                `- warning: main actor-isolated property 'rtcLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
105 |     public var rtmLookup: [String: Codable] = [:]
106 |
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:23:9: note: 'rtcLookup' declared here
 21 |
 22 |     /// Lookup remote user RTM ID based on their RTC ID
 23 |     var rtcLookup: [UInt: String] { get set }
    |         `- note: 'rtcLookup' declared here
 24 |     /// Get remote user data from their RTM ID
 25 |     var rtmLookup: [String: Codable] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:105:16: warning: main actor-isolated property 'rtmLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
105 |     public var rtmLookup: [String: Codable] = [:]
    |                `- warning: main actor-isolated property 'rtmLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
106 |
107 |     public internal(set) var customCamera: AgoraCameraSourcePush?
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:25:9: note: 'rtmLookup' declared here
 23 |     var rtcLookup: [UInt: String] { get set }
 24 |     /// Get remote user data from their RTM ID
 25 |     var rtmLookup: [String: Codable] { get set }
    |         `- note: 'rtmLookup' declared here
 26 |
 27 |     /// Delegate used for RTM
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:165:16: warning: main actor-isolated property 'rtmDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
163 |         self.delegate?.rtmChannelJoined(name: name, channel: channel, code: code)
164 |     }
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
    |                `- warning: main actor-isolated property 'rtmDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:28:9: note: 'rtmDelegate' declared here
 26 |
 27 |     /// Delegate used for RTM
 28 |     var rtmDelegate: AgoraRtmDelegate? { get }
    |         `- note: 'rtmDelegate' declared here
 29 |     /// Delegate used for RTM channel messages
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:166:16: warning: main actor-isolated property 'rtmChannelDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
164 |     }
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
    |                `- warning: main actor-isolated property 'rtmChannelDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
168 |         self.sendPersonalData(to: member.userId)
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:30:9: note: 'rtmChannelDelegate' declared here
 28 |     var rtmDelegate: AgoraRtmDelegate? { get }
 29 |     /// Delegate used for RTM channel messages
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
    |         `- note: 'rtmChannelDelegate' declared here
 31 |     /// ID used by RTM
 32 |     var rtmId: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:143:16: warning: main actor-isolated property 'rtmId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
141 |
142 |     /// Agora Real-time Messaging Identifier (Agora RTM SDK).
143 |     public var rtmId: String { self.connectionData.rtmId }
    |                `- warning: main actor-isolated property 'rtmId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
144 |     /// Agora Real-time Communication Identifier (Agora Video/Audio SDK).
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:32:9: note: 'rtmId' declared here
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
 31 |     /// ID used by RTM
 32 |     var rtmId: String { get }
    |         `- note: 'rtmId' declared here
 33 |     /// ID used by RTC
 34 |     var rtcId: UInt? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:145:16: warning: main actor-isolated property 'rtcId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
143 |     public var rtmId: String { self.connectionData.rtmId }
144 |     /// Agora Real-time Communication Identifier (Agora Video/Audio SDK).
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
    |                `- warning: main actor-isolated property 'rtcId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
146 |     /// Agora App ID from https://agora.io
147 |     public var appId: String { self.connectionData.appId }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:34:9: note: 'rtcId' declared here
 32 |     var rtmId: String { get }
 33 |     /// ID used by RTC
 34 |     var rtcId: UInt? { get }
    |         `- note: 'rtcId' declared here
 35 |     /// App ID used, found on console.agora.io
 36 |     var appId: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:147:16: warning: main actor-isolated property 'appId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
146 |     /// Agora App ID from https://agora.io
147 |     public var appId: String { self.connectionData.appId }
    |                `- warning: main actor-isolated property 'appId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
148 |     /// Token to be used to connect to a RTM channel, can be nil.
149 |     public var rtmToken: String? {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:36:9: note: 'appId' declared here
 34 |     var rtcId: UInt? { get }
 35 |     /// App ID used, found on console.agora.io
 36 |     var appId: String { get }
    |         `- note: 'appId' declared here
 37 |     /// Token to connect to Agora RTM
 38 |     var rtmToken: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:149:16: warning: main actor-isolated property 'rtmToken' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
147 |     public var appId: String { self.connectionData.appId }
148 |     /// Token to be used to connect to a RTM channel, can be nil.
149 |     public var rtmToken: String? {
    |                `- warning: main actor-isolated property 'rtmToken' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
150 |         get { self.connectionData.rtmToken }
151 |         set { self.connectionData.rtmToken = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:38:9: note: 'rtmToken' declared here
 36 |     var appId: String { get }
 37 |     /// Token to connect to Agora RTM
 38 |     var rtmToken: String? { get set }
    |         `- note: 'rtmToken' declared here
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:348:31: warning: main actor-isolated property 'tokenURL' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
346 |
347 |     /// Used by storyboard to set the AgoraSettings tokenURL
348 |     @IBInspectable public var tokenURL: String? {
    |                               `- warning: main actor-isolated property 'tokenURL' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
349 |         get { self.agoraSettings.tokenURL }
350 |         set {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:40:9: note: 'tokenURL' declared here
 38 |     var rtmToken: String? { get set }
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
    |         `- note: 'tokenURL' declared here
 41 |     func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember)
 42 |     /// Method to catch messages incoming from RTM, used to decode them and run any relevant actions
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:167:17: warning: main actor-isolated instance method 'channel(_:memberJoined:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
    |                 |- warning: main actor-isolated instance method 'channel(_:memberJoined:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'channel(_:memberJoined:)' to make this instance method not isolated to the actor
168 |         self.sendPersonalData(to: member.userId)
169 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:41:10: note: mark the protocol requirement 'channel(_:memberJoined:)' 'async' to allow actor-isolated conformances
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
 41 |     func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember)
    |          `- note: mark the protocol requirement 'channel(_:memberJoined:)' 'async' to allow actor-isolated conformances
 42 |     /// Method to catch messages incoming from RTM, used to decode them and run any relevant actions
 43 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:95:17: warning: main actor-isolated instance method 'decodeMessage(message:from:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 93 |     ///   - message: Incoming RTM message.
 94 |     ///   - peerId: Id of the peer this message is coming from
 95 |     public func decodeMessage(message: AgoraRtmMessage, from peerId: String) {
    |                 |- warning: main actor-isolated instance method 'decodeMessage(message:from:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'decodeMessage(message:from:)' to make this instance method not isolated to the actor
 96 |         var messageData: Data!
 97 |         if let message = message as? AgoraRtmRawMessage {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:46:10: note: mark the protocol requirement 'decodeMessage(message:from:)' 'async' to allow actor-isolated conformances
 44 |     ///   - message: Message received from RTM
 45 |     ///   - peerId: ID of the user who sent the message
 46 |     func decodeMessage(message: AgoraRtmMessage, from peerId: String)
    |          `- note: mark the protocol requirement 'decodeMessage(message:from:)' 'async' to allow actor-isolated conformances
 47 |     /// State of the RTM Controller has changed
 48 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:87:17: warning: main actor-isolated instance method 'rtmStateChanged(from:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 85 | extension AgoraVideoViewer: RtmControllerDelegate {
 86 |
 87 |     public func rtmStateChanged(
    |                 |- warning: main actor-isolated instance method 'rtmStateChanged(from:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtmStateChanged(from:to:)' to make this instance method not isolated to the actor
 88 |         from oldState: AgoraRtmController.RTMStatus, to newState: AgoraRtmController.RTMStatus
 89 |     ) { self.delegate?.rtmStateChanged(from: oldState, to: newState) }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:51:10: note: mark the protocol requirement 'rtmStateChanged(from:to:)' 'async' to allow actor-isolated conformances
 49 |     ///   - oldState: Previous state of AgoraRtmController
 50 |     ///   - newState: New state of AgoraRtmController
 51 |     func rtmStateChanged(from oldState: AgoraRtmController.RTMStatus, to newState: AgoraRtmController.RTMStatus)
    |          `- note: mark the protocol requirement 'rtmStateChanged(from:to:)' 'async' to allow actor-isolated conformances
 52 | }
 53 |
[35/48] Compiling AgoraUIKit AgoraUIKit+AgoraRtmController+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:157:17: warning: main actor-isolated instance method 'rtmChannelJoined(name:channel:code:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 83 | import AgoraRtmControl
 84 |
 85 | extension AgoraVideoViewer: RtmControllerDelegate {
    |                             `- note: add '@preconcurrency' to the 'RtmControllerDelegate' conformance to defer isolation checking to run time
 86 |
 87 |     public func rtmStateChanged(
    :
155 |         self.delegate?.incomingPongRequest(from: peerId)
156 |     }
157 |     public func rtmChannelJoined(
    |                 |- warning: main actor-isolated instance method 'rtmChannelJoined(name:channel:code:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtmChannelJoined(name:channel:code:)' to make this instance method not isolated to the actor
158 |         name: String, channel: AgoraRtmChannel, code: AgoraRtmJoinChannelErrorCode
159 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:17:10: note: mark the protocol requirement 'rtmChannelJoined(name:channel:code:)' 'async' to allow actor-isolated conformances
 15 |     ///   - channel: instance of joined `AgoraRtmChannel`
 16 |     ///   - code: Error codes related to joining a channel.
 17 |     func rtmChannelJoined(
    |          `- note: mark the protocol requirement 'rtmChannelJoined(name:channel:code:)' 'async' to allow actor-isolated conformances
 18 |         name: String, channel: AgoraRtmChannel,
 19 |         code: AgoraRtmJoinChannelErrorCode
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:104:16: warning: main actor-isolated property 'rtcLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 | open class AgoraVideoViewer: MPView, SingleVideoViewDelegate {
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
    |                `- warning: main actor-isolated property 'rtcLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
105 |     public var rtmLookup: [String: Codable] = [:]
106 |
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:23:9: note: 'rtcLookup' declared here
 21 |
 22 |     /// Lookup remote user RTM ID based on their RTC ID
 23 |     var rtcLookup: [UInt: String] { get set }
    |         `- note: 'rtcLookup' declared here
 24 |     /// Get remote user data from their RTM ID
 25 |     var rtmLookup: [String: Codable] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:105:16: warning: main actor-isolated property 'rtmLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
105 |     public var rtmLookup: [String: Codable] = [:]
    |                `- warning: main actor-isolated property 'rtmLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
106 |
107 |     public internal(set) var customCamera: AgoraCameraSourcePush?
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:25:9: note: 'rtmLookup' declared here
 23 |     var rtcLookup: [UInt: String] { get set }
 24 |     /// Get remote user data from their RTM ID
 25 |     var rtmLookup: [String: Codable] { get set }
    |         `- note: 'rtmLookup' declared here
 26 |
 27 |     /// Delegate used for RTM
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:165:16: warning: main actor-isolated property 'rtmDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
163 |         self.delegate?.rtmChannelJoined(name: name, channel: channel, code: code)
164 |     }
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
    |                `- warning: main actor-isolated property 'rtmDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:28:9: note: 'rtmDelegate' declared here
 26 |
 27 |     /// Delegate used for RTM
 28 |     var rtmDelegate: AgoraRtmDelegate? { get }
    |         `- note: 'rtmDelegate' declared here
 29 |     /// Delegate used for RTM channel messages
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:166:16: warning: main actor-isolated property 'rtmChannelDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
164 |     }
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
    |                `- warning: main actor-isolated property 'rtmChannelDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
168 |         self.sendPersonalData(to: member.userId)
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:30:9: note: 'rtmChannelDelegate' declared here
 28 |     var rtmDelegate: AgoraRtmDelegate? { get }
 29 |     /// Delegate used for RTM channel messages
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
    |         `- note: 'rtmChannelDelegate' declared here
 31 |     /// ID used by RTM
 32 |     var rtmId: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:143:16: warning: main actor-isolated property 'rtmId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
141 |
142 |     /// Agora Real-time Messaging Identifier (Agora RTM SDK).
143 |     public var rtmId: String { self.connectionData.rtmId }
    |                `- warning: main actor-isolated property 'rtmId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
144 |     /// Agora Real-time Communication Identifier (Agora Video/Audio SDK).
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:32:9: note: 'rtmId' declared here
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
 31 |     /// ID used by RTM
 32 |     var rtmId: String { get }
    |         `- note: 'rtmId' declared here
 33 |     /// ID used by RTC
 34 |     var rtcId: UInt? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:145:16: warning: main actor-isolated property 'rtcId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
143 |     public var rtmId: String { self.connectionData.rtmId }
144 |     /// Agora Real-time Communication Identifier (Agora Video/Audio SDK).
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
    |                `- warning: main actor-isolated property 'rtcId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
146 |     /// Agora App ID from https://agora.io
147 |     public var appId: String { self.connectionData.appId }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:34:9: note: 'rtcId' declared here
 32 |     var rtmId: String { get }
 33 |     /// ID used by RTC
 34 |     var rtcId: UInt? { get }
    |         `- note: 'rtcId' declared here
 35 |     /// App ID used, found on console.agora.io
 36 |     var appId: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:147:16: warning: main actor-isolated property 'appId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
146 |     /// Agora App ID from https://agora.io
147 |     public var appId: String { self.connectionData.appId }
    |                `- warning: main actor-isolated property 'appId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
148 |     /// Token to be used to connect to a RTM channel, can be nil.
149 |     public var rtmToken: String? {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:36:9: note: 'appId' declared here
 34 |     var rtcId: UInt? { get }
 35 |     /// App ID used, found on console.agora.io
 36 |     var appId: String { get }
    |         `- note: 'appId' declared here
 37 |     /// Token to connect to Agora RTM
 38 |     var rtmToken: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:149:16: warning: main actor-isolated property 'rtmToken' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
147 |     public var appId: String { self.connectionData.appId }
148 |     /// Token to be used to connect to a RTM channel, can be nil.
149 |     public var rtmToken: String? {
    |                `- warning: main actor-isolated property 'rtmToken' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
150 |         get { self.connectionData.rtmToken }
151 |         set { self.connectionData.rtmToken = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:38:9: note: 'rtmToken' declared here
 36 |     var appId: String { get }
 37 |     /// Token to connect to Agora RTM
 38 |     var rtmToken: String? { get set }
    |         `- note: 'rtmToken' declared here
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:348:31: warning: main actor-isolated property 'tokenURL' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
346 |
347 |     /// Used by storyboard to set the AgoraSettings tokenURL
348 |     @IBInspectable public var tokenURL: String? {
    |                               `- warning: main actor-isolated property 'tokenURL' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
349 |         get { self.agoraSettings.tokenURL }
350 |         set {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:40:9: note: 'tokenURL' declared here
 38 |     var rtmToken: String? { get set }
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
    |         `- note: 'tokenURL' declared here
 41 |     func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember)
 42 |     /// Method to catch messages incoming from RTM, used to decode them and run any relevant actions
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:167:17: warning: main actor-isolated instance method 'channel(_:memberJoined:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
    |                 |- warning: main actor-isolated instance method 'channel(_:memberJoined:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'channel(_:memberJoined:)' to make this instance method not isolated to the actor
168 |         self.sendPersonalData(to: member.userId)
169 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:41:10: note: mark the protocol requirement 'channel(_:memberJoined:)' 'async' to allow actor-isolated conformances
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
 41 |     func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember)
    |          `- note: mark the protocol requirement 'channel(_:memberJoined:)' 'async' to allow actor-isolated conformances
 42 |     /// Method to catch messages incoming from RTM, used to decode them and run any relevant actions
 43 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:95:17: warning: main actor-isolated instance method 'decodeMessage(message:from:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 93 |     ///   - message: Incoming RTM message.
 94 |     ///   - peerId: Id of the peer this message is coming from
 95 |     public func decodeMessage(message: AgoraRtmMessage, from peerId: String) {
    |                 |- warning: main actor-isolated instance method 'decodeMessage(message:from:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'decodeMessage(message:from:)' to make this instance method not isolated to the actor
 96 |         var messageData: Data!
 97 |         if let message = message as? AgoraRtmRawMessage {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:46:10: note: mark the protocol requirement 'decodeMessage(message:from:)' 'async' to allow actor-isolated conformances
 44 |     ///   - message: Message received from RTM
 45 |     ///   - peerId: ID of the user who sent the message
 46 |     func decodeMessage(message: AgoraRtmMessage, from peerId: String)
    |          `- note: mark the protocol requirement 'decodeMessage(message:from:)' 'async' to allow actor-isolated conformances
 47 |     /// State of the RTM Controller has changed
 48 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:87:17: warning: main actor-isolated instance method 'rtmStateChanged(from:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 85 | extension AgoraVideoViewer: RtmControllerDelegate {
 86 |
 87 |     public func rtmStateChanged(
    |                 |- warning: main actor-isolated instance method 'rtmStateChanged(from:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtmStateChanged(from:to:)' to make this instance method not isolated to the actor
 88 |         from oldState: AgoraRtmController.RTMStatus, to newState: AgoraRtmController.RTMStatus
 89 |     ) { self.delegate?.rtmStateChanged(from: oldState, to: newState) }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:51:10: note: mark the protocol requirement 'rtmStateChanged(from:to:)' 'async' to allow actor-isolated conformances
 49 |     ///   - oldState: Previous state of AgoraRtmController
 50 |     ///   - newState: New state of AgoraRtmController
 51 |     func rtmStateChanged(from oldState: AgoraRtmController.RTMStatus, to newState: AgoraRtmController.RTMStatus)
    |          `- note: mark the protocol requirement 'rtmStateChanged(from:to:)' 'async' to allow actor-isolated conformances
 52 | }
 53 |
[36/48] Compiling AgoraUIKit AgoraUIKit+AgoraRtmController+MuteRequests.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:157:17: warning: main actor-isolated instance method 'rtmChannelJoined(name:channel:code:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 83 | import AgoraRtmControl
 84 |
 85 | extension AgoraVideoViewer: RtmControllerDelegate {
    |                             `- note: add '@preconcurrency' to the 'RtmControllerDelegate' conformance to defer isolation checking to run time
 86 |
 87 |     public func rtmStateChanged(
    :
155 |         self.delegate?.incomingPongRequest(from: peerId)
156 |     }
157 |     public func rtmChannelJoined(
    |                 |- warning: main actor-isolated instance method 'rtmChannelJoined(name:channel:code:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtmChannelJoined(name:channel:code:)' to make this instance method not isolated to the actor
158 |         name: String, channel: AgoraRtmChannel, code: AgoraRtmJoinChannelErrorCode
159 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:17:10: note: mark the protocol requirement 'rtmChannelJoined(name:channel:code:)' 'async' to allow actor-isolated conformances
 15 |     ///   - channel: instance of joined `AgoraRtmChannel`
 16 |     ///   - code: Error codes related to joining a channel.
 17 |     func rtmChannelJoined(
    |          `- note: mark the protocol requirement 'rtmChannelJoined(name:channel:code:)' 'async' to allow actor-isolated conformances
 18 |         name: String, channel: AgoraRtmChannel,
 19 |         code: AgoraRtmJoinChannelErrorCode
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:104:16: warning: main actor-isolated property 'rtcLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 | open class AgoraVideoViewer: MPView, SingleVideoViewDelegate {
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
    |                `- warning: main actor-isolated property 'rtcLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
105 |     public var rtmLookup: [String: Codable] = [:]
106 |
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:23:9: note: 'rtcLookup' declared here
 21 |
 22 |     /// Lookup remote user RTM ID based on their RTC ID
 23 |     var rtcLookup: [UInt: String] { get set }
    |         `- note: 'rtcLookup' declared here
 24 |     /// Get remote user data from their RTM ID
 25 |     var rtmLookup: [String: Codable] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:105:16: warning: main actor-isolated property 'rtmLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
103 |
104 |     public var rtcLookup: [UInt: String] = [:]
105 |     public var rtmLookup: [String: Codable] = [:]
    |                `- warning: main actor-isolated property 'rtmLookup' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
106 |
107 |     public internal(set) var customCamera: AgoraCameraSourcePush?
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:25:9: note: 'rtmLookup' declared here
 23 |     var rtcLookup: [UInt: String] { get set }
 24 |     /// Get remote user data from their RTM ID
 25 |     var rtmLookup: [String: Codable] { get set }
    |         `- note: 'rtmLookup' declared here
 26 |
 27 |     /// Delegate used for RTM
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:165:16: warning: main actor-isolated property 'rtmDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
163 |         self.delegate?.rtmChannelJoined(name: name, channel: channel, code: code)
164 |     }
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
    |                `- warning: main actor-isolated property 'rtmDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:28:9: note: 'rtmDelegate' declared here
 26 |
 27 |     /// Delegate used for RTM
 28 |     var rtmDelegate: AgoraRtmDelegate? { get }
    |         `- note: 'rtmDelegate' declared here
 29 |     /// Delegate used for RTM channel messages
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:166:16: warning: main actor-isolated property 'rtmChannelDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
164 |     }
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
    |                `- warning: main actor-isolated property 'rtmChannelDelegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
168 |         self.sendPersonalData(to: member.userId)
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:30:9: note: 'rtmChannelDelegate' declared here
 28 |     var rtmDelegate: AgoraRtmDelegate? { get }
 29 |     /// Delegate used for RTM channel messages
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
    |         `- note: 'rtmChannelDelegate' declared here
 31 |     /// ID used by RTM
 32 |     var rtmId: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:143:16: warning: main actor-isolated property 'rtmId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
141 |
142 |     /// Agora Real-time Messaging Identifier (Agora RTM SDK).
143 |     public var rtmId: String { self.connectionData.rtmId }
    |                `- warning: main actor-isolated property 'rtmId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
144 |     /// Agora Real-time Communication Identifier (Agora Video/Audio SDK).
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:32:9: note: 'rtmId' declared here
 30 |     var rtmChannelDelegate: AgoraRtmChannelDelegate? { get }
 31 |     /// ID used by RTM
 32 |     var rtmId: String { get }
    |         `- note: 'rtmId' declared here
 33 |     /// ID used by RTC
 34 |     var rtcId: UInt? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:145:16: warning: main actor-isolated property 'rtcId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
143 |     public var rtmId: String { self.connectionData.rtmId }
144 |     /// Agora Real-time Communication Identifier (Agora Video/Audio SDK).
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
    |                `- warning: main actor-isolated property 'rtcId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
146 |     /// Agora App ID from https://agora.io
147 |     public var appId: String { self.connectionData.appId }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:34:9: note: 'rtcId' declared here
 32 |     var rtmId: String { get }
 33 |     /// ID used by RTC
 34 |     var rtcId: UInt? { get }
    |         `- note: 'rtcId' declared here
 35 |     /// App ID used, found on console.agora.io
 36 |     var appId: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:147:16: warning: main actor-isolated property 'appId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
145 |     public var rtcId: UInt? { self.connectionData.rtcId }
146 |     /// Agora App ID from https://agora.io
147 |     public var appId: String { self.connectionData.appId }
    |                `- warning: main actor-isolated property 'appId' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
148 |     /// Token to be used to connect to a RTM channel, can be nil.
149 |     public var rtmToken: String? {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:36:9: note: 'appId' declared here
 34 |     var rtcId: UInt? { get }
 35 |     /// App ID used, found on console.agora.io
 36 |     var appId: String { get }
    |         `- note: 'appId' declared here
 37 |     /// Token to connect to Agora RTM
 38 |     var rtmToken: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:149:16: warning: main actor-isolated property 'rtmToken' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
147 |     public var appId: String { self.connectionData.appId }
148 |     /// Token to be used to connect to a RTM channel, can be nil.
149 |     public var rtmToken: String? {
    |                `- warning: main actor-isolated property 'rtmToken' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
150 |         get { self.connectionData.rtmToken }
151 |         set { self.connectionData.rtmToken = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:38:9: note: 'rtmToken' declared here
 36 |     var appId: String { get }
 37 |     /// Token to connect to Agora RTM
 38 |     var rtmToken: String? { get set }
    |         `- note: 'rtmToken' declared here
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:348:31: warning: main actor-isolated property 'tokenURL' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
346 |
347 |     /// Used by storyboard to set the AgoraSettings tokenURL
348 |     @IBInspectable public var tokenURL: String? {
    |                               `- warning: main actor-isolated property 'tokenURL' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
349 |         get { self.agoraSettings.tokenURL }
350 |         set {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:40:9: note: 'tokenURL' declared here
 38 |     var rtmToken: String? { get set }
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
    |         `- note: 'tokenURL' declared here
 41 |     func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember)
 42 |     /// Method to catch messages incoming from RTM, used to decode them and run any relevant actions
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:167:17: warning: main actor-isolated instance method 'channel(_:memberJoined:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
165 |     public var rtmDelegate: AgoraRtmDelegate? { self.agoraSettings.rtmDelegate }
166 |     public var rtmChannelDelegate: AgoraRtmChannelDelegate? { self.agoraSettings.rtmChannelDelegate }
167 |     public func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember) {
    |                 |- warning: main actor-isolated instance method 'channel(_:memberJoined:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'channel(_:memberJoined:)' to make this instance method not isolated to the actor
168 |         self.sendPersonalData(to: member.userId)
169 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:41:10: note: mark the protocol requirement 'channel(_:memberJoined:)' 'async' to allow actor-isolated conformances
 39 |     /// URL for fetching Agora RTM tokens
 40 |     var tokenURL: String? { get set }
 41 |     func channel(_ channel: AgoraRtmChannel, memberJoined member: AgoraRtmMember)
    |          `- note: mark the protocol requirement 'channel(_:memberJoined:)' 'async' to allow actor-isolated conformances
 42 |     /// Method to catch messages incoming from RTM, used to decode them and run any relevant actions
 43 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:95:17: warning: main actor-isolated instance method 'decodeMessage(message:from:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 93 |     ///   - message: Incoming RTM message.
 94 |     ///   - peerId: Id of the peer this message is coming from
 95 |     public func decodeMessage(message: AgoraRtmMessage, from peerId: String) {
    |                 |- warning: main actor-isolated instance method 'decodeMessage(message:from:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'decodeMessage(message:from:)' to make this instance method not isolated to the actor
 96 |         var messageData: Data!
 97 |         if let message = message as? AgoraRtmRawMessage {
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:46:10: note: mark the protocol requirement 'decodeMessage(message:from:)' 'async' to allow actor-isolated conformances
 44 |     ///   - message: Message received from RTM
 45 |     ///   - peerId: ID of the user who sent the message
 46 |     func decodeMessage(message: AgoraRtmMessage, from peerId: String)
    |          `- note: mark the protocol requirement 'decodeMessage(message:from:)' 'async' to allow actor-isolated conformances
 47 |     /// State of the RTM Controller has changed
 48 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraUIKit+AgoraRtmController+Extensions.swift:87:17: warning: main actor-isolated instance method 'rtmStateChanged(from:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 85 | extension AgoraVideoViewer: RtmControllerDelegate {
 86 |
 87 |     public func rtmStateChanged(
    |                 |- warning: main actor-isolated instance method 'rtmStateChanged(from:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtmStateChanged(from:to:)' to make this instance method not isolated to the actor
 88 |         from oldState: AgoraRtmController.RTMStatus, to newState: AgoraRtmController.RTMStatus
 89 |     ) { self.delegate?.rtmStateChanged(from: oldState, to: newState) }
/Users/admin/builder/spi-builder-workspace/Sources/AgoraRtmControl/AgoraRtmController.swift:51:10: note: mark the protocol requirement 'rtmStateChanged(from:to:)' 'async' to allow actor-isolated conformances
 49 |     ///   - oldState: Previous state of AgoraRtmController
 50 |     ///   - newState: New state of AgoraRtmController
 51 |     func rtmStateChanged(from oldState: AgoraRtmController.RTMStatus, to newState: AgoraRtmController.RTMStatus)
    |          `- note: mark the protocol requirement 'rtmStateChanged(from:to:)' 'async' to allow actor-isolated conformances
 52 | }
 53 |
[37/48] Compiling AgoraUIKit AgoraUIKit+AgoraRtmController+SendHelpers.swift
[38/48] Compiling AgoraUIKit AgoraUIKit+MD5.swift
[39/48] Compiling AgoraUIKit AgoraUIKit.swift
[40/48] Compiling AgoraUIKit AgoraVideoViewer+Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Token.swift:51:21: warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |             guard let data = data else {
50 |                 if let err = err {
51 |                     callback(.failure(err))
   |                     |- warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> 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'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[41/48] Compiling AgoraUIKit AgoraVideoViewer+RtcEngineDelegateOverflow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Token.swift:51:21: warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |             guard let data = data else {
50 |                 if let err = err {
51 |                     callback(.failure(err))
   |                     |- warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> 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'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[42/48] Compiling AgoraUIKit AgoraVideoViewer+Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Token.swift:51:21: warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |             guard let data = data else {
50 |                 if let err = err {
51 |                     callback(.failure(err))
   |                     |- warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> 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'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[43/48] Compiling AgoraUIKit AgoraCameraSourcePush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:157:33: warning: main actor-isolated property 'previewLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 | open class CustomVideoSourcePreview: MPView {
 41 |     /// Layer that displays video from a camera device.
 42 |     open private(set) var previewLayer: AVCaptureVideoPreviewLayer?
    |                           `- note: property declared here
 43 |
 44 |     /// Add new frame to the preview layer
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
    |                                 `- warning: main actor-isolated property 'previewLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:182:36: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
180 |
181 |         captureQueue.async { [weak self] in
182 |             guard let strongSelf = self else {
    |                                    `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:185:41: warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
AVFoundation.AVCaptureDevice:2:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVCaptureDevice : NSObject {
   |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 11 | import AppKit
 12 | #endif
 13 | import AVFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 14 | import AgoraRtcKit
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:198:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
196 |         self.currentOutput?.setSampleBufferDelegate(self, queue: self.captureQueue)
197 |         self.captureQueue.async { [weak self] in
198 |             self?.captureSession.startRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |         }
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:205:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
203 |         self.currentOutput?.setSampleBufferDelegate(nil, queue: nil)
204 |         self.captureQueue.async { [weak self] in
205 |             self?.captureSession.stopRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |         }
207 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  `- warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 |                 rotation: imgRot, timeStamp: time
254 |             )
CoreVideo.CVBuffer:1:14: note: class 'CVBuffer' does not conform to the 'Sendable' protocol
1 | public class CVBuffer : _CFObject {
  |              `- note: class 'CVBuffer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  |- warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'pixelBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
253 |                 rotation: imgRot, timeStamp: time
254 |             )
[44/48] Compiling AgoraUIKit AgoraCollectionViewer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:157:33: warning: main actor-isolated property 'previewLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 | open class CustomVideoSourcePreview: MPView {
 41 |     /// Layer that displays video from a camera device.
 42 |     open private(set) var previewLayer: AVCaptureVideoPreviewLayer?
    |                           `- note: property declared here
 43 |
 44 |     /// Add new frame to the preview layer
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
    |                                 `- warning: main actor-isolated property 'previewLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:182:36: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
180 |
181 |         captureQueue.async { [weak self] in
182 |             guard let strongSelf = self else {
    |                                    `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:185:41: warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
AVFoundation.AVCaptureDevice:2:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVCaptureDevice : NSObject {
   |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 11 | import AppKit
 12 | #endif
 13 | import AVFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 14 | import AgoraRtcKit
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:198:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
196 |         self.currentOutput?.setSampleBufferDelegate(self, queue: self.captureQueue)
197 |         self.captureQueue.async { [weak self] in
198 |             self?.captureSession.startRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |         }
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:205:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
203 |         self.currentOutput?.setSampleBufferDelegate(nil, queue: nil)
204 |         self.captureQueue.async { [weak self] in
205 |             self?.captureSession.stopRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |         }
207 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  `- warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 |                 rotation: imgRot, timeStamp: time
254 |             )
CoreVideo.CVBuffer:1:14: note: class 'CVBuffer' does not conform to the 'Sendable' protocol
1 | public class CVBuffer : _CFObject {
  |              `- note: class 'CVBuffer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  |- warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'pixelBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
253 |                 rotation: imgRot, timeStamp: time
254 |             )
[45/48] Compiling AgoraUIKit AgoraConnectionData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:157:33: warning: main actor-isolated property 'previewLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 | open class CustomVideoSourcePreview: MPView {
 41 |     /// Layer that displays video from a camera device.
 42 |     open private(set) var previewLayer: AVCaptureVideoPreviewLayer?
    |                           `- note: property declared here
 43 |
 44 |     /// Add new frame to the preview layer
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
    |                                 `- warning: main actor-isolated property 'previewLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:182:36: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
180 |
181 |         captureQueue.async { [weak self] in
182 |             guard let strongSelf = self else {
    |                                    `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:185:41: warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
AVFoundation.AVCaptureDevice:2:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVCaptureDevice : NSObject {
   |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 11 | import AppKit
 12 | #endif
 13 | import AVFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 14 | import AgoraRtcKit
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:198:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
196 |         self.currentOutput?.setSampleBufferDelegate(self, queue: self.captureQueue)
197 |         self.captureQueue.async { [weak self] in
198 |             self?.captureSession.startRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |         }
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:205:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
203 |         self.currentOutput?.setSampleBufferDelegate(nil, queue: nil)
204 |         self.captureQueue.async { [weak self] in
205 |             self?.captureSession.stopRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |         }
207 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     internal var localVideoPreview: CustomVideoSourcePreview?
    :
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  `- warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 |                 rotation: imgRot, timeStamp: time
254 |             )
CoreVideo.CVBuffer:1:14: note: class 'CVBuffer' does not conform to the 'Sendable' protocol
1 | public class CVBuffer : _CFObject {
  |              `- note: class 'CVBuffer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  |- warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'pixelBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
253 |                 rotation: imgRot, timeStamp: time
254 |             )
[46/48] Compiling AgoraUIKit AgoraVideoViewer+JoinChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:141:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
141 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> 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'
142 |             }
143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137:22: warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
135 |         if self.rtmController == nil {
136 |             DispatchQueue.global(qos: .utility).async {
137 |                 self.rtmController = AgoraRtmController(delegate: self)
    |                      `- warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
138 |                 if self.rtmController == nil {
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: mutation of this property is only permitted within the actor
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138:25: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
136 |             DispatchQueue.global(qos: .utility).async {
137 |                 self.rtmController = AgoraRtmController(delegate: self)
138 |                 if self.rtmController == nil {
    |                         `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: property declared here
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:139:38: warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 |                 self.rtmController = AgoraRtmController(delegate: self)
138 |                 if self.rtmController == nil {
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
    |                                      `- warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 |                 }
141 |                 callback?(self.rtmController)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Utilities.swift:32:26: note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
30 |         }
31 |     }
32 |     internal static func agoraPrint(_ tag: PrintType, message: Any) {
   |                          `- note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
33 |         if tag.rawValue <= AgoraVideoViewer.printLevel.rawValue {
34 |             print("[AgoraVideoViewer \(tag.printString)]: \(message)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:141:32: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
141 |                 callback?(self.rtmController)
    |                                `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
142 |             }
143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: property declared here
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:102:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 12 | import AVFoundation
 13 |
 14 | extension AgoraVideoViewer: AgoraCameraSourcePushDelegate {
    |                             `- note: add '@preconcurrency' to the 'AgoraCameraSourcePushDelegate' conformance to defer isolation checking to run time
 15 |
 16 |     @discardableResult
    :
100 |     ///   - rotation: Orientation of the incoming pixel buffer
101 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
102 |     public func myVideoCapture(
    |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' to make this instance method not isolated to the actor
103 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
104 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:101:10: note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
 99 | /// Delegate for capturing the frames from the camera source.
100 | public protocol AgoraCameraSourcePushDelegate: AnyObject {
101 |     func myVideoCapture(
    |          `- note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
102 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
103 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:84:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 82 |     }
 83 |
 84 |     open override func layoutSubviews() {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 85 |         super.layoutSubviews()
 86 |         self.reorganiseVideos()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:84:24: error: method does not override any method from its superclass
 82 |     }
 83 |
 84 |     open override func layoutSubviews() {
    |                        `- error: method does not override any method from its superclass
 85 |         super.layoutSubviews()
 86 |         self.reorganiseVideos()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:85:15: error: value of type 'MPView' (aka 'NSView') has no member 'layoutSubviews'
 83 |
 84 |     open override func layoutSubviews() {
 85 |         super.layoutSubviews()
    |               `- error: value of type 'MPView' (aka 'NSView') has no member 'layoutSubviews'
 86 |         self.reorganiseVideos()
 87 |     }
[47/48] Compiling AgoraUIKit AgoraVideoViewer+LocalVideo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:141:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
141 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> 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'
142 |             }
143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137:22: warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
135 |         if self.rtmController == nil {
136 |             DispatchQueue.global(qos: .utility).async {
137 |                 self.rtmController = AgoraRtmController(delegate: self)
    |                      `- warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
138 |                 if self.rtmController == nil {
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: mutation of this property is only permitted within the actor
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138:25: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
136 |             DispatchQueue.global(qos: .utility).async {
137 |                 self.rtmController = AgoraRtmController(delegate: self)
138 |                 if self.rtmController == nil {
    |                         `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: property declared here
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:139:38: warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 |                 self.rtmController = AgoraRtmController(delegate: self)
138 |                 if self.rtmController == nil {
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
    |                                      `- warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 |                 }
141 |                 callback?(self.rtmController)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Utilities.swift:32:26: note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
30 |         }
31 |     }
32 |     internal static func agoraPrint(_ tag: PrintType, message: Any) {
   |                          `- note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
33 |         if tag.rawValue <= AgoraVideoViewer.printLevel.rawValue {
34 |             print("[AgoraVideoViewer \(tag.printString)]: \(message)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:141:32: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
141 |                 callback?(self.rtmController)
    |                                `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
142 |             }
143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: property declared here
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:102:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 12 | import AVFoundation
 13 |
 14 | extension AgoraVideoViewer: AgoraCameraSourcePushDelegate {
    |                             `- note: add '@preconcurrency' to the 'AgoraCameraSourcePushDelegate' conformance to defer isolation checking to run time
 15 |
 16 |     @discardableResult
    :
100 |     ///   - rotation: Orientation of the incoming pixel buffer
101 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
102 |     public func myVideoCapture(
    |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' to make this instance method not isolated to the actor
103 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
104 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:101:10: note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
 99 | /// Delegate for capturing the frames from the camera source.
100 | public protocol AgoraCameraSourcePushDelegate: AnyObject {
101 |     func myVideoCapture(
    |          `- note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
102 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
103 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:84:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 82 |     }
 83 |
 84 |     open override func layoutSubviews() {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 85 |         super.layoutSubviews()
 86 |         self.reorganiseVideos()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:84:24: error: method does not override any method from its superclass
 82 |     }
 83 |
 84 |     open override func layoutSubviews() {
    |                        `- error: method does not override any method from its superclass
 85 |         super.layoutSubviews()
 86 |         self.reorganiseVideos()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:85:15: error: value of type 'MPView' (aka 'NSView') has no member 'layoutSubviews'
 83 |
 84 |     open override func layoutSubviews() {
 85 |         super.layoutSubviews()
    |               `- error: value of type 'MPView' (aka 'NSView') has no member 'layoutSubviews'
 86 |         self.reorganiseVideos()
 87 |     }
[48/48] Compiling AgoraUIKit AgoraVideoViewer+Ordering.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:141:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
141 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> 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'
142 |             }
143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137:22: warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
135 |         if self.rtmController == nil {
136 |             DispatchQueue.global(qos: .utility).async {
137 |                 self.rtmController = AgoraRtmController(delegate: self)
    |                      `- warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
138 |                 if self.rtmController == nil {
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: mutation of this property is only permitted within the actor
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138:25: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
136 |             DispatchQueue.global(qos: .utility).async {
137 |                 self.rtmController = AgoraRtmController(delegate: self)
138 |                 if self.rtmController == nil {
    |                         `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: property declared here
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:139:38: warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 |                 self.rtmController = AgoraRtmController(delegate: self)
138 |                 if self.rtmController == nil {
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
    |                                      `- warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 |                 }
141 |                 callback?(self.rtmController)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Utilities.swift:32:26: note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
30 |         }
31 |     }
32 |     internal static func agoraPrint(_ tag: PrintType, message: Any) {
   |                          `- note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
33 |         if tag.rawValue <= AgoraVideoViewer.printLevel.rawValue {
34 |             print("[AgoraVideoViewer \(tag.printString)]: \(message)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:141:32: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
139 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
140 |                 }
141 |                 callback?(self.rtmController)
    |                                `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
142 |             }
143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:120:16: note: property declared here
118 |     #if canImport(AgoraRtmControl)
119 |     /// Controller class for managing RTM messages
120 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
121 |     #endif
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:102:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 12 | import AVFoundation
 13 |
 14 | extension AgoraVideoViewer: AgoraCameraSourcePushDelegate {
    |                             `- note: add '@preconcurrency' to the 'AgoraCameraSourcePushDelegate' conformance to defer isolation checking to run time
 15 |
 16 |     @discardableResult
    :
100 |     ///   - rotation: Orientation of the incoming pixel buffer
101 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
102 |     public func myVideoCapture(
    |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' to make this instance method not isolated to the actor
103 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
104 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:101:10: note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
 99 | /// Delegate for capturing the frames from the camera source.
100 | public protocol AgoraCameraSourcePushDelegate: AnyObject {
101 |     func myVideoCapture(
    |          `- note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
102 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
103 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:84:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 82 |     }
 83 |
 84 |     open override func layoutSubviews() {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 85 |         super.layoutSubviews()
 86 |         self.reorganiseVideos()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:84:24: error: method does not override any method from its superclass
 82 |     }
 83 |
 84 |     open override func layoutSubviews() {
    |                        `- error: method does not override any method from its superclass
 85 |         super.layoutSubviews()
 86 |         self.reorganiseVideos()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Ordering.swift:85:15: error: value of type 'MPView' (aka 'NSView') has no member 'layoutSubviews'
 83 |
 84 |     open override func layoutSubviews() {
 85 |         super.layoutSubviews()
    |               `- error: value of type 'MPView' (aka 'NSView') has no member 'layoutSubviews'
 86 |         self.reorganiseVideos()
 87 |     }
BUILD FAILURE 6.0 macosSpm