The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of AgoraUIKit_macOS, reference 4.0.6 (c76400), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 08:34:41 UTC.

Swift 6 data race errors: 114

Build Command

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

Build Log

    |               |- warning: main actor-isolated instance method 'rtcEngine(_:wlAccStats:averageStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:wlAccStats:averageStats:)' to make this instance method not isolated to the actor
175 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, wlAccStats: currentStats, averageStats: averageStats)
176 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:75:15: warning: main actor-isolated instance method 'rtcEngine(_:reportRtcStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 73 |     }
 74 |     #endif
 75 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, reportRtcStats stats: AgoraChannelStats) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:reportRtcStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:reportRtcStats:)' to make this instance method not isolated to the actor
 76 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, reportRtcStats: stats)
 77 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:78:15: warning: main actor-isolated instance method 'rtcEngine(_:lastmileQuality:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 76 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, reportRtcStats: stats)
 77 |     }
 78 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, lastmileQuality quality: AgoraNetworkQuality) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:lastmileQuality:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:lastmileQuality:)' to make this instance method not isolated to the actor
 79 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, lastmileQuality: quality)
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:81:15: warning: main actor-isolated instance method 'rtcEngine(_:lastmileProbeTest:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 79 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, lastmileQuality: quality)
 80 |     }
 81 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, lastmileProbeTest result: AgoraLastmileProbeResult) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:lastmileProbeTest:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:lastmileProbeTest:)' to make this instance method not isolated to the actor
 82 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, lastmileProbeTest: result)
 83 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:71:15: warning: main actor-isolated instance method 'rtcEngine(_:device:type:stateChanged:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 69 |     }
 70 |     #elseif os(macOS)
 71 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, device deviceId: String, type deviceType: AgoraMediaDeviceType, stateChanged state: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:device:type:stateChanged:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:device:type:stateChanged:)' to make this instance method not isolated to the actor
 72 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, device: deviceId, type: deviceType, stateChanged: state)
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:210:15: warning: main actor-isolated instance method 'rtcEngine(_:didOccur:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
208 |         self.agoraSettings.rtcDelegate?.rtcEngineIntraRequestReceived?(engine)
209 |     }
210 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didOccur errorType: AgoraEncryptionErrorType) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didOccur:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didOccur:)' to make this instance method not isolated to the actor
211 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didOccur: errorType)
212 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:189:15: warning: main actor-isolated instance method 'rtcEngine(_:uploadLogResultRequestId:success:reason:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
187 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRhythmPlayerStateChanged: state, errorCode: errorCode)
188 |     }
189 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, uploadLogResultRequestId requestId: String, success: Bool, reason: AgoraUploadErrorReason) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:uploadLogResultRequestId:success:reason:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:uploadLogResultRequestId:success:reason:)' to make this instance method not isolated to the actor
190 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uploadLogResultRequestId: requestId, success: success, reason: reason)
191 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:182:15: warning: main actor-isolated instance method 'rtcEngine(_:didJoinChannel:withUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
180 |         - elapsed: The time elapsed (ms) from the local user calling `joinChannelByToken` until this event occurs.
181 |      */
182 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didJoinChannel:withUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didJoinChannel:withUid:elapsed:)' to make this instance method not isolated to the actor
183 |         _ engine: AgoraRtcEngineKit, didJoinChannel channel: String,
184 |         withUid uid: UInt, elapsed: Int
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:150:15: warning: main actor-isolated instance method 'rtcEngine(_:didRejoinChannel:withUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
148 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingPositionChanged: position)
149 |     }
150 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didRejoinChannel channel: String, withUid uid: UInt, elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didRejoinChannel:withUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didRejoinChannel:withUid:elapsed:)' to make this instance method not isolated to the actor
151 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRejoinChannel: channel, withUid: uid, elapsed: elapsed)
152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:17:15: warning: main actor-isolated instance method 'rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 15 |     ///   - newRole: New role of the user.
 16 |     ///   - newRoleOptions: The client role option of the new role.
 17 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)' to make this instance method not isolated to the actor
 18 |         _ engine: AgoraRtcEngineKit,
 19 |         didClientRoleChanged oldRole: AgoraClientRole,
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:183:15: warning: main actor-isolated instance method 'rtcEngine(_:didClientRoleChangeFailed:currentRole:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
181 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, rtmpStreamingEventWithUrl: url, eventCode: eventCode)
182 |     }
183 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didClientRoleChangeFailed reason: AgoraClientRoleChangeFailedReason, currentRole: AgoraClientRole) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didClientRoleChangeFailed:currentRole:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didClientRoleChangeFailed:currentRole:)' to make this instance method not isolated to the actor
184 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didClientRoleChangeFailed: reason, currentRole: currentRole)
185 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:48:15: warning: main actor-isolated instance method 'rtcEngine(_:didLeaveChannelWith:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 46 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didOccurError: errorCode)
 47 |     }
 48 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didLeaveChannelWith stats: AgoraChannelStats) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didLeaveChannelWith:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didLeaveChannelWith:)' to make this instance method not isolated to the actor
 49 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLeaveChannelWith: stats)
 50 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:156:15: warning: main actor-isolated instance method 'rtcEngine(_:networkQuality:txQuality:rxQuality:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
154 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, videoSizeChangedOf: sourceType, uid: uid, size: size, rotation: rotation)
155 |     }
156 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, networkQuality uid: UInt, txQuality: AgoraNetworkQuality, rxQuality: AgoraNetworkQuality) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:networkQuality:txQuality:rxQuality:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:networkQuality:txQuality:rxQuality:)' to make this instance method not isolated to the actor
157 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, networkQuality: uid, txQuality: txQuality, rxQuality: rxQuality)
158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:258:15: warning: main actor-isolated instance method 'rtcEngine(_:firstLocalAudioFramePublished:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
256 |          - elapsed: The time elapsed (ms) from the local client calling `joinChannelByToken` until the SDK triggers this callback.
257 |      */
258 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstLocalAudioFramePublished elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstLocalAudioFramePublished:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstLocalAudioFramePublished:)' to make this instance method not isolated to the actor
259 |         self.addLocalVideo()?.audioMuted = false
260 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstLocalAudioFramePublished: elapsed)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:87:15: warning: main actor-isolated instance method 'rtcEngine(_:localAudioStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 85 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, localVideoStats: stats, sourceType: sourceType)
 86 |     }
 87 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, localAudioStats stats: AgoraRtcLocalAudioStats) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:localAudioStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:localAudioStats:)' to make this instance method not isolated to the actor
 88 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, localAudioStats: stats)
 89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:231:15: warning: main actor-isolated instance method 'rtcEngine(_:localAudioStateChanged:error:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
229 |         - error: The error information of the local audio. See AgoraAudioLocalError.
230 |      */
231 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:localAudioStateChanged:error:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:localAudioStateChanged:error:)' to make this instance method not isolated to the actor
232 |         _ engine: AgoraRtcEngineKit,
233 |         localAudioStateChanged state: AgoraAudioLocalState,
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:57:15: warning: main actor-isolated instance method 'rtcEngine(_:didAudioRouteChanged:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 55 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLocalPublishFallbackToAudioOnly: isFallbackOrRecover)
 56 |     }
 57 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioRouteChanged routing: AgoraAudioOutputRouting) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didAudioRouteChanged:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didAudioRouteChanged:)' to make this instance method not isolated to the actor
 58 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioRouteChanged: routing)
 59 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:12:15: warning: main actor-isolated instance method 'rtcEngineLocalAudioMixingDidFinish' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 10 |         self.agoraSettings.rtcDelegate?.rtcEngineConnectionDidLost?(engine)
 11 |     }
 12 |     open func rtcEngineLocalAudioMixingDidFinish(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineLocalAudioMixingDidFinish' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineLocalAudioMixingDidFinish' to make this instance method not isolated to the actor
 13 |         self.agoraSettings.rtcDelegate?.rtcEngineLocalAudioMixingDidFinish?(engine)
 14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:96:15: warning: main actor-isolated instance method 'rtcEngineDidAudioEffectFinish(_:soundId:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 94 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteAudioStats: stats)
 95 |     }
 96 |     open func rtcEngineDidAudioEffectFinish(_ engine: AgoraRtcEngineKit, soundId: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngineDidAudioEffectFinish(_:soundId:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineDidAudioEffectFinish(_:soundId:)' to make this instance method not isolated to the actor
 97 |         self.agoraSettings.rtcDelegate?.rtcEngineDidAudioEffectFinish?(engine, soundId: soundId)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:24:15: warning: main actor-isolated instance method 'rtcEngineCameraDidReady' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 22 |         self.agoraSettings.rtcDelegate?.rtcEngineVideoDidStop?(engine)
 23 |     }
 24 |     open func rtcEngineCameraDidReady(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineCameraDidReady' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineCameraDidReady' to make this instance method not isolated to the actor
 25 |         self.agoraSettings.rtcDelegate?.rtcEngineCameraDidReady?(engine)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:21:15: warning: main actor-isolated instance method 'rtcEngineVideoDidStop' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 19 |         self.agoraSettings.rtcDelegate?.rtcEngineRemoteAudioMixingDidFinish?(engine)
 20 |     }
 21 |     open func rtcEngineVideoDidStop(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineVideoDidStop' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineVideoDidStop' to make this instance method not isolated to the actor
 22 |         self.agoraSettings.rtcDelegate?.rtcEngineVideoDidStop?(engine)
 23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:105:15: warning: main actor-isolated instance method 'rtcEngine(_:firstLocalVideoFramePublishedWithElapsed:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
103 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamUnpublishedWithUrl: url)
104 |     }
105 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstLocalVideoFramePublishedWithElapsed elapsed: Int, sourceType: AgoraVideoSourceType) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstLocalVideoFramePublishedWithElapsed:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstLocalVideoFramePublishedWithElapsed:sourceType:)' to make this instance method not isolated to the actor
106 |             self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstLocalVideoFramePublishedWithElapsed: elapsed, sourceType: sourceType)
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:117:15: warning: main actor-isolated instance method 'rtcEngine(_:firstLocalVideoFrameWith:elapsed:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
115 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didUserInfoUpdatedWithUserId: uid, userInfo: userInfo)
116 |     }
117 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstLocalVideoFrameWith size: CGSize, elapsed: Int, sourceType: AgoraVideoSourceType) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstLocalVideoFrameWith:elapsed:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstLocalVideoFrameWith:elapsed:sourceType:)' to make this instance method not isolated to the actor
118 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstLocalVideoFrameWith: size, elapsed: elapsed, sourceType: sourceType)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:84:15: warning: main actor-isolated instance method 'rtcEngine(_:localVideoStats:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 82 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, lastmileProbeTest: result)
 83 |     }
 84 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStats stats: AgoraRtcLocalVideoStats, sourceType: AgoraVideoSourceType) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:localVideoStats:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:localVideoStats:sourceType:)' to make this instance method not isolated to the actor
 85 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, localVideoStats: stats, sourceType: sourceType)
 86 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:54:15: warning: main actor-isolated instance method 'rtcEngine(_:didLocalPublishFallbackToAudioOnly:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 52 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, networkTypeChanged: type)
 53 |     }
 54 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalPublishFallbackToAudioOnly isFallbackOrRecover: Bool) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didLocalPublishFallbackToAudioOnly:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didLocalPublishFallbackToAudioOnly:)' to make this instance method not isolated to the actor
 55 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLocalPublishFallbackToAudioOnly: isFallbackOrRecover)
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:48:15: warning: main actor-isolated instance method 'rtcEngine(_:didJoinedOfUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 46 |     ///   - uid: ID of the user or host who joins the channel. If the `uid` is specified in the joinChannel method, the specified user ID is returned. If the `uid` is not specified in the joinChannelByToken method, the Agora server automatically assigns a `uid`.
 47 |     ///   - elapsed: Time elapsed (ms) from the local user calling the joinChannel or setClientRole method until the SDK triggers this callback.
 48 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didJoinedOfUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didJoinedOfUid:elapsed:)' to make this instance method not isolated to the actor
 49 |         _ engine: AgoraRtcEngineKit,
 50 |         didJoinedOfUid uid: UInt,
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:100:15: warning: main actor-isolated instance method 'rtcEngine(_:didOfflineOfUid:reason:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 98 |          - reason: Reason why the user goes offline, see AgoraUserOfflineReason.
 99 |     */
100 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didOfflineOfUid:reason:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didOfflineOfUid:reason:)' to make this instance method not isolated to the actor
101 |         _ engine: AgoraRtcEngineKit,
102 |         didOfflineOfUid uid: UInt,
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:162:15: warning: main actor-isolated instance method 'rtcEngine(_:receiveStreamMessageFromUid:streamId:data:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
160 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamInjectedStatusOfUrl: url, uid: uid, status: status)
161 |     }
162 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, receiveStreamMessageFromUid uid: UInt, streamId: Int, data: Data) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:receiveStreamMessageFromUid:streamId:data:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:receiveStreamMessageFromUid:streamId:data:)' to make this instance method not isolated to the actor
163 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, receiveStreamMessageFromUid: uid, streamId: streamId, data: data)
164 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:234:15: warning: main actor-isolated instance method 'rtcEngine(_:didOccurStreamMessageErrorFromUid:streamId:error:missed:cached:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
232 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
233 |     }
234 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didOccurStreamMessageErrorFromUid uid: UInt, streamId: Int, error: Int, missed: Int, cached: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didOccurStreamMessageErrorFromUid:streamId:error:missed:cached:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didOccurStreamMessageErrorFromUid:streamId:error:missed:cached:)' to make this instance method not isolated to the actor
235 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didOccurStreamMessageErrorFromUid: uid, streamId: streamId, error: error, missed: missed, cached: cached)
236 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:129:15: warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteAudioFrameOfUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
127 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, channelMediaRelayStateDidChange: state, error: error)
128 |     }
129 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteAudioFrameOfUid uid: UInt, elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteAudioFrameOfUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstRemoteAudioFrameOfUid:elapsed:)' to make this instance method not isolated to the actor
130 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstRemoteAudioFrameOfUid: uid, elapsed: elapsed)
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:241:15: warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteAudioFrameDecodedOfUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
239 |     }
240 |     // MARK: - Deprecated
241 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteAudioFrameDecodedOfUid uid: UInt, elapsed: Int) {}
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteAudioFrameDecodedOfUid:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstRemoteAudioFrameDecodedOfUid:elapsed:)' to make this instance method not isolated to the actor
242 | }
243 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:93:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteAudioStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 91 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteVideoStats: stats)
 92 |     }
 93 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, remoteAudioStats stats: AgoraRtcRemoteAudioStats) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteAudioStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteAudioStats:)' to make this instance method not isolated to the actor
 94 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteAudioStats: stats)
 95 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:132:15: warning: main actor-isolated instance method 'rtcEngine(_:didAudioMuted:byUid:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
130 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstRemoteAudioFrameOfUid: uid, elapsed: elapsed)
131 |     }
132 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioMuted muted: Bool, byUid uid: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didAudioMuted:byUid:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didAudioMuted:byUid:)' to make this instance method not isolated to the actor
133 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioMuted: muted, byUid: uid)
134 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:108:15: warning: main actor-isolated instance method 'rtcEngine(_:reportAudioVolumeIndicationOfSpeakers:totalVolume:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
106 |             self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstLocalVideoFramePublishedWithElapsed: elapsed, sourceType: sourceType)
107 |     }
108 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, reportAudioVolumeIndicationOfSpeakers speakers: [AgoraRtcAudioVolumeInfo], totalVolume: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:reportAudioVolumeIndicationOfSpeakers:totalVolume:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:reportAudioVolumeIndicationOfSpeakers:totalVolume:)' to make this instance method not isolated to the actor
109 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, reportAudioVolumeIndicationOfSpeakers: speakers, totalVolume: totalVolume)
110 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:135:15: warning: main actor-isolated instance method 'rtcEngine(_:activeSpeaker:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
133 |          - speakerUid: The user ID of the most active speaker.
134 |      */
135 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, activeSpeaker speakerUid: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:activeSpeaker:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:activeSpeaker:)' to make this instance method not isolated to the actor
136 |         self.activeSpeaker = speakerUid
137 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, activeSpeaker: speakerUid)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:15:15: warning: main actor-isolated instance method 'rtcEngineRemoteAudioMixingDidStart' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 13 |         self.agoraSettings.rtcDelegate?.rtcEngineLocalAudioMixingDidFinish?(engine)
 14 |     }
 15 |     open func rtcEngineRemoteAudioMixingDidStart(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineRemoteAudioMixingDidStart' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineRemoteAudioMixingDidStart' to make this instance method not isolated to the actor
 16 |         self.agoraSettings.rtcDelegate?.rtcEngineRemoteAudioMixingDidStart?(engine)
 17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:18:15: warning: main actor-isolated instance method 'rtcEngineRemoteAudioMixingDidFinish' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 16 |         self.agoraSettings.rtcDelegate?.rtcEngineRemoteAudioMixingDidStart?(engine)
 17 |     }
 18 |     open func rtcEngineRemoteAudioMixingDidFinish(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineRemoteAudioMixingDidFinish' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineRemoteAudioMixingDidFinish' to make this instance method not isolated to the actor
 19 |         self.agoraSettings.rtcDelegate?.rtcEngineRemoteAudioMixingDidFinish?(engine)
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:204:15: warning: main actor-isolated instance method 'rtcEngine(_:audioQualityOfUid:quality:delay:lost:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
202 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, videoTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
203 |     }
204 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioQualityOfUid uid: UInt, quality: AgoraNetworkQuality, delay: UInt, lost: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioQualityOfUid:quality:delay:lost:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioQualityOfUid:quality:delay:lost:)' to make this instance method not isolated to the actor
205 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioQualityOfUid: uid, quality: quality, delay: delay, lost: lost)
206 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:198:15: warning: main actor-isolated instance method 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
196 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didProxyConnected: channel, withUid: uid, proxyType: proxyType, localProxyIp: localProxyIp, elapsed: elapsed)
197 |     }
198 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' to make this instance method not isolated to the actor
199 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:207:15: warning: main actor-isolated instance method 'rtcEngineIntraRequestReceived' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
205 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioQualityOfUid: uid, quality: quality, delay: delay, lost: lost)
206 |     }
207 |     open func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineIntraRequestReceived' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineIntraRequestReceived' to make this instance method not isolated to the actor
208 |         self.agoraSettings.rtcDelegate?.rtcEngineIntraRequestReceived?(engine)
209 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:216:15: warning: main actor-isolated instance method 'rtcEngine(_:uplinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
214 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, permissionError: type)
215 |     }
216 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:uplinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:uplinkNetworkInfoUpdate:)' to make this instance method not isolated to the actor
217 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uplinkNetworkInfoUpdate: networkInfo)
218 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:219:15: warning: main actor-isolated instance method 'rtcEngine(_:downlinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
217 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uplinkNetworkInfoUpdate: networkInfo)
218 |     }
219 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:downlinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:downlinkNetworkInfoUpdate:)' to make this instance method not isolated to the actor
220 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, downlinkNetworkInfoUpdate: networkInfo)
221 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:228:15: warning: main actor-isolated instance method 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
226 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoPublishStateChange: channelId, sourceType: sourceType, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
227 |     }
228 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
229 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:222:15: warning: main actor-isolated instance method 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
220 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, downlinkNetworkInfoUpdate: networkInfo)
221 |     }
222 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
223 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioPublishStateChange: channelId, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
224 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:111:15: warning: main actor-isolated instance method 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
109 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, reportAudioVolumeIndicationOfSpeakers: speakers, totalVolume: totalVolume)
110 |     }
111 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' to make this instance method not isolated to the actor
112 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLocalUserRegisteredWithUserId: uid, userAccount: userAccount)
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:114:15: warning: main actor-isolated instance method 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
112 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLocalUserRegisteredWithUserId: uid, userAccount: userAccount)
113 |     }
114 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didUserInfoUpdatedWithUserId uid: UInt, userInfo: AgoraUserInfo) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' to make this instance method not isolated to the actor
115 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didUserInfoUpdatedWithUserId: uid, userInfo: userInfo)
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:186:15: warning: main actor-isolated instance method 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
184 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didClientRoleChangeFailed: reason, currentRole: currentRole)
185 |     }
186 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didRhythmPlayerStateChanged state: AgoraRhythmPlayerState, errorCode: AgoraRhythmPlayerError) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' to make this instance method not isolated to the actor
187 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRhythmPlayerStateChanged: state, errorCode: errorCode)
188 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:165:15: warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
163 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, receiveStreamMessageFromUid: uid, streamId: streamId, data: data)
164 |     }
165 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoFrameOfUid uid: UInt, size: CGSize, elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' to make this instance method not isolated to the actor
166 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstRemoteVideoFrameOfUid: uid, size: size, elapsed: elapsed)
167 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:153:15: warning: main actor-isolated instance method 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
151 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRejoinChannel: channel, withUid: uid, elapsed: elapsed)
152 |     }
153 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOf sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' to make this instance method not isolated to the actor
154 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, videoSizeChangedOf: sourceType, uid: uid, size: size, rotation: rotation)
155 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:168:15: warning: main actor-isolated instance method 'rtcEngine(_:contentInspectResult:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
166 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstRemoteVideoFrameOfUid: uid, size: size, elapsed: elapsed)
167 |     }
168 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, contentInspectResult result: AgoraContentInspectResult) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:contentInspectResult:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:contentInspectResult:)' to make this instance method not isolated to the actor
169 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, contentInspectResult: result)
170 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:192:15: warning: main actor-isolated instance method 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
190 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uploadLogResultRequestId: requestId, success: success, reason: reason)
191 |     }
192 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, snapshotTaken uid: UInt, filePath: String, width: Int, height: Int, errCode: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' to make this instance method not isolated to the actor
193 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, snapshotTaken: uid, filePath: filePath, width: width, height: height, errCode: errCode)
194 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:205:17: warning: main actor-isolated instance method 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
203 |         - sourceType: Source type of the orignated video source
204 |      */
205 |     public func rtcEngine(
    |                 |- warning: main actor-isolated instance method 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' to make this instance method not isolated to the actor
206 |         _ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState,
207 |         error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:152:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
150 |          - elapsed: The time elapsed (ms) from the local user calling the joinChannel.
151 |      */
152 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' to make this instance method not isolated to the actor
153 |         _ engine: AgoraRtcEngineKit, remoteVideoStateChangedOfUid uid: UInt,
154 |         state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: Int
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:67:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 65 |     ///
 66 |     /// This callback does not work properly when the number of users (in the communication profile) or broadcasters (in the live interactive streaming profile) in the channel exceeds 17.
 67 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' to make this instance method not isolated to the actor
 68 |         _ engine: AgoraRtcEngineKit, remoteAudioStateChangedOfUid uid: UInt,
 69 |         state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: Int
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:126:15: warning: main actor-isolated instance method 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
124 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingStateChanged: state, reasonCode: reasonCode)
125 |     }
126 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, channelMediaRelayStateDidChange state: AgoraChannelMediaRelayState, error: AgoraChannelMediaRelayError) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' to make this instance method not isolated to the actor
127 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, channelMediaRelayStateDidChange: state, error: error)
128 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:99:15: warning: main actor-isolated instance method 'rtcEngine(_:didReceive:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 97 |         self.agoraSettings.rtcDelegate?.rtcEngineDidAudioEffectFinish?(engine, soundId: soundId)
 98 |     }
 99 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didReceive event: AgoraChannelMediaRelayEvent) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didReceive:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didReceive:)' to make this instance method not isolated to the actor
100 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didReceive: event)
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:195:15: warning: main actor-isolated instance method 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
193 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, snapshotTaken: uid, filePath: filePath, width: width, height: height, errCode: errCode)
194 |     }
195 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didProxyConnected channel: String, withUid uid: UInt, proxyType: AgoraProxyType, localProxyIp: String, elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' to make this instance method not isolated to the actor
196 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didProxyConnected: channel, withUid: uid, proxyType: proxyType, localProxyIp: localProxyIp, elapsed: elapsed)
197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:171:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
169 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, contentInspectResult: result)
170 |     }
171 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, remoteUserStateChangedOfUid uid: UInt, state: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' to make this instance method not isolated to the actor
172 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteUserStateChangedOfUid: uid, state: state)
173 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:90:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
 88 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, localAudioStats: stats)
 89 |     }
 90 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStats:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteVideoStats:)' to make this instance method not isolated to the actor
 91 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteVideoStats: stats)
 92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:120:15: warning: main actor-isolated instance method 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
118 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstLocalVideoFrameWith: size, elapsed: elapsed, sourceType: sourceType)
119 |     }
120 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' to make this instance method not isolated to the actor
121 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRemoteSubscribeFallbackToAudioOnly: isFallbackOrRecover, byUid: uid)
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:201:15: warning: main actor-isolated instance method 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
199 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
200 |     }
201 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraRtcEngineDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' to make this instance method not isolated to the actor
202 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, videoTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
203 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
/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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 requirement from protocol 'AgoraRtcEngineDelegate'; 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 |     }
[37/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
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
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[38/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
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
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[39/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
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
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[40/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: add '@MainActor' to make static property 'cameraButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'micButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'flipButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'beautifyButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'screenShareButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'allTrue' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'allFalse' part of global actor 'MainActor'
    |                           `- 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:213: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
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     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: add '@MainActor' to make static property 'buttonIconSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[41/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: add '@MainActor' to make static property 'cameraButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'micButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'flipButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'beautifyButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'screenShareButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'allTrue' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'allFalse' part of global actor 'MainActor'
    |                           `- 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:213: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
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     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: add '@MainActor' to make static property 'buttonIconSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[42/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: add '@MainActor' to make static property 'cameraButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'micButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'flipButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'beautifyButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'screenShareButton' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'allTrue' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'allFalse' part of global actor 'MainActor'
    |                           `- 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:213: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
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     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: add '@MainActor' to make static property 'buttonIconSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[43/48] Compiling AgoraUIKit AgoraVideoViewer+JoinChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a '@Sendable' closure
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:136: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
134 |         if self.rtmController == nil {
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 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
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: mutation of this property is only permitted within the actor
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137: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
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 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
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138: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
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
138 |                     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
139 |                 }
140 |                 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
   |                          `- note: main actor isolation inferred from inheritance from class 'NSView'
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:140: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
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 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
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:62:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraCameraSourcePushDelegate'; 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
   :
60 |     ///   - rotation: Orientation of the incoming pixel buffer
61 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
62 |     public func myVideoCapture(
   |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraCameraSourcePushDelegate'; 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
63 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
64 |         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
[44/48] Compiling AgoraUIKit AgoraVideoViewer+LocalVideo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a '@Sendable' closure
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:136: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
134 |         if self.rtmController == nil {
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 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
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: mutation of this property is only permitted within the actor
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137: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
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 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
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138: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
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
138 |                     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
139 |                 }
140 |                 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
   |                          `- note: main actor isolation inferred from inheritance from class 'NSView'
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:140: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
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 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
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:62:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraCameraSourcePushDelegate'; 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
   :
60 |     ///   - rotation: Orientation of the incoming pixel buffer
61 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
62 |     public func myVideoCapture(
   |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraCameraSourcePushDelegate'; 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
63 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
64 |         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
[45/48] Compiling AgoraUIKit AgoraVideoViewer+Ordering.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a '@Sendable' closure
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:136: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
134 |         if self.rtmController == nil {
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 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
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: mutation of this property is only permitted within the actor
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137: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
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 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
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138: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
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
138 |                     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
139 |                 }
140 |                 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
   |                          `- note: main actor isolation inferred from inheritance from class 'NSView'
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:140: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
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 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
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:62:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraCameraSourcePushDelegate'; 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
   :
60 |     ///   - rotation: Orientation of the incoming pixel buffer
61 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
62 |     public func myVideoCapture(
   |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated requirement from protocol 'AgoraCameraSourcePushDelegate'; 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
63 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
64 |         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
[46/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
    |               `- note: main actor isolation inferred from inheritance from class 'NSView'
 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
    |               `- note: main actor isolation inferred from inheritance from class 'NSView'
 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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
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
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a '@Sendable' closure
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:73:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
  71 |  */
  72 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
  73 | @interface AVCaptureDevice : NSObject
     |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
  74 | {
  75 | @private
/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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
206 |         }
207 |     }
/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 |             )
[47/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
    |               `- note: main actor isolation inferred from inheritance from class 'NSView'
 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
    |               `- note: main actor isolation inferred from inheritance from class 'NSView'
 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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
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
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a '@Sendable' closure
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:73:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
  71 |  */
  72 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
  73 | @interface AVCaptureDevice : NSObject
     |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
  74 | {
  75 | @private
/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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
206 |         }
207 |     }
/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 |             )
[48/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
    |               `- note: main actor isolation inferred from inheritance from class 'NSView'
 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
    |               `- note: main actor isolation inferred from inheritance from class 'NSView'
 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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
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
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a '@Sendable' closure
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:73:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
  71 |  */
  72 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
  73 | @interface AVCaptureDevice : NSObject
     |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
  74 | {
  75 | @private
/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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
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
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private 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
206 |         }
207 |     }
/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 |             )
Build complete! (10.10s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "agorartcengine_macos",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AgoraIO/AgoraRtcEngine_macOS"
    },
    {
      "identity" : "agorartm_macos",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AgoraIO/AgoraRtm_macOS"
    }
  ],
  "manifest_display_name" : "AgoraUIKit_macOS",
  "name" : "AgoraUIKit_macOS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AgoraUIKit",
      "targets" : [
        "AgoraUIKit",
        "AgoraRtmControl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AgoraAppGroupDataHelper",
      "targets" : [
        "AgoraAppGroupDataHelper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AgoraUIKit_Tests",
      "module_type" : "SwiftTarget",
      "name" : "AgoraUIKit-Tests",
      "path" : "Tests/Agora-UIKit-Tests",
      "sources" : [
        "RtcEncodingTests.swift",
        "RtmMessagingTests.swift",
        "RtmUserIdHandlingTests.swift"
      ],
      "target_dependencies" : [
        "AgoraUIKit",
        "AgoraRtmControl"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgoraUIKit",
      "module_type" : "SwiftTarget",
      "name" : "AgoraUIKit",
      "path" : "Sources/Agora-Video-UIKit",
      "product_dependencies" : [
        "RtcBasic"
      ],
      "product_memberships" : [
        "AgoraUIKit"
      ],
      "sources" : [
        "AgoraCameraSourcePush.swift",
        "AgoraCollectionViewer.swift",
        "AgoraConnectionData.swift",
        "AgoraSettings.swift",
        "AgoraSingleVideoView+RtmDelegate.swift",
        "AgoraSingleVideoView+RtmOptions.swift",
        "AgoraSingleVideoView.swift",
        "AgoraUIKit+AgoraRtmController+Extensions.swift",
        "AgoraUIKit+AgoraRtmController+MuteRequests.swift",
        "AgoraUIKit+AgoraRtmController+SendHelpers.swift",
        "AgoraUIKit+MD5.swift",
        "AgoraUIKit.swift",
        "AgoraVideoViewer+AgoraExtensions.swift",
        "AgoraVideoViewer+AgoraRtcEngineDelegate.swift",
        "AgoraVideoViewer+Buttons.swift",
        "AgoraVideoViewer+JoinChannel.swift",
        "AgoraVideoViewer+LocalVideo.swift",
        "AgoraVideoViewer+Ordering.swift",
        "AgoraVideoViewer+Permissions.swift",
        "AgoraVideoViewer+RtcEngineDelegateOverflow.swift",
        "AgoraVideoViewer+Token.swift",
        "AgoraVideoViewer+Utilities.swift",
        "AgoraVideoViewer+VideoControl.swift",
        "AgoraVideoViewer.swift",
        "AgoraViewer.swift",
        "UIButton+Extensions.swift",
        "iOS+macOS+typealiases.swift"
      ],
      "target_dependencies" : [
        "AgoraRtmControl"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgoraRtmControl",
      "module_type" : "SwiftTarget",
      "name" : "AgoraRtmControl",
      "path" : "Sources/AgoraRtmControl",
      "product_dependencies" : [
        "AgoraRtmKit"
      ],
      "product_memberships" : [
        "AgoraUIKit"
      ],
      "sources" : [
        "AgoraRtmController+AgoraRtmDelegate.swift",
        "AgoraRtmController+MuteRequests.swift",
        "AgoraRtmController+RtmDelegateOverflows.swift",
        "AgoraRtmController+SendHelpers.swift",
        "AgoraRtmController+Tokens.swift",
        "AgoraRtmController.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgoraAppGroupDataHelper",
      "module_type" : "SwiftTarget",
      "name" : "AgoraAppGroupDataHelper",
      "path" : "Sources/AgoraAppGroupDataHelper",
      "product_memberships" : [
        "AgoraAppGroupDataHelper"
      ],
      "sources" : [
        "AgoraAppGroupDataHelper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/agoraio-community/videouikit-macos/4.0.6
Repository:               AgoraIO-Community/VideoUIKit-macOS
Swift version used:       6.1
Target:                   AgoraUIKit
Extracting symbol information for 'AgoraUIKit'...
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/AgoraIO/AgoraRtcEngine_macOS
Updated https://github.com/AgoraIO/AgoraRtcEngine_macOS (0.42s)
Updating https://github.com/AgoraIO/AgoraRtm_macOS
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.46s)
Updated https://github.com/AgoraIO/AgoraRtm_macOS (0.43s)
Computing version for https://github.com/AgoraIO/AgoraRtm_macOS
Computed https://github.com/AgoraIO/AgoraRtm_macOS at 1.5.1 (1.46s)
Computing version for https://github.com/AgoraIO/AgoraRtcEngine_macOS
Computed https://github.com/AgoraIO/AgoraRtcEngine_macOS at 4.1.1 (0.04s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.40s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module Snippets
[7/53] Compiling Snippets Snippet.swift
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Emitting module SymbolKit
[10/57] Compiling SymbolKit Identifier.swift
[11/57] Compiling SymbolKit KindIdentifier.swift
[12/57] Compiling SymbolKit Location.swift
[13/57] Compiling SymbolKit Mutability.swift
[14/57] Compiling SymbolKit GenericConstraint.swift
[15/57] Compiling SymbolKit GenericParameter.swift
[16/57] Compiling SymbolKit Generics.swift
[17/57] Compiling SymbolKit Namespace.swift
[18/57] Compiling SymbolKit Symbol.swift
[19/57] Compiling SymbolKit SymbolKind.swift
[20/57] Compiling SymbolKit SymbolGraph.swift
[21/57] Compiling SymbolKit GraphCollector.swift
[22/57] Compiling SymbolKit Relationship.swift
[23/57] Compiling SymbolKit RelationshipKind.swift
[24/57] Compiling SymbolKit SourceOrigin.swift
[25/57] Compiling SymbolKit GenericConstraints.swift
[26/57] Compiling SymbolKit Swift.swift
[27/57] Compiling SymbolKit Mixin+Equals.swift
[28/57] Compiling SymbolKit Mixin+Hash.swift
[29/57] Compiling SymbolKit Mixin.swift
[30/57] Compiling SymbolKit LineList.swift
[31/57] Compiling SymbolKit Position.swift
[32/57] Compiling SymbolKit Names.swift
[33/57] Compiling SymbolKit SPI.swift
[34/57] Compiling SymbolKit Snippet.swift
[35/57] Compiling SymbolKit Extension.swift
[36/57] Compiling SymbolKit DeclarationFragments.swift
[37/57] Compiling SymbolKit Fragment.swift
[38/57] Compiling SymbolKit FragmentKind.swift
[39/57] Compiling SymbolKit FunctionParameter.swift
[40/57] Compiling SymbolKit FunctionSignature.swift
[41/57] Compiling SymbolKit SemanticVersion.swift
[42/57] Compiling SymbolKit AccessControl.swift
[43/57] Compiling SymbolKit Availability.swift
[44/57] Compiling SymbolKit AvailabilityItem.swift
[45/57] Compiling SymbolKit Domain.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.34s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling AgoraRtmControl AgoraRtmController+RtmDelegateOverflows.swift
[3/8] Compiling AgoraRtmControl AgoraRtmController+Tokens.swift
[4/8] Compiling AgoraRtmControl AgoraRtmController+SendHelpers.swift
[5/8] Compiling AgoraRtmControl AgoraRtmController+MuteRequests.swift
[6/8] Compiling AgoraRtmControl AgoraRtmController+AgoraRtmDelegate.swift
[7/8] Emitting module AgoraRtmControl
[8/8] Compiling AgoraRtmControl AgoraRtmController.swift
[9/34] Emitting module AgoraUIKit
[10/36] Compiling AgoraUIKit AgoraVideoViewer.swift
[11/36] Compiling AgoraUIKit AgoraViewer.swift
[12/36] Compiling AgoraUIKit AgoraUIKit+AgoraRtmController+SendHelpers.swift
[13/36] Compiling AgoraUIKit AgoraUIKit+MD5.swift
[14/36] Compiling AgoraUIKit AgoraUIKit.swift
[15/36] Compiling AgoraUIKit AgoraVideoViewer+Permissions.swift
[16/36] Compiling AgoraUIKit AgoraVideoViewer+RtcEngineDelegateOverflow.swift
[17/36] Compiling AgoraUIKit AgoraVideoViewer+Token.swift
[18/36] Compiling AgoraUIKit AgoraCameraSourcePush.swift
[19/36] Compiling AgoraUIKit AgoraCollectionViewer.swift
[20/36] Compiling AgoraUIKit AgoraConnectionData.swift
[21/36] Compiling AgoraUIKit AgoraVideoViewer+Utilities.swift
[22/36] Compiling AgoraUIKit AgoraVideoViewer+VideoControl.swift
[23/36] Compiling AgoraUIKit AgoraSettings.swift
[24/36] Compiling AgoraUIKit AgoraSingleVideoView+RtmDelegate.swift
[25/36] Compiling AgoraUIKit AgoraSingleVideoView+RtmOptions.swift
[26/36] Compiling AgoraUIKit AgoraVideoViewer+JoinChannel.swift
[27/36] Compiling AgoraUIKit AgoraVideoViewer+LocalVideo.swift
[28/36] Compiling AgoraUIKit AgoraVideoViewer+Ordering.swift
[29/36] Compiling AgoraUIKit UIButton+Extensions.swift
[30/36] Compiling AgoraUIKit iOS+macOS+typealiases.swift
[31/36] Compiling AgoraUIKit AgoraVideoViewer+AgoraExtensions.swift
[32/36] Compiling AgoraUIKit AgoraVideoViewer+AgoraRtcEngineDelegate.swift
[33/36] Compiling AgoraUIKit AgoraVideoViewer+Buttons.swift
[34/36] Compiling AgoraUIKit AgoraSingleVideoView.swift
[35/36] Compiling AgoraUIKit AgoraUIKit+AgoraRtmController+Extensions.swift
[36/36] Compiling AgoraUIKit AgoraUIKit+AgoraRtmController+MuteRequests.swift
Build of target: 'AgoraUIKit' complete! (2.49s)
error: unspecified("terminated(1): /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -module-name AgoraUIKit -target arm64-apple-macosx10.15 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartm_macos/AgoraRtmKit/AgoraRtmKit.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartm_macos/AgoraRtmKit/AgoraRtmKit.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/av1/av1.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/av1/av1.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraSoundTouch/AgoraSoundTouch.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraSoundTouch/AgoraSoundTouch.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agoraffmpeg/Agoraffmpeg.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agoraffmpeg/Agoraffmpeg.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agorafdkaac/Agorafdkaac.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agorafdkaac/Agorafdkaac.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraDav1d/AgoraDav1d.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraDav1d/AgoraDav1d.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraRtcKit/AgoraRtcKit.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraRtcKit/AgoraRtcKit.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -minimum-access-level public -skip-inherited-docs -emit-extension-block-symbols -output-dir /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/extracted-symbols/spi-builder-workspace/AgoraUIKit output:\n    <unknown>:0: error: missing required module \'AgoraRtmKit\'\n    Error: Failed to load the module \'AgoraUIKit\'. Are you missing build dependencies or include/framework directories?\n    See the previous error messages for details. Aborting.\n    ")
Extracting symbol information for 'AgoraUIKit'...
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.24s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
Build of target: 'AgoraUIKit' complete! (0.42s)
error: unspecified("terminated(1): /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -module-name AgoraUIKit -target arm64-apple-macosx10.15 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartm_macos/AgoraRtmKit/AgoraRtmKit.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartm_macos/AgoraRtmKit/AgoraRtmKit.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/av1/av1.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/av1/av1.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraSoundTouch/AgoraSoundTouch.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraSoundTouch/AgoraSoundTouch.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agoraffmpeg/Agoraffmpeg.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agoraffmpeg/Agoraffmpeg.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agorafdkaac/Agorafdkaac.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/Agorafdkaac/Agorafdkaac.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraDav1d/AgoraDav1d.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraDav1d/AgoraDav1d.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraRtcKit/AgoraRtcKit.xcframework/macos-arm64_x86_64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/agorartcengine_macos/AgoraRtcKit/AgoraRtcKit.xcframework/macos-arm64_x86_64 -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -minimum-access-level public -skip-inherited-docs -emit-extension-block-symbols -output-dir /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/extracted-symbols/spi-builder-workspace/AgoraUIKit output:\n    <unknown>:0: error: missing required module \'AgoraRtmKit\'\n    Error: Failed to load the module \'AgoraUIKit\'. Are you missing build dependencies or include/framework directories?\n    See the previous error messages for details. Aborting.\n    ")
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
    env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift package --allow-writing-to-directory .docs/agoraio-community/videouikit-macos/4.0.6 generate-documentation --emit-digest --disable-indexing --output-path .docs/agoraio-community/videouikit-macos/4.0.6 --hosting-base-path agoraio-community/videouikit-macos/4.0.6 --source-service github --source-service-base-url https://github.com/AgoraIO-Community/VideoUIKit-macOS/blob/4.0.6 --checkout-path $PWD --target AgoraUIKit))
✅  Doc result (failed) reported
Done.