Build Information
Failed to build LiveKitUniFFI, reference main (49efe2), with Swift 6.3 for Wasm on 10 Oct 2026 11:55:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
7874 | }
7875 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_info() != 11559 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_info' in scope
7876 | return InitializationResult.apiChecksumMismatch
7877 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7878:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_is_published' in scope
7876 | return InitializationResult.apiChecksumMismatch
7877 | }
7878 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_is_published() != 63127 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_is_published' in scope
7879 | return InitializationResult.apiChecksumMismatch
7880 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7881:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_publisher_identity' in scope
7879 | return InitializationResult.apiChecksumMismatch
7880 | }
7881 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_publisher_identity() != 40711 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_publisher_identity' in scope
7882 | return InitializationResult.apiChecksumMismatch
7883 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7884:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_set_pipeline_options' in scope
7882 | return InitializationResult.apiChecksumMismatch
7883 | }
7884 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_set_pipeline_options() != 47812 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_set_pipeline_options' in scope
7885 | return InitializationResult.apiChecksumMismatch
7886 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7887:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe' in scope
7885 | return InitializationResult.apiChecksumMismatch
7886 | }
7887 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe() != 23718 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe' in scope
7888 | return InitializationResult.apiChecksumMismatch
7889 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7890:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe_with_options' in scope
7888 | return InitializationResult.apiChecksumMismatch
7889 | }
7890 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe_with_options() != 44043 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe_with_options' in scope
7891 | return InitializationResult.apiChecksumMismatch
7892 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7893:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_wait_for_unpublish' in scope
7891 | return InitializationResult.apiChecksumMismatch
7892 | }
7893 | if uniffi_livekit_uniffi_checksum_method_remotedatatrack_wait_for_unpublish() != 30281 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_wait_for_unpublish' in scope
7894 | return InitializationResult.apiChecksumMismatch
7895 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7896:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_packet_received' in scope
7894 | return InitializationResult.apiChecksumMismatch
7895 | }
7896 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_packet_received() != 20834 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_packet_received' in scope
7897 | return InitializationResult.apiChecksumMismatch
7898 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7899:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_join_response' in scope
7897 | return InitializationResult.apiChecksumMismatch
7898 | }
7899 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_join_response() != 40603 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_join_response' in scope
7900 | return InitializationResult.apiChecksumMismatch
7901 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7902:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_participant_update' in scope
7900 | return InitializationResult.apiChecksumMismatch
7901 | }
7902 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_participant_update() != 65460 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_participant_update' in scope
7903 | return InitializationResult.apiChecksumMismatch
7904 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7905:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_subscriber_handles' in scope
7903 | return InitializationResult.apiChecksumMismatch
7904 | }
7905 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_subscriber_handles() != 10984 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_subscriber_handles' in scope
7906 | return InitializationResult.apiChecksumMismatch
7907 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7908:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_resend_subscription_updates' in scope
7906 | return InitializationResult.apiChecksumMismatch
7907 | }
7908 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_resend_subscription_updates() != 45173 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_resend_subscription_updates' in scope
7909 | return InitializationResult.apiChecksumMismatch
7910 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7911:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_signal_request' in scope
7909 | return InitializationResult.apiChecksumMismatch
7910 | }
7911 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_signal_request() != 17633 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_signal_request' in scope
7912 | return InitializationResult.apiChecksumMismatch
7913 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7914:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_published' in scope
7912 | return InitializationResult.apiChecksumMismatch
7913 | }
7914 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_published() != 34810 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_published' in scope
7915 | return InitializationResult.apiChecksumMismatch
7916 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7917:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_unpublished' in scope
7915 | return InitializationResult.apiChecksumMismatch
7916 | }
7917 | if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_unpublished() != 204 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_unpublished' in scope
7918 | return InitializationResult.apiChecksumMismatch
7919 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7920:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_incomingdatastreammanager_new' in scope
7918 | return InitializationResult.apiChecksumMismatch
7919 | }
7920 | if uniffi_livekit_uniffi_checksum_constructor_incomingdatastreammanager_new() != 27033 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_incomingdatastreammanager_new' in scope
7921 | return InitializationResult.apiChecksumMismatch
7922 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7923:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_outgoingdatastreammanager_new' in scope
7921 | return InitializationResult.apiChecksumMismatch
7922 | }
7923 | if uniffi_livekit_uniffi_checksum_constructor_outgoingdatastreammanager_new() != 53243 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_outgoingdatastreammanager_new' in scope
7924 | return InitializationResult.apiChecksumMismatch
7925 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7926:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_localdatatrackmanager_new' in scope
7924 | return InitializationResult.apiChecksumMismatch
7925 | }
7926 | if uniffi_livekit_uniffi_checksum_constructor_localdatatrackmanager_new() != 49140 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_localdatatrackmanager_new' in scope
7927 | return InitializationResult.apiChecksumMismatch
7928 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7929:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_remotedatatrackmanager_new' in scope
7927 | return InitializationResult.apiChecksumMismatch
7928 | }
7929 | if uniffi_livekit_uniffi_checksum_constructor_remotedatatrackmanager_new() != 42521 {
| `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_remotedatatrackmanager_new' in scope
7930 | return InitializationResult.apiChecksumMismatch
7931 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:197:41: error: no exact matches in call to initializer
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
197 | var reader = createReader(data: Data(rustBuffer: buf))
| `- error: no exact matches in call to initializer
198 | let value = try read(from: &reader)
199 | if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:212:16: error: cannot find 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
212 | return RustBuffer(bytes: writer)
| `- error: cannot find 'RustBuffer' in scope
213 | }
214 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:271:23: error: cannot find type 'RustBuffer' in scope
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
| `- error: cannot find type 'RustBuffer' in scope
272 | return try makeRustCall(callback, errorHandler: neverThrow)
273 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:287:22: error: cannot find 'RustCallStatus' in scope
285 | ) throws -> T {
286 | uniffiEnsureLivekitUniffiInitialized()
287 | var callStatus = RustCallStatus()
| `- error: cannot find 'RustCallStatus' in scope
288 | let returnedVal = callback(&callStatus)
289 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:537:24: error: cannot find 'RustBuffer' in scope
535 | // The swift string gives us a trailing null byte, we don't want it.
536 | let buf = UnsafeBufferPointer(rebasing: ptr.prefix(upTo: ptr.count - 1))
537 | return RustBuffer.from(buf)
| `- error: cannot find 'RustBuffer' in scope
538 | }
539 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:660:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_bytestreamreader' in scope
658 | #endif
659 | public func uniffiCloneHandle() -> UInt64 {
660 | try! rustCall { uniffi_livekit_uniffi_fn_clone_bytestreamreader(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_bytestreamreader' in scope
661 | }
662 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:671:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_bytestreamreader' in scope
669 | }
670 |
671 | try! rustCall { uniffi_livekit_uniffi_fn_free_bytestreamreader(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_bytestreamreader' in scope
672 | }
673 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:679:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamreader_info' in scope
677 | open func info() -> ByteStreamInfo {
678 | try! FfiConverterTypeByteStreamInfo_lift(try! rustCall {
679 | uniffi_livekit_uniffi_fn_method_bytestreamreader_info(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamreader_info' in scope
680 | self.uniffiCloneHandle(), $0
681 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:691:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamreader_next' in scope
689 | try await uniffiRustCallAsync(
690 | rustFutureFunc: {
691 | uniffi_livekit_uniffi_fn_method_bytestreamreader_next(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamreader_next' in scope
692 | self.uniffiCloneHandle()
693 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:695:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
693 | )
694 | },
695 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
696 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
697 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:696:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
694 | },
695 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
696 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
697 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
698 | liftFunc: FfiConverterOptionTypeBytes.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:697:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
695 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
696 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
697 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
698 | liftFunc: FfiConverterOptionTypeBytes.lift,
699 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:709:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamreader_read_all' in scope
707 | try await uniffiRustCallAsync(
708 | rustFutureFunc: {
709 | uniffi_livekit_uniffi_fn_method_bytestreamreader_read_all(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamreader_read_all' in scope
710 | self.uniffiCloneHandle()
711 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:713:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
711 | )
712 | },
713 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
714 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
715 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:714:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
712 | },
713 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
714 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
715 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
716 | liftFunc: FfiConverterTypeBytes_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:715:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
713 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
714 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
715 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
716 | liftFunc: FfiConverterTypeBytes_lift,
717 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:507:49: error: cannot find type 'RustBuffer' in scope
505 | @_documentation(visibility: private)
506 | #endif
507 | public func FfiConverterTypeBytes_lift(_ value: RustBuffer) throws -> Bytes {
| `- error: cannot find type 'RustBuffer' in scope
508 | try FfiConverterTypeBytes.lift(value)
509 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:831:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_bytestreamwriter' in scope
829 | #endif
830 | public func uniffiCloneHandle() -> UInt64 {
831 | try! rustCall { uniffi_livekit_uniffi_fn_clone_bytestreamwriter(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_bytestreamwriter' in scope
832 | }
833 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:842:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_bytestreamwriter' in scope
840 | }
841 |
842 | try! rustCall { uniffi_livekit_uniffi_fn_free_bytestreamwriter(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_bytestreamwriter' in scope
843 | }
844 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:851:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_close' in scope
849 | try await uniffiRustCallAsync(
850 | rustFutureFunc: {
851 | uniffi_livekit_uniffi_fn_method_bytestreamwriter_close(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_close' in scope
852 | self.uniffiCloneHandle()
853 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:855:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
853 | )
854 | },
855 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
856 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
857 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:856:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
854 | },
855 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
856 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
857 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
858 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:857:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
855 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
856 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
857 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
858 | liftFunc: { $0 },
859 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:869:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_close_with_reason' in scope
867 | try await uniffiRustCallAsync(
868 | rustFutureFunc: {
869 | uniffi_livekit_uniffi_fn_method_bytestreamwriter_close_with_reason(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_close_with_reason' in scope
870 | self.uniffiCloneHandle(),
871 | FfiConverterString.lower(reason)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:874:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
872 | )
873 | },
874 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
875 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
876 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:875:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
873 | },
874 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
875 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
876 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
877 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:876:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
874 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
875 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
876 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
877 | liftFunc: { $0 },
878 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:887:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_info' in scope
885 | open func info() -> ByteStreamInfo {
886 | try! FfiConverterTypeByteStreamInfo_lift(try! rustCall {
887 | uniffi_livekit_uniffi_fn_method_bytestreamwriter_info(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_info' in scope
888 | self.uniffiCloneHandle(), $0
889 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:899:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_is_open' in scope
897 | try! await uniffiRustCallAsync(
898 | rustFutureFunc: {
899 | uniffi_livekit_uniffi_fn_method_bytestreamwriter_is_open(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_is_open' in scope
900 | self.uniffiCloneHandle()
901 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:903:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_i8' in scope
901 | )
902 | },
903 | pollFunc: ffi_livekit_uniffi_rust_future_poll_i8,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_i8' in scope
904 | completeFunc: ffi_livekit_uniffi_rust_future_complete_i8,
905 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:904:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_i8' in scope
902 | },
903 | pollFunc: ffi_livekit_uniffi_rust_future_poll_i8,
904 | completeFunc: ffi_livekit_uniffi_rust_future_complete_i8,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_i8' in scope
905 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
906 | liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:905:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_i8' in scope
903 | pollFunc: ffi_livekit_uniffi_rust_future_poll_i8,
904 | completeFunc: ffi_livekit_uniffi_rust_future_complete_i8,
905 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_i8' in scope
906 | liftFunc: FfiConverterBool.lift,
907 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:907:27: error: 'nil' requires a contextual type
905 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
906 | liftFunc: FfiConverterBool.lift,
907 | errorHandler: nil
| `- error: 'nil' requires a contextual type
908 | )
909 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:917:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_write' in scope
915 | try await uniffiRustCallAsync(
916 | rustFutureFunc: {
917 | uniffi_livekit_uniffi_fn_method_bytestreamwriter_write(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_bytestreamwriter_write' in scope
918 | self.uniffiCloneHandle(),
919 | FfiConverterTypeBytes_lower(data)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:922:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
920 | )
921 | },
922 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
923 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
924 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:923:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
921 | },
922 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
923 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
924 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
925 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:924:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
922 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
923 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
924 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
925 | liftFunc: { $0 },
926 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:514:60: error: cannot find type 'RustBuffer' in scope
512 | @_documentation(visibility: private)
513 | #endif
514 | public func FfiConverterTypeBytes_lower(_ value: Bytes) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
515 | FfiConverterTypeBytes.lower(value)
516 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1020:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_datatrackstream' in scope
1018 | #endif
1019 | public func uniffiCloneHandle() -> UInt64 {
1020 | try! rustCall { uniffi_livekit_uniffi_fn_clone_datatrackstream(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_datatrackstream' in scope
1021 | }
1022 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1031:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_datatrackstream' in scope
1029 | }
1030 |
1031 | try! rustCall { uniffi_livekit_uniffi_fn_free_datatrackstream(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_datatrackstream' in scope
1032 | }
1033 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1040:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_datatrackstream_next' in scope
1038 | try! await uniffiRustCallAsync(
1039 | rustFutureFunc: {
1040 | uniffi_livekit_uniffi_fn_method_datatrackstream_next(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_datatrackstream_next' in scope
1041 | self.uniffiCloneHandle()
1042 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1044:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1042 | )
1043 | },
1044 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1045 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1046 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1045:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1043 | },
1044 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1045 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1046 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1047 | liftFunc: FfiConverterOptionTypeDataTrackFrame.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1046:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1044 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1045 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1046 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1047 | liftFunc: FfiConverterOptionTypeDataTrackFrame.lift,
1048 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1048:27: error: 'nil' requires a contextual type
1046 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1047 | liftFunc: FfiConverterOptionTypeDataTrackFrame.lift,
1048 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1049 | )
1050 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1186:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_incomingdatastreammanager' in scope
1184 | #endif
1185 | public func uniffiCloneHandle() -> UInt64 {
1186 | try! rustCall { uniffi_livekit_uniffi_fn_clone_incomingdatastreammanager(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_incomingdatastreammanager' in scope
1187 | }
1188 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1204:17: error: cannot find 'uniffi_livekit_uniffi_fn_constructor_incomingdatastreammanager_new' in scope
1202 | let handle =
1203 | try! rustCall {
1204 | uniffi_livekit_uniffi_fn_constructor_incomingdatastreammanager_new(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_constructor_incomingdatastreammanager_new' in scope
1205 | FfiConverterTypeIncomingDataStreamManagerDelegate_lower(delegate),
1206 | FfiConverterOptionUInt64.lower(maxPayloadByteLength), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1218:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_incomingdatastreammanager' in scope
1216 | }
1217 |
1218 | try! rustCall { uniffi_livekit_uniffi_fn_free_incomingdatastreammanager(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_incomingdatastreammanager' in scope
1219 | }
1220 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1228:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_abort_all_streams' in scope
1226 | open func abortAllStreams() {
1227 | try! rustCall {
1228 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_abort_all_streams(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_abort_all_streams' in scope
1229 | self.uniffiCloneHandle(), $0
1230 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1240:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_abort_streams_from' in scope
1238 | open func abortStreamsFrom(identity: String) {
1239 | try! rustCall {
1240 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_abort_streams_from(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_abort_streams_from' in scope
1241 | self.uniffiCloneHandle(),
1242 | FfiConverterString.lower(identity), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1262:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_handle_packet_received' in scope
1260 | open func handlePacketReceived(packet: Bytes, encryptionType: EncryptionType) {
1261 | try! rustCall {
1262 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_handle_packet_received(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_handle_packet_received' in scope
1263 | self.uniffiCloneHandle(),
1264 | FfiConverterTypeBytes_lower(packet),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1282:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_open_stream_count' in scope
1280 | try! await uniffiRustCallAsync(
1281 | rustFutureFunc: {
1282 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_open_stream_count(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanager_open_stream_count' in scope
1283 | self.uniffiCloneHandle()
1284 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1286:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
1284 | )
1285 | },
1286 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
1287 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
1288 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1287:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
1285 | },
1286 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
1287 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
1288 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
1289 | liftFunc: FfiConverterUInt64.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1288:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
1286 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
1287 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
1288 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
1289 | liftFunc: FfiConverterUInt64.lift,
1290 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1290:27: error: 'nil' requires a contextual type
1288 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
1289 | liftFunc: FfiConverterUInt64.lift,
1290 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1291 | )
1292 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1405:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_incomingdatastreammanagerdelegate' in scope
1403 | #endif
1404 | public func uniffiCloneHandle() -> UInt64 {
1405 | try! rustCall { uniffi_livekit_uniffi_fn_clone_incomingdatastreammanagerdelegate(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_incomingdatastreammanagerdelegate' in scope
1406 | }
1407 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1416:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_incomingdatastreammanagerdelegate' in scope
1414 | }
1415 |
1416 | try! rustCall { uniffi_livekit_uniffi_fn_free_incomingdatastreammanagerdelegate(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_incomingdatastreammanagerdelegate' in scope
1417 | }
1418 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1424:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_byte_stream_opened' in scope
1422 | open func onByteStreamOpened(reader: ByteStreamReader, identity: String) {
1423 | try! rustCall {
1424 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_byte_stream_opened(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_byte_stream_opened' in scope
1425 | self.uniffiCloneHandle(),
1426 | FfiConverterTypeByteStreamReader_lower(reader),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1437:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_text_stream_opened' in scope
1435 | open func onTextStreamOpened(reader: TextStreamReader, identity: String) {
1436 | try! rustCall {
1437 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_text_stream_opened(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_text_stream_opened' in scope
1438 | self.uniffiCloneHandle(),
1439 | FfiConverterTypeTextStreamReader_lower(reader),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1455:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_stream_closed' in scope
1453 | open func onStreamClosed(streamId: String, identity: String) {
1454 | try! rustCall {
1455 | uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_stream_closed(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingdatastreammanagerdelegate_on_stream_closed' in scope
1456 | self.uniffiCloneHandle(),
1457 | FfiConverterString.lower(streamId),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1572:5: error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_incomingdatastreammanagerdelegate' in scope
1570 |
1571 | private func uniffiCallbackInitIncomingDataStreamManagerDelegate() {
1572 | uniffi_livekit_uniffi_fn_init_callback_vtable_incomingdatastreammanagerdelegate(UniffiCallbackInterfaceIncomingDataStreamManagerDelegate.vtablePtr)
| `- error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_incomingdatastreammanagerdelegate' in scope
1573 | }
1574 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1702:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_incomingstreamqueue' in scope
1700 | #endif
1701 | public func uniffiCloneHandle() -> UInt64 {
1702 | try! rustCall { uniffi_livekit_uniffi_fn_clone_incomingstreamqueue(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_incomingstreamqueue' in scope
1703 | }
1704 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1713:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_incomingstreamqueue' in scope
1711 | }
1712 |
1713 | try! rustCall { uniffi_livekit_uniffi_fn_free_incomingstreamqueue(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_incomingstreamqueue' in scope
1714 | }
1715 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1722:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingstreamqueue_close' in scope
1720 | open func close() {
1721 | try! rustCall {
1722 | uniffi_livekit_uniffi_fn_method_incomingstreamqueue_close(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingstreamqueue_close' in scope
1723 | self.uniffiCloneHandle(), $0
1724 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1738:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingstreamqueue_next_closed_stream' in scope
1736 | try! await uniffiRustCallAsync(
1737 | rustFutureFunc: {
1738 | uniffi_livekit_uniffi_fn_method_incomingstreamqueue_next_closed_stream(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingstreamqueue_next_closed_stream' in scope
1739 | self.uniffiCloneHandle()
1740 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1742:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1740 | )
1741 | },
1742 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1743 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1744 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1743:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1741 | },
1742 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1743 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1744 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1745 | liftFunc: FfiConverterOptionTypeClosedStream.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1744:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1742 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1743 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1744 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1745 | liftFunc: FfiConverterOptionTypeClosedStream.lift,
1746 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1746:27: error: 'nil' requires a contextual type
1744 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1745 | liftFunc: FfiConverterOptionTypeClosedStream.lift,
1746 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1747 | )
1748 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1760:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingstreamqueue_next_opened_stream' in scope
1758 | try! await uniffiRustCallAsync(
1759 | rustFutureFunc: {
1760 | uniffi_livekit_uniffi_fn_method_incomingstreamqueue_next_opened_stream(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_incomingstreamqueue_next_opened_stream' in scope
1761 | self.uniffiCloneHandle()
1762 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1764:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1762 | )
1763 | },
1764 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1765 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1766 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1765:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1763 | },
1764 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1765 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1766 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1767 | liftFunc: FfiConverterOptionTypeOpenedStream.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1766:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1764 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1765 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1766 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1767 | liftFunc: FfiConverterOptionTypeOpenedStream.lift,
1768 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1768:27: error: 'nil' requires a contextual type
1766 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1767 | liftFunc: FfiConverterOptionTypeOpenedStream.lift,
1768 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1769 | )
1770 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1886:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_localdatatrack' in scope
1884 | #endif
1885 | public func uniffiCloneHandle() -> UInt64 {
1886 | try! rustCall { uniffi_livekit_uniffi_fn_clone_localdatatrack(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_localdatatrack' in scope
1887 | }
1888 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1897:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_localdatatrack' in scope
1895 | }
1896 |
1897 | try! rustCall { uniffi_livekit_uniffi_fn_free_localdatatrack(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_localdatatrack' in scope
1898 | }
1899 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1905:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_info' in scope
1903 | open func info() -> DataTrackInfo {
1904 | try! FfiConverterTypeDataTrackInfo_lift(try! rustCall {
1905 | uniffi_livekit_uniffi_fn_method_localdatatrack_info(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_info' in scope
1906 | self.uniffiCloneHandle(), $0
1907 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1916:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_is_published' in scope
1914 | open func isPublished() -> Bool {
1915 | try! FfiConverterBool.lift(try! rustCall {
1916 | uniffi_livekit_uniffi_fn_method_localdatatrack_is_published(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_is_published' in scope
1917 | self.uniffiCloneHandle(), $0
1918 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1927:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_try_push' in scope
1925 | open func tryPush(frame: DataTrackFrame) throws {
1926 | try rustCallWithError(FfiConverterTypePushFrameErrorReason_lift) {
1927 | uniffi_livekit_uniffi_fn_method_localdatatrack_try_push(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_try_push' in scope
1928 | self.uniffiCloneHandle(),
1929 | FfiConverterTypeDataTrackFrame_lower(frame), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1630:62: error: cannot find type 'RustBuffer' in scope
1628 | @_documentation(visibility: private)
1629 | #endif
1630 | public func FfiConverterTypePushFrameErrorReason_lift(_ buf: RustBuffer) throws -> PushFrameErrorReason {
| `- error: cannot find type 'RustBuffer' in scope
1631 | try FfiConverterTypePushFrameErrorReason.lift(buf)
1632 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1939:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_unpublish' in scope
1937 | open func unpublish() {
1938 | try! rustCall {
1939 | uniffi_livekit_uniffi_fn_method_localdatatrack_unpublish(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_unpublish' in scope
1940 | self.uniffiCloneHandle(), $0
1941 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1955:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_wait_for_unpublish' in scope
1953 | try! await uniffiRustCallAsync(
1954 | rustFutureFunc: {
1955 | uniffi_livekit_uniffi_fn_method_localdatatrack_wait_for_unpublish(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrack_wait_for_unpublish' in scope
1956 | self.uniffiCloneHandle()
1957 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1959:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
1957 | )
1958 | },
1959 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
1960 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
1961 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1960:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
1958 | },
1959 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
1960 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
1961 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
1962 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1961:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
1959 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
1960 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
1961 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
1962 | liftFunc: { $0 },
1963 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1963:27: error: 'nil' requires a contextual type
1961 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
1962 | liftFunc: { $0 },
1963 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1964 | )
1965 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2084:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_localdatatrackmanager' in scope
2082 | #endif
2083 | public func uniffiCloneHandle() -> UInt64 {
2084 | try! rustCall { uniffi_livekit_uniffi_fn_clone_localdatatrackmanager(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_localdatatrackmanager' in scope
2085 | }
2086 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2090:17: error: cannot find 'uniffi_livekit_uniffi_fn_constructor_localdatatrackmanager_new' in scope
2088 | let handle =
2089 | try! rustCall {
2090 | uniffi_livekit_uniffi_fn_constructor_localdatatrackmanager_new(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_constructor_localdatatrackmanager_new' in scope
2091 | FfiConverterTypeLocalDataTrackManagerDelegate_lower(delegate),
2092 | FfiConverterOptionTypeEncryptionProvider.lower(encryptionProvider), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2104:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_localdatatrackmanager' in scope
2102 | }
2103 |
2104 | try! rustCall { uniffi_livekit_uniffi_fn_free_localdatatrackmanager(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_localdatatrackmanager' in scope
2105 | }
2106 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2112:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_handle_sfu_publish_response' in scope
2110 | open func handleSfuPublishResponse(res: Data) throws {
2111 | try rustCallWithError(FfiConverterTypeHandleSignalResponseError_lift) {
2112 | uniffi_livekit_uniffi_fn_method_localdatatrackmanager_handle_sfu_publish_response(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_handle_sfu_publish_response' in scope
2113 | self.uniffiCloneHandle(),
2114 | FfiConverterData.lower(res), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2124:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_handle_sfu_request_response' in scope
2122 | open func handleSfuRequestResponse(res: Data) throws {
2123 | try rustCallWithError(FfiConverterTypeHandleSignalResponseError_lift) {
2124 | uniffi_livekit_uniffi_fn_method_localdatatrackmanager_handle_sfu_request_response(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_handle_sfu_request_response' in scope
2125 | self.uniffiCloneHandle(),
2126 | FfiConverterData.lower(res), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2140:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_publish_responses_for_sync_state' in scope
2138 | try! await uniffiRustCallAsync(
2139 | rustFutureFunc: {
2140 | uniffi_livekit_uniffi_fn_method_localdatatrackmanager_publish_responses_for_sync_state(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_publish_responses_for_sync_state' in scope
2141 | self.uniffiCloneHandle()
2142 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2144:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2142 | )
2143 | },
2144 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2145 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2146 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2145:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2143 | },
2144 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2145 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2146 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
2147 | liftFunc: FfiConverterSequenceTypeBytes.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2146:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2144 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2145 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2146 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2147 | liftFunc: FfiConverterSequenceTypeBytes.lift,
2148 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2148:27: error: 'nil' requires a contextual type
2146 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
2147 | liftFunc: FfiConverterSequenceTypeBytes.lift,
2148 | errorHandler: nil
| `- error: 'nil' requires a contextual type
2149 | )
2150 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2158:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_publish_track' in scope
2156 | try await uniffiRustCallAsync(
2157 | rustFutureFunc: {
2158 | uniffi_livekit_uniffi_fn_method_localdatatrackmanager_publish_track(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_publish_track' in scope
2159 | self.uniffiCloneHandle(),
2160 | FfiConverterTypeDataTrackOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2163:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
2161 | )
2162 | },
2163 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
2164 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
2165 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2164:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
2162 | },
2163 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
2164 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
2165 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
2166 | liftFunc: FfiConverterTypeLocalDataTrack_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2165:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
2163 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
2164 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
2165 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
2166 | liftFunc: FfiConverterTypeLocalDataTrack_lift,
2167 | errorHandler: FfiConverterTypePublishError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1562:54: error: cannot find type 'RustBuffer' in scope
1560 | @_documentation(visibility: private)
1561 | #endif
1562 | public func FfiConverterTypePublishError_lift(_ buf: RustBuffer) throws -> PublishError {
| `- error: cannot find type 'RustBuffer' in scope
1563 | try FfiConverterTypePublishError.lift(buf)
1564 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2180:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_republish_tracks' in scope
2178 | open func republishTracks() {
2179 | try! rustCall {
2180 | uniffi_livekit_uniffi_fn_method_localdatatrackmanager_republish_tracks(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanager_republish_tracks' in scope
2181 | self.uniffiCloneHandle(), $0
2182 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2281:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_localdatatrackmanagerdelegate' in scope
2279 | #endif
2280 | public func uniffiCloneHandle() -> UInt64 {
2281 | try! rustCall { uniffi_livekit_uniffi_fn_clone_localdatatrackmanagerdelegate(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_localdatatrackmanagerdelegate' in scope
2282 | }
2283 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2292:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_localdatatrackmanagerdelegate' in scope
2290 | }
2291 |
2292 | try! rustCall { uniffi_livekit_uniffi_fn_free_localdatatrackmanagerdelegate(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_localdatatrackmanagerdelegate' in scope
2293 | }
2294 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2300:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanagerdelegate_on_signal_request' in scope
2298 | open func onSignalRequest(request: Data) {
2299 | try! rustCall {
2300 | uniffi_livekit_uniffi_fn_method_localdatatrackmanagerdelegate_on_signal_request(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanagerdelegate_on_signal_request' in scope
2301 | self.uniffiCloneHandle(),
2302 | FfiConverterData.lower(request), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2312:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanagerdelegate_on_packets_available' in scope
2310 | open func onPacketsAvailable(packets: [Bytes]) {
2311 | try! rustCall {
2312 | uniffi_livekit_uniffi_fn_method_localdatatrackmanagerdelegate_on_packets_available(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_localdatatrackmanagerdelegate_on_packets_available' in scope
2313 | self.uniffiCloneHandle(),
2314 | FfiConverterSequenceTypeBytes.lower(packets), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2399:5: error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_localdatatrackmanagerdelegate' in scope
2397 |
2398 | private func uniffiCallbackInitLocalDataTrackManagerDelegate() {
2399 | uniffi_livekit_uniffi_fn_init_callback_vtable_localdatatrackmanagerdelegate(UniffiCallbackInterfaceLocalDataTrackManagerDelegate.vtablePtr)
| `- error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_localdatatrackmanagerdelegate' in scope
2400 | }
2401 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2528:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_outgoingdatastreammanager' in scope
2526 | #endif
2527 | public func uniffiCloneHandle() -> UInt64 {
2528 | try! rustCall { uniffi_livekit_uniffi_fn_clone_outgoingdatastreammanager(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_outgoingdatastreammanager' in scope
2529 | }
2530 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2534:17: error: cannot find 'uniffi_livekit_uniffi_fn_constructor_outgoingdatastreammanager_new' in scope
2532 | let handle =
2533 | try! rustCall {
2534 | uniffi_livekit_uniffi_fn_constructor_outgoingdatastreammanager_new(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_constructor_outgoingdatastreammanager_new' in scope
2535 | FfiConverterTypeOutgoingDataStreamManagerDelegate_lower(delegate),
2536 | FfiConverterTypeRemoteParticipantRegistryDelegate_lower(registry), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2548:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_outgoingdatastreammanager' in scope
2546 | }
2547 |
2548 | try! rustCall { uniffi_livekit_uniffi_fn_free_outgoingdatastreammanager(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_outgoingdatastreammanager' in scope
2549 | }
2550 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2557:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_bytes' in scope
2555 | try await uniffiRustCallAsync(
2556 | rustFutureFunc: {
2557 | uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_bytes(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_bytes' in scope
2558 | self.uniffiCloneHandle(),
2559 | FfiConverterTypeBytes_lower(data), FfiConverterTypeStreamByteOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2562:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2560 | )
2561 | },
2562 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2563 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2564 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2563:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2561 | },
2562 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2563 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2564 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
2565 | liftFunc: FfiConverterTypeByteStreamInfo_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2564:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2562 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2563 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2564 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2565 | liftFunc: FfiConverterTypeByteStreamInfo_lift,
2566 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2576:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_file' in scope
2574 | try await uniffiRustCallAsync(
2575 | rustFutureFunc: {
2576 | uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_file(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_file' in scope
2577 | self.uniffiCloneHandle(),
2578 | FfiConverterString.lower(path), FfiConverterTypeStreamByteOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2581:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2579 | )
2580 | },
2581 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2582 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2583 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2582:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2580 | },
2581 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2582 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2583 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
2584 | liftFunc: FfiConverterTypeByteStreamInfo_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2583:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2581 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2582 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2583 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2584 | liftFunc: FfiConverterTypeByteStreamInfo_lift,
2585 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2595:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_text' in scope
2593 | try await uniffiRustCallAsync(
2594 | rustFutureFunc: {
2595 | uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_text(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_send_text' in scope
2596 | self.uniffiCloneHandle(),
2597 | FfiConverterString.lower(text), FfiConverterTypeStreamTextOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2600:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2598 | )
2599 | },
2600 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
2601 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2602 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2601:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2599 | },
2600 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2601 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
2602 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
2603 | liftFunc: FfiConverterTypeTextStreamInfo_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2602:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2600 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
2601 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
2602 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
2603 | liftFunc: FfiConverterTypeTextStreamInfo_lift,
2604 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2614:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_stream_bytes' in scope
2612 | try await uniffiRustCallAsync(
2613 | rustFutureFunc: {
2614 | uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_stream_bytes(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_stream_bytes' in scope
2615 | self.uniffiCloneHandle(),
2616 | FfiConverterTypeStreamByteOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2619:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
2617 | )
2618 | },
2619 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
2620 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
2621 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2620:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
2618 | },
2619 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
2620 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
2621 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
2622 | liftFunc: FfiConverterTypeByteStreamWriter_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2621:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
2619 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
2620 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
2621 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
2622 | liftFunc: FfiConverterTypeByteStreamWriter_lift,
2623 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2633:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_stream_text' in scope
2631 | try await uniffiRustCallAsync(
2632 | rustFutureFunc: {
2633 | uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_stream_text(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanager_stream_text' in scope
2634 | self.uniffiCloneHandle(),
2635 | FfiConverterTypeStreamTextOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2638:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
2636 | )
2637 | },
2638 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
2639 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
2640 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2639:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
2637 | },
2638 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
2639 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
2640 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
2641 | liftFunc: FfiConverterTypeTextStreamWriter_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2640:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
2638 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
2639 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
2640 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
2641 | liftFunc: FfiConverterTypeTextStreamWriter_lift,
2642 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2745:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_outgoingdatastreammanagerdelegate' in scope
2743 | #endif
2744 | public func uniffiCloneHandle() -> UInt64 {
2745 | try! rustCall { uniffi_livekit_uniffi_fn_clone_outgoingdatastreammanagerdelegate(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_outgoingdatastreammanagerdelegate' in scope
2746 | }
2747 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2756:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_outgoingdatastreammanagerdelegate' in scope
2754 | }
2755 |
2756 | try! rustCall { uniffi_livekit_uniffi_fn_free_outgoingdatastreammanagerdelegate(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_outgoingdatastreammanagerdelegate' in scope
2757 | }
2758 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2774:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanagerdelegate_on_packets_available' in scope
2772 | try await uniffiRustCallAsync(
2773 | rustFutureFunc: {
2774 | uniffi_livekit_uniffi_fn_method_outgoingdatastreammanagerdelegate_on_packets_available(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingdatastreammanagerdelegate_on_packets_available' in scope
2775 | self.uniffiCloneHandle(),
2776 | FfiConverterSequenceTypeBytes.lower(packets)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2779:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
2777 | )
2778 | },
2779 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
2780 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
2781 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2780:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
2778 | },
2779 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
2780 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
2781 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
2782 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2781:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
2779 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
2780 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
2781 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
2782 | liftFunc: { $0 },
2783 | errorHandler: FfiConverterTypePacketDeliveryError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2862:5: error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_outgoingdatastreammanagerdelegate' in scope
2860 |
2861 | private func uniffiCallbackInitOutgoingDataStreamManagerDelegate() {
2862 | uniffi_livekit_uniffi_fn_init_callback_vtable_outgoingdatastreammanagerdelegate(UniffiCallbackInterfaceOutgoingDataStreamManagerDelegate.vtablePtr)
| `- error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_outgoingdatastreammanagerdelegate' in scope
2863 | }
2864 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2985:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_outgoingpacketqueue' in scope
2983 | #endif
2984 | public func uniffiCloneHandle() -> UInt64 {
2985 | try! rustCall { uniffi_livekit_uniffi_fn_clone_outgoingpacketqueue(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_outgoingpacketqueue' in scope
2986 | }
2987 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:2996:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_outgoingpacketqueue' in scope
2994 | }
2995 |
2996 | try! rustCall { uniffi_livekit_uniffi_fn_free_outgoingpacketqueue(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_outgoingpacketqueue' in scope
2997 | }
2998 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3007:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingpacketqueue_close' in scope
3005 | open func close() {
3006 | try! rustCall {
3007 | uniffi_livekit_uniffi_fn_method_outgoingpacketqueue_close(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingpacketqueue_close' in scope
3008 | self.uniffiCloneHandle(), $0
3009 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3023:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingpacketqueue_next_packets' in scope
3021 | try! await uniffiRustCallAsync(
3022 | rustFutureFunc: {
3023 | uniffi_livekit_uniffi_fn_method_outgoingpacketqueue_next_packets(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_outgoingpacketqueue_next_packets' in scope
3024 | self.uniffiCloneHandle()
3025 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3027:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
3025 | )
3026 | },
3027 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
3028 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
3029 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3028:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
3026 | },
3027 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
3028 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
3029 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
3030 | liftFunc: FfiConverterOptionSequenceTypeBytes.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3029:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
3027 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
3028 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
3029 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
3030 | liftFunc: FfiConverterOptionSequenceTypeBytes.lift,
3031 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3031:27: error: 'nil' requires a contextual type
3029 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
3030 | liftFunc: FfiConverterOptionSequenceTypeBytes.lift,
3031 | errorHandler: nil
| `- error: 'nil' requires a contextual type
3032 | )
3033 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3163:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_remotedatatrack' in scope
3161 | #endif
3162 | public func uniffiCloneHandle() -> UInt64 {
3163 | try! rustCall { uniffi_livekit_uniffi_fn_clone_remotedatatrack(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_remotedatatrack' in scope
3164 | }
3165 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3174:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_remotedatatrack' in scope
3172 | }
3173 |
3174 | try! rustCall { uniffi_livekit_uniffi_fn_free_remotedatatrack(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_remotedatatrack' in scope
3175 | }
3176 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3182:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_info' in scope
3180 | open func info() -> DataTrackInfo {
3181 | try! FfiConverterTypeDataTrackInfo_lift(try! rustCall {
3182 | uniffi_livekit_uniffi_fn_method_remotedatatrack_info(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_info' in scope
3183 | self.uniffiCloneHandle(), $0
3184 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3193:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_is_published' in scope
3191 | open func isPublished() -> Bool {
3192 | try! FfiConverterBool.lift(try! rustCall {
3193 | uniffi_livekit_uniffi_fn_method_remotedatatrack_is_published(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_is_published' in scope
3194 | self.uniffiCloneHandle(), $0
3195 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3204:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_publisher_identity' in scope
3202 | open func publisherIdentity() -> String {
3203 | try! FfiConverterString.lift(try! rustCall {
3204 | uniffi_livekit_uniffi_fn_method_remotedatatrack_publisher_identity(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_publisher_identity' in scope
3205 | self.uniffiCloneHandle(), $0
3206 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3219:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_set_pipeline_options' in scope
3217 | open func setPipelineOptions(options: RemoteDataTrackPipelineOptions) {
3218 | try! rustCall {
3219 | uniffi_livekit_uniffi_fn_method_remotedatatrack_set_pipeline_options(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_set_pipeline_options' in scope
3220 | self.uniffiCloneHandle(),
3221 | FfiConverterTypeRemoteDataTrackPipelineOptions_lower(options), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3232:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_subscribe' in scope
3230 | try await uniffiRustCallAsync(
3231 | rustFutureFunc: {
3232 | uniffi_livekit_uniffi_fn_method_remotedatatrack_subscribe(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_subscribe' in scope
3233 | self.uniffiCloneHandle()
3234 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3236:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
3234 | )
3235 | },
3236 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
3237 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
3238 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3237:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
3235 | },
3236 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
3237 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
3238 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
3239 | liftFunc: FfiConverterTypeDataTrackStream_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3238:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
3236 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
3237 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
3238 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
3239 | liftFunc: FfiConverterTypeDataTrackStream_lift,
3240 | errorHandler: FfiConverterTypeDataTrackSubscribeError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1312:65: error: cannot find type 'RustBuffer' in scope
1310 | @_documentation(visibility: private)
1311 | #endif
1312 | public func FfiConverterTypeDataTrackSubscribeError_lift(_ buf: RustBuffer) throws -> DataTrackSubscribeError {
| `- error: cannot find type 'RustBuffer' in scope
1313 | try FfiConverterTypeDataTrackSubscribeError.lift(buf)
1314 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3250:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_subscribe_with_options' in scope
3248 | try await uniffiRustCallAsync(
3249 | rustFutureFunc: {
3250 | uniffi_livekit_uniffi_fn_method_remotedatatrack_subscribe_with_options(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_subscribe_with_options' in scope
3251 | self.uniffiCloneHandle(),
3252 | FfiConverterTypeDataTrackSubscribeOptions_lower(options)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3255:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
3253 | )
3254 | },
3255 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_u64' in scope
3256 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
3257 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3256:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
3254 | },
3255 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
3256 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_u64' in scope
3257 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
3258 | liftFunc: FfiConverterTypeDataTrackStream_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3257:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
3255 | pollFunc: ffi_livekit_uniffi_rust_future_poll_u64,
3256 | completeFunc: ffi_livekit_uniffi_rust_future_complete_u64,
3257 | freeFunc: ffi_livekit_uniffi_rust_future_free_u64,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_u64' in scope
3258 | liftFunc: FfiConverterTypeDataTrackStream_lift,
3259 | errorHandler: FfiConverterTypeDataTrackSubscribeError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3273:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_wait_for_unpublish' in scope
3271 | try! await uniffiRustCallAsync(
3272 | rustFutureFunc: {
3273 | uniffi_livekit_uniffi_fn_method_remotedatatrack_wait_for_unpublish(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrack_wait_for_unpublish' in scope
3274 | self.uniffiCloneHandle()
3275 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3277:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
3275 | )
3276 | },
3277 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
3278 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
3279 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3278:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
3276 | },
3277 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
3278 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
3279 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
3280 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3279:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
3277 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
3278 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
3279 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
3280 | liftFunc: { $0 },
3281 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3281:27: error: 'nil' requires a contextual type
3279 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
3280 | liftFunc: { $0 },
3281 | errorHandler: nil
| `- error: 'nil' requires a contextual type
3282 | )
3283 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3410:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_remotedatatrackmanager' in scope
3408 | #endif
3409 | public func uniffiCloneHandle() -> UInt64 {
3410 | try! rustCall { uniffi_livekit_uniffi_fn_clone_remotedatatrackmanager(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_remotedatatrackmanager' in scope
3411 | }
3412 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3416:17: error: cannot find 'uniffi_livekit_uniffi_fn_constructor_remotedatatrackmanager_new' in scope
3414 | let handle =
3415 | try! rustCall {
3416 | uniffi_livekit_uniffi_fn_constructor_remotedatatrackmanager_new(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_constructor_remotedatatrackmanager_new' in scope
3417 | FfiConverterTypeRemoteDataTrackManagerDelegate_lower(delegate),
3418 | FfiConverterOptionTypeDecryptionProvider.lower(decryptionProvider), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3430:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_remotedatatrackmanager' in scope
3428 | }
3429 |
3430 | try! rustCall { uniffi_livekit_uniffi_fn_free_remotedatatrackmanager(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_remotedatatrackmanager' in scope
3431 | }
3432 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3438:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_packet_received' in scope
3436 | open func handlePacketReceived(packet: Bytes) {
3437 | try! rustCall {
3438 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_packet_received(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_packet_received' in scope
3439 | self.uniffiCloneHandle(),
3440 | FfiConverterTypeBytes_lower(packet), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3454:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_sfu_join_response' in scope
3452 | open func handleSfuJoinResponse(res: Data) throws {
3453 | try rustCallWithError(FfiConverterTypeHandleSignalResponseError_lift) {
3454 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_sfu_join_response(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_sfu_join_response' in scope
3455 | self.uniffiCloneHandle(),
3456 | FfiConverterData.lower(res), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3473:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_sfu_participant_update' in scope
3471 | open func handleSfuParticipantUpdate(res: Data, localParticipantIdentity: String) throws {
3472 | try rustCallWithError(FfiConverterTypeHandleSignalResponseError_lift) {
3473 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_sfu_participant_update(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_sfu_participant_update' in scope
3474 | self.uniffiCloneHandle(),
3475 | FfiConverterData.lower(res),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3486:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_subscriber_handles' in scope
3484 | open func handleSubscriberHandles(res: Data) throws {
3485 | try rustCallWithError(FfiConverterTypeHandleSignalResponseError_lift) {
3486 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_subscriber_handles(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_handle_subscriber_handles' in scope
3487 | self.uniffiCloneHandle(),
3488 | FfiConverterData.lower(res), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3502:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_resend_subscription_updates' in scope
3500 | open func resendSubscriptionUpdates() {
3501 | try! rustCall {
3502 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_resend_subscription_updates(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanager_resend_subscription_updates' in scope
3503 | self.uniffiCloneHandle(), $0
3504 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3613:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_remotedatatrackmanagerdelegate' in scope
3611 | #endif
3612 | public func uniffiCloneHandle() -> UInt64 {
3613 | try! rustCall { uniffi_livekit_uniffi_fn_clone_remotedatatrackmanagerdelegate(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_remotedatatrackmanagerdelegate' in scope
3614 | }
3615 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3624:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_remotedatatrackmanagerdelegate' in scope
3622 | }
3623 |
3624 | try! rustCall { uniffi_livekit_uniffi_fn_free_remotedatatrackmanagerdelegate(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_remotedatatrackmanagerdelegate' in scope
3625 | }
3626 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3632:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_signal_request' in scope
3630 | open func onSignalRequest(request: Data) {
3631 | try! rustCall {
3632 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_signal_request(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_signal_request' in scope
3633 | self.uniffiCloneHandle(),
3634 | FfiConverterData.lower(request), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3649:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_track_published' in scope
3647 | open func onTrackPublished(track: RemoteDataTrack) {
3648 | try! rustCall {
3649 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_track_published(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_track_published' in scope
3650 | self.uniffiCloneHandle(),
3651 | FfiConverterTypeRemoteDataTrack_lower(track), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3661:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_track_unpublished' in scope
3659 | open func onTrackUnpublished(sid: DataTrackSid) {
3660 | try! rustCall {
3661 | uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_track_unpublished(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remotedatatrackmanagerdelegate_on_track_unpublished' in scope
3662 | self.uniffiCloneHandle(),
3663 | FfiConverterTypeDataTrackSid_lower(sid), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3771:5: error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_remotedatatrackmanagerdelegate' in scope
3769 |
3770 | private func uniffiCallbackInitRemoteDataTrackManagerDelegate() {
3771 | uniffi_livekit_uniffi_fn_init_callback_vtable_remotedatatrackmanagerdelegate(UniffiCallbackInterfaceRemoteDataTrackManagerDelegate.vtablePtr)
| `- error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_remotedatatrackmanagerdelegate' in scope
3772 | }
3773 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3892:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_remoteparticipantregistrydelegate' in scope
3890 | #endif
3891 | public func uniffiCloneHandle() -> UInt64 {
3892 | try! rustCall { uniffi_livekit_uniffi_fn_clone_remoteparticipantregistrydelegate(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_remoteparticipantregistrydelegate' in scope
3893 | }
3894 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3903:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_remoteparticipantregistrydelegate' in scope
3901 | }
3902 |
3903 | try! rustCall { uniffi_livekit_uniffi_fn_free_remoteparticipantregistrydelegate(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_remoteparticipantregistrydelegate' in scope
3904 | }
3905 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3911:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_client_protocol' in scope
3909 | open func remoteClientProtocol(identity: String) -> Int32 {
3910 | try! FfiConverterInt32.lift(try! rustCall {
3911 | uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_client_protocol(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_client_protocol' in scope
3912 | self.uniffiCloneHandle(),
3913 | FfiConverterString.lower(identity), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3923:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_capabilities' in scope
3921 | open func remoteCapabilities(identity: String) -> [ClientCapability] {
3922 | try! FfiConverterSequenceTypeClientCapability.lift(try! rustCall {
3923 | uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_capabilities(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_capabilities' in scope
3924 | self.uniffiCloneHandle(),
3925 | FfiConverterString.lower(identity), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:3935:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_identities' in scope
3933 | open func remoteIdentities() -> [String] {
3934 | try! FfiConverterSequenceString.lift(try! rustCall {
3935 | uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_identities(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_remoteparticipantregistrydelegate_remote_identities' in scope
3936 | self.uniffiCloneHandle(), $0
3937 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4042:5: error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_remoteparticipantregistrydelegate' in scope
4040 |
4041 | private func uniffiCallbackInitRemoteParticipantRegistryDelegate() {
4042 | uniffi_livekit_uniffi_fn_init_callback_vtable_remoteparticipantregistrydelegate(UniffiCallbackInterfaceRemoteParticipantRegistryDelegate.vtablePtr)
| `- error: cannot find 'uniffi_livekit_uniffi_fn_init_callback_vtable_remoteparticipantregistrydelegate' in scope
4043 | }
4044 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4159:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_textstreamreader' in scope
4157 | #endif
4158 | public func uniffiCloneHandle() -> UInt64 {
4159 | try! rustCall { uniffi_livekit_uniffi_fn_clone_textstreamreader(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_textstreamreader' in scope
4160 | }
4161 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4170:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_textstreamreader' in scope
4168 | }
4169 |
4170 | try! rustCall { uniffi_livekit_uniffi_fn_free_textstreamreader(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_textstreamreader' in scope
4171 | }
4172 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4178:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamreader_info' in scope
4176 | open func info() -> TextStreamInfo {
4177 | try! FfiConverterTypeTextStreamInfo_lift(try! rustCall {
4178 | uniffi_livekit_uniffi_fn_method_textstreamreader_info(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamreader_info' in scope
4179 | self.uniffiCloneHandle(), $0
4180 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4190:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamreader_next' in scope
4188 | try await uniffiRustCallAsync(
4189 | rustFutureFunc: {
4190 | uniffi_livekit_uniffi_fn_method_textstreamreader_next(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamreader_next' in scope
4191 | self.uniffiCloneHandle()
4192 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4194:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
4192 | )
4193 | },
4194 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
4195 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
4196 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4195:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
4193 | },
4194 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
4195 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
4196 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
4197 | liftFunc: FfiConverterOptionString.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4196:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
4194 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
4195 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
4196 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
4197 | liftFunc: FfiConverterOptionString.lift,
4198 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4208:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamreader_read_all' in scope
4206 | try await uniffiRustCallAsync(
4207 | rustFutureFunc: {
4208 | uniffi_livekit_uniffi_fn_method_textstreamreader_read_all(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamreader_read_all' in scope
4209 | self.uniffiCloneHandle()
4210 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4212:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
4210 | )
4211 | },
4212 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
4213 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
4214 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4213:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
4211 | },
4212 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
4213 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
4214 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
4215 | liftFunc: FfiConverterString.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4214:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
4212 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
4213 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
4214 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
4215 | liftFunc: FfiConverterString.lift,
4216 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4330:25: error: cannot find 'uniffi_livekit_uniffi_fn_clone_textstreamwriter' in scope
4328 | #endif
4329 | public func uniffiCloneHandle() -> UInt64 {
4330 | try! rustCall { uniffi_livekit_uniffi_fn_clone_textstreamwriter(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_clone_textstreamwriter' in scope
4331 | }
4332 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4341:25: error: cannot find 'uniffi_livekit_uniffi_fn_free_textstreamwriter' in scope
4339 | }
4340 |
4341 | try! rustCall { uniffi_livekit_uniffi_fn_free_textstreamwriter(handle, $0) }
| `- error: cannot find 'uniffi_livekit_uniffi_fn_free_textstreamwriter' in scope
4342 | }
4343 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4350:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_close' in scope
4348 | try await uniffiRustCallAsync(
4349 | rustFutureFunc: {
4350 | uniffi_livekit_uniffi_fn_method_textstreamwriter_close(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_close' in scope
4351 | self.uniffiCloneHandle()
4352 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4354:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
4352 | )
4353 | },
4354 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
4355 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
4356 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4355:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
4353 | },
4354 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
4355 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
4356 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
4357 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4356:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
4354 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
4355 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
4356 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
4357 | liftFunc: { $0 },
4358 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4368:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_close_with_reason' in scope
4366 | try await uniffiRustCallAsync(
4367 | rustFutureFunc: {
4368 | uniffi_livekit_uniffi_fn_method_textstreamwriter_close_with_reason(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_close_with_reason' in scope
4369 | self.uniffiCloneHandle(),
4370 | FfiConverterString.lower(reason)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4373:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
4371 | )
4372 | },
4373 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
4374 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
4375 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4374:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
4372 | },
4373 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
4374 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
4375 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
4376 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4375:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
4373 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
4374 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
4375 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
4376 | liftFunc: { $0 },
4377 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4386:13: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_info' in scope
4384 | open func info() -> TextStreamInfo {
4385 | try! FfiConverterTypeTextStreamInfo_lift(try! rustCall {
4386 | uniffi_livekit_uniffi_fn_method_textstreamwriter_info(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_info' in scope
4387 | self.uniffiCloneHandle(), $0
4388 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4398:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_is_open' in scope
4396 | try! await uniffiRustCallAsync(
4397 | rustFutureFunc: {
4398 | uniffi_livekit_uniffi_fn_method_textstreamwriter_is_open(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_is_open' in scope
4399 | self.uniffiCloneHandle()
4400 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4402:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_i8' in scope
4400 | )
4401 | },
4402 | pollFunc: ffi_livekit_uniffi_rust_future_poll_i8,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_i8' in scope
4403 | completeFunc: ffi_livekit_uniffi_rust_future_complete_i8,
4404 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4403:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_i8' in scope
4401 | },
4402 | pollFunc: ffi_livekit_uniffi_rust_future_poll_i8,
4403 | completeFunc: ffi_livekit_uniffi_rust_future_complete_i8,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_i8' in scope
4404 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
4405 | liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4404:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_i8' in scope
4402 | pollFunc: ffi_livekit_uniffi_rust_future_poll_i8,
4403 | completeFunc: ffi_livekit_uniffi_rust_future_complete_i8,
4404 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_i8' in scope
4405 | liftFunc: FfiConverterBool.lift,
4406 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4406:27: error: 'nil' requires a contextual type
4404 | freeFunc: ffi_livekit_uniffi_rust_future_free_i8,
4405 | liftFunc: FfiConverterBool.lift,
4406 | errorHandler: nil
| `- error: 'nil' requires a contextual type
4407 | )
4408 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4416:17: error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_write' in scope
4414 | try await uniffiRustCallAsync(
4415 | rustFutureFunc: {
4416 | uniffi_livekit_uniffi_fn_method_textstreamwriter_write(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_method_textstreamwriter_write' in scope
4417 | self.uniffiCloneHandle(),
4418 | FfiConverterString.lower(text)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4421:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
4419 | )
4420 | },
4421 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_void' in scope
4422 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
4423 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4422:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
4420 | },
4421 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
4422 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_void' in scope
4423 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
4424 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:4423:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
4421 | pollFunc: ffi_livekit_uniffi_rust_future_poll_void,
4422 | completeFunc: ffi_livekit_uniffi_rust_future_complete_void,
4423 | freeFunc: ffi_livekit_uniffi_rust_future_free_void,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_void' in scope
4424 | liftFunc: { $0 },
4425 | errorHandler: FfiConverterTypeDataStreamError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7495:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
7493 | }
7494 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
7495 | droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
| `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
7496 | handle: handle,
7497 | free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7524:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
7522 | }
7523 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
7524 | droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
| `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
7525 | handle: handle,
7526 | free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7571:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_token_claims_from_unverified' in scope
7569 | public func tokenClaimsFromUnverified(token: String) throws -> Claims {
7570 | try FfiConverterTypeClaims_lift(rustCallWithError(FfiConverterTypeAccessTokenError_lift) {
7571 | uniffi_livekit_uniffi_fn_func_token_claims_from_unverified(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_token_claims_from_unverified' in scope
7572 | FfiConverterString.lower(token), $0
7573 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7586:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_token_generate' in scope
7584 | public func tokenGenerate(options: TokenOptions, credentials: ApiCredentials?) throws -> String {
7585 | try FfiConverterString.lift(rustCallWithError(FfiConverterTypeAccessTokenError_lift) {
7586 | uniffi_livekit_uniffi_fn_func_token_generate(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_token_generate' in scope
7587 | FfiConverterTypeTokenOptions_lower(options),
7588 | FfiConverterOptionTypeApiCredentials.lower(credentials), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7602:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_token_verify' in scope
7600 | public func tokenVerify(token: String, credentials: ApiCredentials?) throws -> Claims {
7601 | try FfiConverterTypeClaims_lift(rustCallWithError(FfiConverterTypeAccessTokenError_lift) {
7602 | uniffi_livekit_uniffi_fn_func_token_verify(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_token_verify' in scope
7603 | FfiConverterString.lower(token),
7604 | FfiConverterOptionTypeApiCredentials.lower(credentials), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7614:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_build_version' in scope
7612 | public func buildVersion() -> String {
7613 | try! FfiConverterString.lift(try! rustCall {
7614 | uniffi_livekit_uniffi_fn_func_build_version($0)
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_build_version' in scope
7615 | })
7616 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7627:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_polled_incoming_data_stream_manager' in scope
7625 | public func polledIncomingDataStreamManager(maxPayloadByteLength: UInt64?) -> PolledIncomingDataStreamManager {
7626 | try! FfiConverterTypePolledIncomingDataStreamManager_lift(try! rustCall {
7627 | uniffi_livekit_uniffi_fn_func_polled_incoming_data_stream_manager(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_polled_incoming_data_stream_manager' in scope
7628 | FfiConverterOptionUInt64.lower(maxPayloadByteLength), $0
7629 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7642:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_polled_outgoing_data_stream_manager' in scope
7640 | public func polledOutgoingDataStreamManager(registry: RemoteParticipantRegistryDelegate) -> PolledOutgoingDataStreamManager {
7641 | try! FfiConverterTypePolledOutgoingDataStreamManager_lift(try! rustCall {
7642 | uniffi_livekit_uniffi_fn_func_polled_outgoing_data_stream_manager(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_polled_outgoing_data_stream_manager' in scope
7643 | FfiConverterTypeRemoteParticipantRegistryDelegate_lower(registry), $0
7644 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7657:9: error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_bootstrap' in scope
7655 | public func logForwardBootstrap(level: LogForwardFilter) {
7656 | try! rustCall {
7657 | uniffi_livekit_uniffi_fn_func_log_forward_bootstrap(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_bootstrap' in scope
7658 | FfiConverterTypeLogForwardFilter_lower(level), $0
7659 | )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7674:13: error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_receive' in scope
7672 | try! await uniffiRustCallAsync(
7673 | rustFutureFunc: {
7674 | uniffi_livekit_uniffi_fn_func_log_forward_receive(
| `- error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_receive' in scope
7675 | )
7676 | },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7677:19: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
7675 | )
7676 | },
7677 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
7678 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
7679 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7678:23: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
7676 | },
7677 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
7678 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
7679 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
7680 | liftFunc: FfiConverterOptionTypeLogForwardEntry.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7679:19: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
7677 | pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
7678 | completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
7679 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
7680 | liftFunc: FfiConverterOptionTypeLogForwardEntry.lift,
7681 | errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7681:23: error: 'nil' requires a contextual type
7679 | freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
7680 | liftFunc: FfiConverterOptionTypeLogForwardEntry.lift,
7681 | errorHandler: nil
| `- error: 'nil' requires a contextual type
7682 | )
7683 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:23:28: error: cannot find type 'RustBuffer' in scope
21 | }
22 |
23 | static func empty() -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
24 | RustBuffer(capacity: 0, len: 0, data: nil)
25 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:27:60: error: cannot find type 'RustBuffer' in scope
25 | }
26 |
27 | static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
28 | try! rustCall { ffi_livekit_uniffi_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
[6/7] Compiling LiveKitUniFFI livekit_common.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:14:19: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | private extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | /// Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:38:19: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | private extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | private extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | self.init(
54 | bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:190:72: error: cannot find type 'RustBuffer' in scope
188 | /// Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | /// Used for complex types where it's hard to write a custom lift/lower.
190 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 | @_documentation(visibility: private)
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
197 | var reader = createReader(data: Data(rustBuffer: buf))
198 | let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 | @_documentation(visibility: private)
208 | #endif
209 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:257:19: error: cannot find type 'RustCallStatus' in scope
255 | private let CALL_CANCELLED: Int8 = 3
256 |
257 | private extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
258 | init() {
259 | self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:270:60: error: cannot find type 'RustCallStatus' in scope
268 | }
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
272 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:276:32: error: cannot find type 'RustBuffer' in scope
274 |
275 | private func rustCallWithError<T>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
| `- error: cannot find type 'RustBuffer' in scope
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
278 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:277:39: error: cannot find type 'RustCallStatus' in scope
275 | private func rustCallWithError<T>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
| `- error: cannot find type 'RustCallStatus' in scope
278 | ) throws -> T {
279 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:283:39: error: cannot find type 'RustCallStatus' in scope
281 |
282 | private func makeRustCall<T>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
284 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
285 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:284:21: error: cannot find type 'RustBuffer' in scope
282 | private func makeRustCall<T>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
284 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
| `- error: cannot find type 'RustBuffer' in scope
285 | ) throws -> T {
286 | uniffiEnsureLivekitCommonInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:294:17: error: cannot find type 'RustCallStatus' in scope
292 |
293 | private func uniffiCheckCallStatus(
294 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
295 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
296 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:295:21: error: cannot find type 'RustBuffer' in scope
293 | private func uniffiCheckCallStatus(
294 | callStatus: RustCallStatus,
295 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
| `- error: cannot find type 'RustBuffer' in scope
296 | ) throws {
297 | switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:329:38: error: cannot find type 'RustCallStatus' in scope
327 |
328 | private func uniffiTraitInterfaceCall<T>(
329 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
330 | makeCall: () throws -> T,
331 | writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:342:38: error: cannot find type 'RustCallStatus' in scope
340 |
341 | private func uniffiTraitInterfaceCallWithError<T, E>(
342 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:345:24: error: cannot find type 'RustBuffer' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
345 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
346 | ) {
347 | do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:423:25: error: cannot find type 'RustBuffer' in scope
421 | private struct FfiConverterString: FfiConverter {
422 | typealias SwiftType = String
423 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
424 |
425 | static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:425:31: error: cannot find type 'RustBuffer' in scope
423 | typealias FfiType = RustBuffer
424 |
425 | static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
426 | defer {
427 | value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:436:43: error: cannot find type 'RustBuffer' in scope
434 | }
435 |
436 | static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
437 | value.utf8CString.withUnsafeBufferPointer { ptr in
438 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:421:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
419 | @_documentation(visibility: private)
420 | #endif
421 | private struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
422 | typealias SwiftType = String
423 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:462:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
460 | @_documentation(visibility: private)
461 | #endif
462 | private struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
463 | typealias SwiftType = Data
464 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:495:38: error: cannot find type 'RustBuffer' in scope
493 | }
494 |
495 | public static func lift(_ value: RustBuffer) throws -> Bytes {
| `- error: cannot find type 'RustBuffer' in scope
496 | try FfiConverterData.lift(value)
497 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:499:49: error: cannot find type 'RustBuffer' in scope
497 | }
498 |
499 | public static func lower(_ value: Bytes) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
500 | FfiConverterData.lower(value)
501 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:486:15: error: type 'FfiConverterTypeBytes' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'
162 |
163 | static func lift(_ value: FfiType) throws -> SwiftType
:
484 | @_documentation(visibility: private)
485 | #endif
486 | public struct FfiConverterTypeBytes: FfiConverter {
| |- error: type 'FfiConverterTypeBytes' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
487 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Bytes {
488 | try FfiConverterData.read(from: &buf)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:507:49: error: cannot find type 'RustBuffer' in scope
505 | @_documentation(visibility: private)
506 | #endif
507 | public func FfiConverterTypeBytes_lift(_ value: RustBuffer) throws -> Bytes {
| `- error: cannot find type 'RustBuffer' in scope
508 | try FfiConverterTypeBytes.lift(value)
509 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:514:60: error: cannot find type 'RustBuffer' in scope
512 | @_documentation(visibility: private)
513 | #endif
514 | public func FfiConverterTypeBytes_lower(_ value: Bytes) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
515 | FfiConverterTypeBytes.lower(value)
516 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:530:40: error: cannot find 'ffi_livekit_common_uniffi_contract_version' in scope
528 | let bindings_contract_version = 30
529 | // Get the scaffolding contract version by calling the into the dylib
530 | let scaffolding_contract_version = ffi_livekit_common_uniffi_contract_version()
| `- error: cannot find 'ffi_livekit_common_uniffi_contract_version' in scope
531 | if bindings_contract_version != scaffolding_contract_version {
532 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:197:41: error: no exact matches in call to initializer
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
197 | var reader = createReader(data: Data(rustBuffer: buf))
| `- error: no exact matches in call to initializer
198 | let value = try read(from: &reader)
199 | if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:212:16: error: cannot find 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
212 | return RustBuffer(bytes: writer)
| `- error: cannot find 'RustBuffer' in scope
213 | }
214 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:271:23: error: cannot find type 'RustBuffer' in scope
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
| `- error: cannot find type 'RustBuffer' in scope
272 | return try makeRustCall(callback, errorHandler: neverThrow)
273 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:287:22: error: cannot find 'RustCallStatus' in scope
285 | ) throws -> T {
286 | uniffiEnsureLivekitCommonInitialized()
287 | var callStatus = RustCallStatus()
| `- error: cannot find 'RustCallStatus' in scope
288 | let returnedVal = callback(&callStatus)
289 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:442:24: error: cannot find 'RustBuffer' in scope
440 | // The swift string gives us a trailing null byte, we don't want it.
441 | let buf = UnsafeBufferPointer(rebasing: ptr.prefix(upTo: ptr.count - 1))
442 | return RustBuffer.from(buf)
| `- error: cannot find 'RustBuffer' in scope
443 | }
444 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:23:28: error: cannot find type 'RustBuffer' in scope
21 | }
22 |
23 | static func empty() -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
24 | RustBuffer(capacity: 0, len: 0, data: nil)
25 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:27:60: error: cannot find type 'RustBuffer' in scope
25 | }
26 |
27 | static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
28 | try! rustCall { ffi_livekit_common_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
[7/7] Compiling LiveKitUniFFI livekit_datatrack.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:14:19: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | private extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | /// Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:38:19: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | private extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | private extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | self.init(
54 | bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:190:72: error: cannot find type 'RustBuffer' in scope
188 | /// Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | /// Used for complex types where it's hard to write a custom lift/lower.
190 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 | @_documentation(visibility: private)
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
197 | var reader = createReader(data: Data(rustBuffer: buf))
198 | let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 | @_documentation(visibility: private)
208 | #endif
209 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:257:19: error: cannot find type 'RustCallStatus' in scope
255 | private let CALL_CANCELLED: Int8 = 3
256 |
257 | private extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
258 | init() {
259 | self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:270:60: error: cannot find type 'RustCallStatus' in scope
268 | }
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
272 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:276:32: error: cannot find type 'RustBuffer' in scope
274 |
275 | private func rustCallWithError<T>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
| `- error: cannot find type 'RustBuffer' in scope
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
278 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:277:39: error: cannot find type 'RustCallStatus' in scope
275 | private func rustCallWithError<T>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
| `- error: cannot find type 'RustCallStatus' in scope
278 | ) throws -> T {
279 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:283:39: error: cannot find type 'RustCallStatus' in scope
281 |
282 | private func makeRustCall<T>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
284 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
285 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:284:21: error: cannot find type 'RustBuffer' in scope
282 | private func makeRustCall<T>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
284 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
| `- error: cannot find type 'RustBuffer' in scope
285 | ) throws -> T {
286 | uniffiEnsureLivekitDatatrackInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:294:17: error: cannot find type 'RustCallStatus' in scope
292 |
293 | private func uniffiCheckCallStatus(
294 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
295 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
296 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:295:21: error: cannot find type 'RustBuffer' in scope
293 | private func uniffiCheckCallStatus(
294 | callStatus: RustCallStatus,
295 | errorHandler: ((RustBuffer) throws -> some Swift.Error)?
| `- error: cannot find type 'RustBuffer' in scope
296 | ) throws {
297 | switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:329:38: error: cannot find type 'RustCallStatus' in scope
327 |
328 | private func uniffiTraitInterfaceCall<T>(
329 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
330 | makeCall: () throws -> T,
331 | writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:342:38: error: cannot find type 'RustCallStatus' in scope
340 |
341 | private func uniffiTraitInterfaceCallWithError<T, E>(
342 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:345:24: error: cannot find type 'RustBuffer' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
345 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
346 | ) {
347 | do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:446:25: error: cannot find type 'RustBuffer' in scope
444 | private struct FfiConverterString: FfiConverter {
445 | typealias SwiftType = String
446 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
447 |
448 | static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:448:31: error: cannot find type 'RustBuffer' in scope
446 | typealias FfiType = RustBuffer
447 |
448 | static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
449 | defer {
450 | value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:459:43: error: cannot find type 'RustBuffer' in scope
457 | }
458 |
459 | static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
460 | value.utf8CString.withUnsafeBufferPointer { ptr in
461 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:444:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
442 | @_documentation(visibility: private)
443 | #endif
444 | private struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
445 | typealias SwiftType = String
446 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:485:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
483 | @_documentation(visibility: private)
484 | #endif
485 | private struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
486 | typealias SwiftType = Data
487 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:592:24: error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
590 | ///
591 | /// Store the vtable directly.
592 | static let vtable: UniffiVTableCallbackInterfaceDecryptionProvider = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
593 | uniffiFree: { (uniffiHandle: UInt64) in
594 | do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:609:22: error: cannot find type 'RustBuffer' in scope
607 | decrypt: { (
608 | uniffiHandle: UInt64,
609 | payload: RustBuffer,
| `- error: cannot find type 'RustBuffer' in scope
610 | senderIdentity: RustBuffer,
611 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:610:29: error: cannot find type 'RustBuffer' in scope
608 | uniffiHandle: UInt64,
609 | payload: RustBuffer,
610 | senderIdentity: RustBuffer,
| `- error: cannot find type 'RustBuffer' in scope
611 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
612 | uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:611:51: error: cannot find type 'RustBuffer' in scope
609 | payload: RustBuffer,
610 | senderIdentity: RustBuffer,
611 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
| `- error: cannot find type 'RustBuffer' in scope
612 | uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
613 | ) in
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:612:52: error: cannot find type 'RustCallStatus' in scope
610 | senderIdentity: RustBuffer,
611 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
612 | uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
| `- error: cannot find type 'RustCallStatus' in scope
613 | ) in
614 | let makeCall = {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:936:58: error: cannot find type 'RustBuffer' in scope
934 | @_documentation(visibility: private)
935 | #endif
936 | public func FfiConverterTypeEncryptedPayload_lift(_ buf: RustBuffer) throws -> EncryptedPayload {
| `- error: cannot find type 'RustBuffer' in scope
937 | try FfiConverterTypeEncryptedPayload.lift(buf)
938 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:637:41: error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
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> = {
| `- error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
638 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceDecryptionProvider>.allocate(capacity: 1)
639 | ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:638:40: error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
636 | /// for the process lifetime (not just for the init function call).
637 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider> = {
638 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceDecryptionProvider>.allocate(capacity: 1)
| `- error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
639 | ptr.initialize(to: vtable)
640 | return UnsafePointer(ptr)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:785:24: error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
783 | ///
784 | /// Store the vtable directly.
785 | static let vtable: UniffiVTableCallbackInterfaceEncryptionProvider = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
786 | uniffiFree: { (uniffiHandle: UInt64) in
787 | do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:802:22: error: cannot find type 'RustBuffer' in scope
800 | encrypt: { (
801 | uniffiHandle: UInt64,
802 | payload: RustBuffer,
| `- error: cannot find type 'RustBuffer' in scope
803 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
804 | uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:803:51: error: cannot find type 'RustBuffer' in scope
801 | uniffiHandle: UInt64,
802 | payload: RustBuffer,
803 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
| `- error: cannot find type 'RustBuffer' in scope
804 | uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
805 | ) in
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:804:52: error: cannot find type 'RustCallStatus' in scope
802 | payload: RustBuffer,
803 | uniffiOutReturn: UnsafeMutablePointer<RustBuffer>,
804 | uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
| `- error: cannot find type 'RustCallStatus' in scope
805 | ) in
806 | let makeCall = {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:507:49: error: cannot find type 'RustBuffer' in scope
505 | @_documentation(visibility: private)
506 | #endif
507 | public func FfiConverterTypeBytes_lift(_ value: RustBuffer) throws -> Bytes {
| `- error: cannot find type 'RustBuffer' in scope
508 | try FfiConverterTypeBytes.lift(value)
509 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:828:41: error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
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> = {
| `- error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
829 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEncryptionProvider>.allocate(capacity: 1)
830 | ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:829:40: error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
827 | /// for the process lifetime (not just for the init function call).
828 | static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider> = {
829 | let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEncryptionProvider>.allocate(capacity: 1)
| `- error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
830 | ptr.initialize(to: vtable)
831 | return UnsafePointer(ptr)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:917:15: error: type 'FfiConverterTypeEncryptedPayload' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'
162 |
163 | static func lift(_ value: FfiType) throws -> SwiftType
:
915 | @_documentation(visibility: private)
916 | #endif
917 | public struct FfiConverterTypeEncryptedPayload: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncryptedPayload' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
918 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> EncryptedPayload {
919 | try EncryptedPayload(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:943:82: error: cannot find type 'RustBuffer' in scope
941 | @_documentation(visibility: private)
942 | #endif
943 | public func FfiConverterTypeEncryptedPayload_lower(_ value: EncryptedPayload) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
944 | FfiConverterTypeEncryptedPayload.lower(value)
945 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1021:15: error: type 'FfiConverterTypeDataTrackFrameEncoding' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1019 | @_documentation(visibility: private)
1020 | #endif
1021 | public struct FfiConverterTypeDataTrackFrameEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeDataTrackFrameEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1022 | typealias SwiftType = DataTrackFrameEncoding
1023 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1085:64: error: cannot find type 'RustBuffer' in scope
1083 | @_documentation(visibility: private)
1084 | #endif
1085 | public func FfiConverterTypeDataTrackFrameEncoding_lift(_ buf: RustBuffer) throws -> DataTrackFrameEncoding {
| `- error: cannot find type 'RustBuffer' in scope
1086 | try FfiConverterTypeDataTrackFrameEncoding.lift(buf)
1087 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1092:94: error: cannot find type 'RustBuffer' in scope
1090 | @_documentation(visibility: private)
1091 | #endif
1092 | public func FfiConverterTypeDataTrackFrameEncoding_lower(_ value: DataTrackFrameEncoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1093 | FfiConverterTypeDataTrackFrameEncoding.lower(value)
1094 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1173:15: error: type 'FfiConverterTypeDataTrackSchemaEncoding' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1171 | @_documentation(visibility: private)
1172 | #endif
1173 | public struct FfiConverterTypeDataTrackSchemaEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeDataTrackSchemaEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1174 | typealias SwiftType = DataTrackSchemaEncoding
1175 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1237:65: error: cannot find type 'RustBuffer' in scope
1235 | @_documentation(visibility: private)
1236 | #endif
1237 | public func FfiConverterTypeDataTrackSchemaEncoding_lift(_ buf: RustBuffer) throws -> DataTrackSchemaEncoding {
| `- error: cannot find type 'RustBuffer' in scope
1238 | try FfiConverterTypeDataTrackSchemaEncoding.lift(buf)
1239 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1244:96: error: cannot find type 'RustBuffer' in scope
1242 | @_documentation(visibility: private)
1243 | #endif
1244 | public func FfiConverterTypeDataTrackSchemaEncoding_lower(_ value: DataTrackSchemaEncoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1245 | FfiConverterTypeDataTrackSchemaEncoding.lower(value)
1246 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1269:15: error: type 'FfiConverterTypeDataTrackSubscribeError' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1267 | @_documentation(visibility: private)
1268 | #endif
1269 | public struct FfiConverterTypeDataTrackSubscribeError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeDataTrackSubscribeError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1270 | typealias SwiftType = DataTrackSubscribeError
1271 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1312:65: error: cannot find type 'RustBuffer' in scope
1310 | @_documentation(visibility: private)
1311 | #endif
1312 | public func FfiConverterTypeDataTrackSubscribeError_lift(_ buf: RustBuffer) throws -> DataTrackSubscribeError {
| `- error: cannot find type 'RustBuffer' in scope
1313 | try FfiConverterTypeDataTrackSubscribeError.lift(buf)
1314 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1319:96: error: cannot find type 'RustBuffer' in scope
1317 | @_documentation(visibility: private)
1318 | #endif
1319 | public func FfiConverterTypeDataTrackSubscribeError_lower(_ value: DataTrackSubscribeError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1320 | FfiConverterTypeDataTrackSubscribeError.lower(value)
1321 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1341:15: error: type 'FfiConverterTypeDecryptionError' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1339 | @_documentation(visibility: private)
1340 | #endif
1341 | public struct FfiConverterTypeDecryptionError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeDecryptionError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1342 | typealias SwiftType = DecryptionError
1343 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1367:57: error: cannot find type 'RustBuffer' in scope
1365 | @_documentation(visibility: private)
1366 | #endif
1367 | public func FfiConverterTypeDecryptionError_lift(_ buf: RustBuffer) throws -> DecryptionError {
| `- error: cannot find type 'RustBuffer' in scope
1368 | try FfiConverterTypeDecryptionError.lift(buf)
1369 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1374:80: error: cannot find type 'RustBuffer' in scope
1372 | @_documentation(visibility: private)
1373 | #endif
1374 | public func FfiConverterTypeDecryptionError_lower(_ value: DecryptionError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1375 | FfiConverterTypeDecryptionError.lower(value)
1376 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1396:15: error: type 'FfiConverterTypeEncryptionError' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1394 | @_documentation(visibility: private)
1395 | #endif
1396 | public struct FfiConverterTypeEncryptionError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncryptionError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1397 | typealias SwiftType = EncryptionError
1398 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1422:57: error: cannot find type 'RustBuffer' in scope
1420 | @_documentation(visibility: private)
1421 | #endif
1422 | public func FfiConverterTypeEncryptionError_lift(_ buf: RustBuffer) throws -> EncryptionError {
| `- error: cannot find type 'RustBuffer' in scope
1423 | try FfiConverterTypeEncryptionError.lift(buf)
1424 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1429:80: error: cannot find type 'RustBuffer' in scope
1427 | @_documentation(visibility: private)
1428 | #endif
1429 | public func FfiConverterTypeEncryptionError_lower(_ value: EncryptionError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1430 | FfiConverterTypeEncryptionError.lower(value)
1431 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1495:15: error: type 'FfiConverterTypePublishError' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1493 | @_documentation(visibility: private)
1494 | #endif
1495 | public struct FfiConverterTypePublishError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePublishError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1496 | typealias SwiftType = PublishError
1497 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1562:54: error: cannot find type 'RustBuffer' in scope
1560 | @_documentation(visibility: private)
1561 | #endif
1562 | public func FfiConverterTypePublishError_lift(_ buf: RustBuffer) throws -> PublishError {
| `- error: cannot find type 'RustBuffer' in scope
1563 | try FfiConverterTypePublishError.lift(buf)
1564 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1569:74: error: cannot find type 'RustBuffer' in scope
1567 | @_documentation(visibility: private)
1568 | #endif
1569 | public func FfiConverterTypePublishError_lower(_ value: PublishError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1570 | FfiConverterTypePublishError.lower(value)
1571 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1599:15: error: type 'FfiConverterTypePushFrameErrorReason' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1597 | @_documentation(visibility: private)
1598 | #endif
1599 | public struct FfiConverterTypePushFrameErrorReason: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePushFrameErrorReason' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1600 | typealias SwiftType = PushFrameErrorReason
1601 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1630:62: error: cannot find type 'RustBuffer' in scope
1628 | @_documentation(visibility: private)
1629 | #endif
1630 | public func FfiConverterTypePushFrameErrorReason_lift(_ buf: RustBuffer) throws -> PushFrameErrorReason {
| `- error: cannot find type 'RustBuffer' in scope
1631 | try FfiConverterTypePushFrameErrorReason.lift(buf)
1632 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1637:90: error: cannot find type 'RustBuffer' in scope
1635 | @_documentation(visibility: private)
1636 | #endif
1637 | public func FfiConverterTypePushFrameErrorReason_lower(_ value: PushFrameErrorReason) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1638 | FfiConverterTypePushFrameErrorReason.lower(value)
1639 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1659:38: error: cannot find type 'RustBuffer' in scope
1657 | }
1658 |
1659 | public static func lift(_ value: RustBuffer) throws -> InitializationVector {
| `- error: cannot find type 'RustBuffer' in scope
1660 | try FfiConverterData.lift(value)
1661 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1663:64: error: cannot find type 'RustBuffer' in scope
1661 | }
1662 |
1663 | public static func lower(_ value: InitializationVector) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1664 | FfiConverterData.lower(value)
1665 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1650:15: error: type 'FfiConverterTypeInitializationVector' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'
162 |
163 | static func lift(_ value: FfiType) throws -> SwiftType
:
1648 | @_documentation(visibility: private)
1649 | #endif
1650 | public struct FfiConverterTypeInitializationVector: FfiConverter {
| |- error: type 'FfiConverterTypeInitializationVector' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1651 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> InitializationVector {
1652 | try FfiConverterData.read(from: &buf)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1671:64: error: cannot find type 'RustBuffer' in scope
1669 | @_documentation(visibility: private)
1670 | #endif
1671 | public func FfiConverterTypeInitializationVector_lift(_ value: RustBuffer) throws -> InitializationVector {
| `- error: cannot find type 'RustBuffer' in scope
1672 | try FfiConverterTypeInitializationVector.lift(value)
1673 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1678:90: error: cannot find type 'RustBuffer' in scope
1676 | @_documentation(visibility: private)
1677 | #endif
1678 | public func FfiConverterTypeInitializationVector_lower(_ value: InitializationVector) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1679 | FfiConverterTypeInitializationVector.lower(value)
1680 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1694:40: error: cannot find 'ffi_livekit_datatrack_uniffi_contract_version' in scope
1692 | let bindings_contract_version = 30
1693 | // Get the scaffolding contract version by calling the into the dylib
1694 | let scaffolding_contract_version = ffi_livekit_datatrack_uniffi_contract_version()
| `- error: cannot find 'ffi_livekit_datatrack_uniffi_contract_version' in scope
1695 | if bindings_contract_version != scaffolding_contract_version {
1696 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1698:8: error: cannot find 'uniffi_livekit_datatrack_checksum_method_decryptionprovider_decrypt' in scope
1696 | return InitializationResult.contractVersionMismatch
1697 | }
1698 | if uniffi_livekit_datatrack_checksum_method_decryptionprovider_decrypt() != 1225 {
| `- error: cannot find 'uniffi_livekit_datatrack_checksum_method_decryptionprovider_decrypt' in scope
1699 | return InitializationResult.apiChecksumMismatch
1700 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1701:8: error: cannot find 'uniffi_livekit_datatrack_checksum_method_encryptionprovider_encrypt' in scope
1699 | return InitializationResult.apiChecksumMismatch
1700 | }
1701 | if uniffi_livekit_datatrack_checksum_method_encryptionprovider_encrypt() != 40311 {
| `- error: cannot find 'uniffi_livekit_datatrack_checksum_method_encryptionprovider_encrypt' in scope
1702 | return InitializationResult.apiChecksumMismatch
1703 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:197:41: error: no exact matches in call to initializer
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
197 | var reader = createReader(data: Data(rustBuffer: buf))
| `- error: no exact matches in call to initializer
198 | let value = try read(from: &reader)
199 | if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:212:16: error: cannot find 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
212 | return RustBuffer(bytes: writer)
| `- error: cannot find 'RustBuffer' in scope
213 | }
214 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:271:23: error: cannot find type 'RustBuffer' in scope
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
| `- error: cannot find type 'RustBuffer' in scope
272 | return try makeRustCall(callback, errorHandler: neverThrow)
273 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:287:22: error: cannot find 'RustCallStatus' in scope
285 | ) throws -> T {
286 | uniffiEnsureLivekitDatatrackInitialized()
287 | var callStatus = RustCallStatus()
| `- error: cannot find 'RustCallStatus' in scope
288 | let returnedVal = callback(&callStatus)
289 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:465:24: error: cannot find 'RustBuffer' in scope
463 | // The swift string gives us a trailing null byte, we don't want it.
464 | let buf = UnsafeBufferPointer(rebasing: ptr.prefix(upTo: ptr.count - 1))
465 | return RustBuffer.from(buf)
| `- error: cannot find 'RustBuffer' in scope
466 | }
467 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:554:25: error: cannot find 'uniffi_livekit_datatrack_fn_clone_decryptionprovider' in scope
552 | #endif
553 | public func uniffiCloneHandle() -> UInt64 {
554 | try! rustCall { uniffi_livekit_datatrack_fn_clone_decryptionprovider(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_datatrack_fn_clone_decryptionprovider' in scope
555 | }
556 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:565:25: error: cannot find 'uniffi_livekit_datatrack_fn_free_decryptionprovider' in scope
563 | }
564 |
565 | try! rustCall { uniffi_livekit_datatrack_fn_free_decryptionprovider(handle, $0) }
| `- error: cannot find 'uniffi_livekit_datatrack_fn_free_decryptionprovider' in scope
566 | }
567 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:577:13: error: cannot find 'uniffi_livekit_datatrack_fn_method_decryptionprovider_decrypt' in scope
575 | open func decrypt(payload: EncryptedPayload, senderIdentity: String) throws -> Bytes {
576 | try FfiConverterTypeBytes_lift(rustCallWithError(FfiConverterTypeDecryptionError_lift) {
577 | uniffi_livekit_datatrack_fn_method_decryptionprovider_decrypt(
| `- error: cannot find 'uniffi_livekit_datatrack_fn_method_decryptionprovider_decrypt' in scope
578 | self.uniffiCloneHandle(),
579 | FfiConverterTypeEncryptedPayload_lower(payload),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:645:5: error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_decryptionprovider' in scope
643 |
644 | private func uniffiCallbackInitDecryptionProvider() {
645 | uniffi_livekit_datatrack_fn_init_callback_vtable_decryptionprovider(UniffiCallbackInterfaceDecryptionProvider.vtablePtr)
| `- error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_decryptionprovider' in scope
646 | }
647 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:752:25: error: cannot find 'uniffi_livekit_datatrack_fn_clone_encryptionprovider' in scope
750 | #endif
751 | public func uniffiCloneHandle() -> UInt64 {
752 | try! rustCall { uniffi_livekit_datatrack_fn_clone_encryptionprovider(self.handle, $0) }
| `- error: cannot find 'uniffi_livekit_datatrack_fn_clone_encryptionprovider' in scope
753 | }
754 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:763:25: error: cannot find 'uniffi_livekit_datatrack_fn_free_encryptionprovider' in scope
761 | }
762 |
763 | try! rustCall { uniffi_livekit_datatrack_fn_free_encryptionprovider(handle, $0) }
| `- error: cannot find 'uniffi_livekit_datatrack_fn_free_encryptionprovider' in scope
764 | }
765 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:771:13: error: cannot find 'uniffi_livekit_datatrack_fn_method_encryptionprovider_encrypt' in scope
769 | open func encrypt(payload: Bytes) throws -> EncryptedPayload {
770 | try FfiConverterTypeEncryptedPayload_lift(rustCallWithError(FfiConverterTypeEncryptionError_lift) {
771 | uniffi_livekit_datatrack_fn_method_encryptionprovider_encrypt(
| `- error: cannot find 'uniffi_livekit_datatrack_fn_method_encryptionprovider_encrypt' in scope
772 | self.uniffiCloneHandle(),
773 | FfiConverterTypeBytes_lower(payload), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:514:60: error: cannot find type 'RustBuffer' in scope
512 | @_documentation(visibility: private)
513 | #endif
514 | public func FfiConverterTypeBytes_lower(_ value: Bytes) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
515 | FfiConverterTypeBytes.lower(value)
516 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:836:5: error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_encryptionprovider' in scope
834 |
835 | private func uniffiCallbackInitEncryptionProvider() {
836 | uniffi_livekit_datatrack_fn_init_callback_vtable_encryptionprovider(UniffiCallbackInterfaceEncryptionProvider.vtablePtr)
| `- error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_encryptionprovider' in scope
837 | }
838 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:23:28: error: cannot find type 'RustBuffer' in scope
21 | }
22 |
23 | static func empty() -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
24 | RustBuffer(capacity: 0, len: 0, data: nil)
25 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:27:60: error: cannot find type 'RustBuffer' in scope
25 | }
26 |
27 | static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
28 | try! rustCall { ffi_livekit_datatrack_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
BUILD FAILURE 6.3 wasm