Build Information
Successful build of LiveKitUniFFI, reference main (49efe2), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 12:13:06 UTC.
Swift 6 data race errors: 10
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/livekit-uniffi-xcframework.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/livekit/livekit-uniffi-xcframework
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 49efe20 v0.2.2 (#20)
Cloned https://github.com/livekit/livekit-uniffi-xcframework.git
Revision (git rev-parse @):
49efe2075e4b980bf7e45add9d4449592962239e
SUCCESS checkout https://github.com/livekit/livekit-uniffi-xcframework.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/livekit/livekit-uniffi-xcframework.git
https://github.com/livekit/livekit-uniffi-xcframework.git
{
"dependencies" : [
],
"manifest_display_name" : "LiveKitUniFFI",
"name" : "LiveKitUniFFI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "LiveKitUniFFI",
"targets" : [
"LiveKitUniFFI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "RustLiveKitUniFFI",
"module_type" : "BinaryTarget",
"name" : "RustLiveKitUniFFI",
"path" : "remote/archive/RustLiveKitUniFFI.xcframework.zip",
"product_memberships" : [
"LiveKitUniFFI"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "LiveKitUniFFI",
"module_type" : "SwiftTarget",
"name" : "LiveKitUniFFI",
"path" : "Sources/LiveKitUniFFI",
"product_memberships" : [
"LiveKitUniFFI"
],
"sources" : [
"livekit_common.swift",
"livekit_datatrack.swift",
"livekit_net.swift",
"livekit_uniffi.swift"
],
"target_dependencies" : [
"RustLiveKitUniFFI"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying RustLiveKitUniFFI.framework
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling LiveKitUniFFI livekit_datatrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:637:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
635 | /// Rust stores this pointer for future callback invocations, so it must live
636 | /// for the process lifetime (not just for the init function call).
637 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
638 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceDecryptionProvider>.allocate(capacity: 1)
639 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:828:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
826 | /// Rust stores this pointer for future callback invocations, so it must live
827 | /// for the process lifetime (not just for the init function call).
828 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
829 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEncryptionProvider>.allocate(capacity: 1)
830 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[5/8] Emitting module LiveKitUniFFI
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:637:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
635 | /// Rust stores this pointer for future callback invocations, so it must live
636 | /// for the process lifetime (not just for the init function call).
637 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
638 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceDecryptionProvider>.allocate(capacity: 1)
639 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:828:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
826 | /// Rust stores this pointer for future callback invocations, so it must live
827 | /// for the process lifetime (not just for the init function call).
828 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
829 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEncryptionProvider>.allocate(capacity: 1)
830 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:710:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceHttpClient>' may have shared mutable state; this is an error in the Swift 6 language mode
708 | /// Rust stores this pointer for future callback invocations, so it must live
709 | /// for the process lifetime (not just for the init function call).
710 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceHttpClient> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceHttpClient>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
711 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceHttpClient>.allocate(capacity: 1)
712 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:937:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsClient>' may have shared mutable state; this is an error in the Swift 6 language mode
935 | /// Rust stores this pointer for future callback invocations, so it must live
936 | /// for the process lifetime (not just for the init function call).
937 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsClient> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsClient>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
938 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsClient>.allocate(capacity: 1)
939 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1279:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsConnection>' may have shared mutable state; this is an error in the Swift 6 language mode
1277 | /// Rust stores this pointer for future callback invocations, so it must live
1278 | /// for the process lifetime (not just for the init function call).
1279 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsConnection> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsConnection>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1280 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsConnection>.allocate(capacity: 1)
1281 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1564:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
1562 | /// Rust stores this pointer for future callback invocations, so it must live
1563 | /// for the process lifetime (not just for the init function call).
1564 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1565 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate>.allocate(capacity: 1)
1566 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2391:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
2389 | /// Rust stores this pointer for future callback invocations, so it must live
2390 | /// for the process lifetime (not just for the init function call).
2391 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2392 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate>.allocate(capacity: 1)
2393 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2854:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
2852 | /// Rust stores this pointer for future callback invocations, so it must live
2853 | /// for the process lifetime (not just for the init function call).
2854 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2855 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate>.allocate(capacity: 1)
2856 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3763:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
3761 | /// Rust stores this pointer for future callback invocations, so it must live
3762 | /// for the process lifetime (not just for the init function call).
3763 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3764 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate>.allocate(capacity: 1)
3765 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4034:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
4032 | /// Rust stores this pointer for future callback invocations, so it must live
4033 | /// for the process lifetime (not just for the init function call).
4034 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4035 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate>.allocate(capacity: 1)
4036 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[6/8] Compiling LiveKitUniFFI livekit_uniffi.swift
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1564:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
1562 | /// Rust stores this pointer for future callback invocations, so it must live
1563 | /// for the process lifetime (not just for the init function call).
1564 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1565 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceIncomingDataStreamManagerDelegate>.allocate(capacity: 1)
1566 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2391:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
2389 | /// Rust stores this pointer for future callback invocations, so it must live
2390 | /// for the process lifetime (not just for the init function call).
2391 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2392 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLocalDataTrackManagerDelegate>.allocate(capacity: 1)
2393 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2854:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
2852 | /// Rust stores this pointer for future callback invocations, so it must live
2853 | /// for the process lifetime (not just for the init function call).
2854 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2855 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceOutgoingDataStreamManagerDelegate>.allocate(capacity: 1)
2856 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3763:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
3761 | /// Rust stores this pointer for future callback invocations, so it must live
3762 | /// for the process lifetime (not just for the init function call).
3763 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3764 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceRemoteDataTrackManagerDelegate>.allocate(capacity: 1)
3765 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4034:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
4032 | /// Rust stores this pointer for future callback invocations, so it must live
4033 | /// for the process lifetime (not just for the init function call).
4034 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4035 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceRemoteParticipantRegistryDelegate>.allocate(capacity: 1)
4036 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7508:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
7506 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
7507 | ) {
7508 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
7509 | // See the note in uniffiTraitInterfaceCallAsync for details on `handleSuccess` and
7510 | // `handleError`.
7511 | var callResult: T
7512 | do {
7513 | callResult = try await makeCall()
| `- note: closure captures non-Sendable 'makeCall'
7514 | } catch let error as E {
7515 | handleError(CALL_ERROR, lowerError(error))
| | `- note: closure captures non-Sendable 'lowerError'
| `- note: closure captures non-Sendable 'handleError'
7516 | return
7517 | } catch {
:
7519 | return
7520 | }
7521 | handleSuccess(callResult)
| `- note: closure captures non-Sendable 'handleSuccess'
7522 | }
7523 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7476:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
7474 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
7475 | ) {
7476 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
7477 | // Note: it's important we call either `handleSuccess` or `handleError` exactly once. Each
7478 | // call consumes an Arc reference, which means there should be no possibility of a double
:
7485 | var callResult: T
7486 | do {
7487 | callResult = try await makeCall()
| `- note: closure captures non-Sendable 'makeCall'
7488 | } catch {
7489 | handleError(CALL_UNEXPECTED_ERROR, FfiConverterString.lower(String(describing: error)))
| `- note: closure captures non-Sendable 'handleError'
7490 | return
7491 | }
7492 | handleSuccess(callResult)
| `- note: closure captures non-Sendable 'handleSuccess'
7493 | }
7494 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
[7/8] Compiling LiveKitUniFFI livekit_net.swift
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:710:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceHttpClient>' may have shared mutable state; this is an error in the Swift 6 language mode
708 | /// Rust stores this pointer for future callback invocations, so it must live
709 | /// for the process lifetime (not just for the init function call).
710 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceHttpClient> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceHttpClient>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
711 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceHttpClient>.allocate(capacity: 1)
712 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:937:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsClient>' may have shared mutable state; this is an error in the Swift 6 language mode
935 | /// Rust stores this pointer for future callback invocations, so it must live
936 | /// for the process lifetime (not just for the init function call).
937 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsClient> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsClient>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
938 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsClient>.allocate(capacity: 1)
939 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1279:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsConnection>' may have shared mutable state; this is an error in the Swift 6 language mode
1277 | /// Rust stores this pointer for future callback invocations, so it must live
1278 | /// for the process lifetime (not just for the init function call).
1279 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsConnection> = {
| |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceWsConnection>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1280 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsConnection>.allocate(capacity: 1)
1281 | ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1777:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1775 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1776 | ) {
1777 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1778 | // See the note in uniffiTraitInterfaceCallAsync for details on `handleSuccess` and
1779 | // `handleError`.
1780 | var callResult: T
1781 | do {
1782 | callResult = try await makeCall()
| `- note: closure captures non-Sendable 'makeCall'
1783 | } catch let error as E {
1784 | handleError(CALL_ERROR, lowerError(error))
| | `- note: closure captures non-Sendable 'lowerError'
| `- note: closure captures non-Sendable 'handleError'
1785 | return
1786 | } catch {
:
1788 | return
1789 | }
1790 | handleSuccess(callResult)
| `- note: closure captures non-Sendable 'handleSuccess'
1791 | }
1792 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
/Users/admin/builder/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1745:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1743 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1744 | ) {
1745 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1746 | // Note: it's important we call either `handleSuccess` or `handleError` exactly once. Each
1747 | // call consumes an Arc reference, which means there should be no possibility of a double
:
1754 | var callResult: T
1755 | do {
1756 | callResult = try await makeCall()
| `- note: closure captures non-Sendable 'makeCall'
1757 | } catch {
1758 | handleError(CALL_UNEXPECTED_ERROR, FfiConverterString.lower(String(describing: error)))
| `- note: closure captures non-Sendable 'handleError'
1759 | return
1760 | }
1761 | handleSuccess(callResult)
| `- note: closure captures non-Sendable 'handleSuccess'
1762 | }
1763 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
[8/8] Compiling LiveKitUniFFI livekit_common.swift
Build complete! (6.43s)
Downloading binary artifact https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.2.2/RustLiveKitUniFFI.xcframework.zip
[32750/7746104] Downloading https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.2.2/RustLiveKitUniFFI.xcframework.zip
Downloaded https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.2.2/RustLiveKitUniFFI.xcframework.zip (0.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LiveKitUniFFI",
"name" : "LiveKitUniFFI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "LiveKitUniFFI",
"targets" : [
"LiveKitUniFFI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "RustLiveKitUniFFI",
"module_type" : "BinaryTarget",
"name" : "RustLiveKitUniFFI",
"path" : "remote/archive/RustLiveKitUniFFI.xcframework.zip",
"product_memberships" : [
"LiveKitUniFFI"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "LiveKitUniFFI",
"module_type" : "SwiftTarget",
"name" : "LiveKitUniFFI",
"path" : "Sources/LiveKitUniFFI",
"product_memberships" : [
"LiveKitUniFFI"
],
"sources" : [
"livekit_common.swift",
"livekit_datatrack.swift",
"livekit_net.swift",
"livekit_uniffi.swift"
],
"target_dependencies" : [
"RustLiveKitUniFFI"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.