The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LiveKitUniFFI, reference 0.2.2 (49efe2), with Swift 6.2 for Wasm on 10 Oct 2026 11:55:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

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 |     }
[5/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: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: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: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: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: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: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: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: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_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: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 |     }
[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: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: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_net.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.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_net.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_net.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_net.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_net.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_net.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_net.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_net.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_net.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_net.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_net.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_net.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 |     uniffiEnsureLivekitNetInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.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_net.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_net.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_net.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_net.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_net.swift:486:25: error: cannot find type 'RustBuffer' in scope
 484 | private struct FfiConverterString: FfiConverter {
 485 |     typealias SwiftType = String
 486 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 487 |
 488 |     static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:488:31: error: cannot find type 'RustBuffer' in scope
 486 |     typealias FfiType = RustBuffer
 487 |
 488 |     static func lift(_ value: RustBuffer) throws -> String {
     |                               `- error: cannot find type 'RustBuffer' in scope
 489 |         defer {
 490 |             value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:499:43: error: cannot find type 'RustBuffer' in scope
 497 |     }
 498 |
 499 |     static func lower(_ value: String) -> RustBuffer {
     |                                           `- error: cannot find type 'RustBuffer' in scope
 500 |         value.utf8CString.withUnsafeBufferPointer { ptr in
 501 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:484: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 |
     :
 482 |     @_documentation(visibility: private)
 483 | #endif
 484 | private struct FfiConverterString: FfiConverter {
     |                |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
 485 |     typealias SwiftType = String
 486 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:525: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 |
     :
 523 |     @_documentation(visibility: private)
 524 | #endif
 525 | private struct FfiConverterData: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
 526 |     typealias SwiftType = Data
 527 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:642:24: error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 640 |     ///
 641 |     /// Store the vtable directly.
 642 |     static let vtable: UniffiVTableCallbackInterfaceHttpClient = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 643 |         uniffiFree: { (uniffiHandle: UInt64) in
 644 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:710:41: error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 708 |     /// Rust stores this pointer for future callback invocations, so it must live
 709 |     /// for the process lifetime (not just for the init function call).
 710 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceHttpClient> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 711 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceHttpClient>.allocate(capacity: 1)
 712 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:871:24: error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 869 |     ///
 870 |     /// Store the vtable directly.
 871 |     static let vtable: UniffiVTableCallbackInterfaceWsClient = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 872 |         uniffiFree: { (uniffiHandle: UInt64) in
 873 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:937:41: error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 935 |     /// Rust stores this pointer for future callback invocations, so it must live
 936 |     /// for the process lifetime (not just for the init function call).
 937 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsClient> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 938 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsClient>.allocate(capacity: 1)
 939 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1140:24: error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1138 |     ///
1139 |     /// Store the vtable directly.
1140 |     static let vtable: UniffiVTableCallbackInterfaceWsConnection = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1141 |         uniffiFree: { (uniffiHandle: UInt64) in
1142 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1279:41: error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1277 |     /// Rust stores this pointer for future callback invocations, so it must live
1278 |     /// for the process lifetime (not just for the init function call).
1279 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsConnection> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1280 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsConnection>.allocate(capacity: 1)
1281 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1366:15: error: type 'FfiConverterTypeHeader' 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
     :
1364 |     @_documentation(visibility: private)
1365 | #endif
1366 | public struct FfiConverterTypeHeader: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHeader' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1367 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Header {
1368 |         try Header(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1383:48: error: cannot find type 'RustBuffer' in scope
1381 |     @_documentation(visibility: private)
1382 | #endif
1383 | public func FfiConverterTypeHeader_lift(_ buf: RustBuffer) throws -> Header {
     |                                                `- error: cannot find type 'RustBuffer' in scope
1384 |     try FfiConverterTypeHeader.lift(buf)
1385 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1390:62: error: cannot find type 'RustBuffer' in scope
1388 |     @_documentation(visibility: private)
1389 | #endif
1390 | public func FfiConverterTypeHeader_lower(_ value: Header) -> RustBuffer {
     |                                                              `- error: cannot find type 'RustBuffer' in scope
1391 |     FfiConverterTypeHeader.lower(value)
1392 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1425:15: error: type 'FfiConverterTypeHttpResponse' 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
     :
1423 |     @_documentation(visibility: private)
1424 | #endif
1425 | public struct FfiConverterTypeHttpResponse: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHttpResponse' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1426 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> HttpResponse {
1427 |         try HttpResponse(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1444:54: error: cannot find type 'RustBuffer' in scope
1442 |     @_documentation(visibility: private)
1443 | #endif
1444 | public func FfiConverterTypeHttpResponse_lift(_ buf: RustBuffer) throws -> HttpResponse {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1445 |     try FfiConverterTypeHttpResponse.lift(buf)
1446 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1451:74: error: cannot find type 'RustBuffer' in scope
1449 |     @_documentation(visibility: private)
1450 | #endif
1451 | public func FfiConverterTypeHttpResponse_lower(_ value: HttpResponse) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1452 |     FfiConverterTypeHttpResponse.lower(value)
1453 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1478:15: error: type 'FfiConverterTypeWsConnectResult' 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
     :
1476 |     @_documentation(visibility: private)
1477 | #endif
1478 | public struct FfiConverterTypeWsConnectResult: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeWsConnectResult' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1479 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WsConnectResult {
1480 |         try WsConnectResult(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1493:57: error: cannot find type 'RustBuffer' in scope
1491 |     @_documentation(visibility: private)
1492 | #endif
1493 | public func FfiConverterTypeWsConnectResult_lift(_ buf: RustBuffer) throws -> WsConnectResult {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1494 |     try FfiConverterTypeWsConnectResult.lift(buf)
1495 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1500:80: error: cannot find type 'RustBuffer' in scope
1498 |     @_documentation(visibility: private)
1499 | #endif
1500 | public func FfiConverterTypeWsConnectResult_lower(_ value: WsConnectResult) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1501 |     FfiConverterTypeWsConnectResult.lower(value)
1502 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1522:15: error: type 'FfiConverterTypeHttpMethod' 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 |
     :
1520 |     @_documentation(visibility: private)
1521 | #endif
1522 | public struct FfiConverterTypeHttpMethod: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHttpMethod' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1523 |     typealias SwiftType = HttpMethod
1524 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1550:52: error: cannot find type 'RustBuffer' in scope
1548 |     @_documentation(visibility: private)
1549 | #endif
1550 | public func FfiConverterTypeHttpMethod_lift(_ buf: RustBuffer) throws -> HttpMethod {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1551 |     try FfiConverterTypeHttpMethod.lift(buf)
1552 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1557:70: error: cannot find type 'RustBuffer' in scope
1555 |     @_documentation(visibility: private)
1556 | #endif
1557 | public func FfiConverterTypeHttpMethod_lower(_ value: HttpMethod) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1558 |     FfiConverterTypeHttpMethod.lower(value)
1559 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1583:15: error: type 'FfiConverterTypeTransportError' 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 |
     :
1581 |     @_documentation(visibility: private)
1582 | #endif
1583 | public struct FfiConverterTypeTransportError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeTransportError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1584 |     typealias SwiftType = TransportError
1585 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1630:56: error: cannot find type 'RustBuffer' in scope
1628 |     @_documentation(visibility: private)
1629 | #endif
1630 | public func FfiConverterTypeTransportError_lift(_ buf: RustBuffer) throws -> TransportError {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1631 |     try FfiConverterTypeTransportError.lift(buf)
1632 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1637:78: error: cannot find type 'RustBuffer' in scope
1635 |     @_documentation(visibility: private)
1636 | #endif
1637 | public func FfiConverterTypeTransportError_lower(_ value: TransportError) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1638 |     FfiConverterTypeTransportError.lower(value)
1639 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1644:16: error: type 'FfiConverterOptionData' 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 |
     :
1642 |     @_documentation(visibility: private)
1643 | #endif
1644 | private struct FfiConverterOptionData: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
1645 |     typealias SwiftType = Data?
1646 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1668:16: error: type 'FfiConverterSequenceTypeHeader' 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 |
     :
1666 |     @_documentation(visibility: private)
1667 | #endif
1668 | private struct FfiConverterSequenceTypeHeader: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterSequenceTypeHeader' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
1669 |     typealias SwiftType = [Header]
1670 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1697:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1695 | private func uniffiRustCallAsync<F, T>(
1696 |     rustFutureFunc: () -> UInt64,
1697 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1698 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1699 |     freeFunc: (UInt64) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1697:24: error: @escaping attribute only applies to function types
1695 | private func uniffiRustCallAsync<F, T>(
1696 |     rustFutureFunc: () -> UInt64,
1697 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
     |                        `- error: @escaping attribute only applies to function types
1698 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1699 |     freeFunc: (UInt64) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1698:49: error: cannot find type 'RustCallStatus' in scope
1696 |     rustFutureFunc: () -> UInt64,
1697 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
1698 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
1699 |     freeFunc: (UInt64) -> Void,
1700 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1701:21: error: cannot find type 'RustBuffer' in scope
1699 |     freeFunc: (UInt64) -> Void,
1700 |     liftFunc: (F) throws -> T,
1701 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
1702 | ) async throws -> T {
1703 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1742:35: error: cannot find type 'RustBuffer' in scope
1740 |     makeCall: @escaping () async throws -> T,
1741 |     handleSuccess: @escaping (T) -> Void,
1742 |     handleError: @escaping (Int8, RustBuffer) -> Void,
     |                                   `- error: cannot find type 'RustBuffer' in scope
1743 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1744 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1743:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1741 |     handleSuccess: @escaping (T) -> Void,
1742 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1743 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1744 | ) {
1745 |     let task = Task {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1773:35: error: cannot find type 'RustBuffer' in scope
1771 |     makeCall: @escaping () async throws -> T,
1772 |     handleSuccess: @escaping (T) -> Void,
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
     |                                   `- error: cannot find type 'RustBuffer' in scope
1774 |     lowerError: @escaping (E) -> RustBuffer,
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1774:34: error: cannot find type 'RustBuffer' in scope
1772 |     handleSuccess: @escaping (T) -> Void,
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1774 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1776 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1774:17: error: @escaping attribute only applies to function types
1772 |     handleSuccess: @escaping (T) -> Void,
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1774 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1776 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1775:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1774 |     lowerError: @escaping (E) -> RustBuffer,
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1776 | ) {
1777 |     let task = Task {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1930:40: error: cannot find 'ffi_livekit_net_uniffi_contract_version' in scope
1928 |     let bindings_contract_version = 30
1929 |     // Get the scaffolding contract version by calling the into the dylib
1930 |     let scaffolding_contract_version = ffi_livekit_net_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_livekit_net_uniffi_contract_version' in scope
1931 |     if bindings_contract_version != scaffolding_contract_version {
1932 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1934:8: error: cannot find 'uniffi_livekit_net_checksum_func_has_http_client' in scope
1932 |         return InitializationResult.contractVersionMismatch
1933 |     }
1934 |     if uniffi_livekit_net_checksum_func_has_http_client() != 31874 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_has_http_client' in scope
1935 |         return InitializationResult.apiChecksumMismatch
1936 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1937:8: error: cannot find 'uniffi_livekit_net_checksum_func_has_ws_client' in scope
1935 |         return InitializationResult.apiChecksumMismatch
1936 |     }
1937 |     if uniffi_livekit_net_checksum_func_has_ws_client() != 1427 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_has_ws_client' in scope
1938 |         return InitializationResult.apiChecksumMismatch
1939 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1940:8: error: cannot find 'uniffi_livekit_net_checksum_func_self_test_http_get' in scope
1938 |         return InitializationResult.apiChecksumMismatch
1939 |     }
1940 |     if uniffi_livekit_net_checksum_func_self_test_http_get() != 58956 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_self_test_http_get' in scope
1941 |         return InitializationResult.apiChecksumMismatch
1942 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1943:8: error: cannot find 'uniffi_livekit_net_checksum_func_self_test_ws_echo' in scope
1941 |         return InitializationResult.apiChecksumMismatch
1942 |     }
1943 |     if uniffi_livekit_net_checksum_func_self_test_ws_echo() != 54359 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_self_test_ws_echo' in scope
1944 |         return InitializationResult.apiChecksumMismatch
1945 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1946:8: error: cannot find 'uniffi_livekit_net_checksum_func_set_http_client' in scope
1944 |         return InitializationResult.apiChecksumMismatch
1945 |     }
1946 |     if uniffi_livekit_net_checksum_func_set_http_client() != 2382 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_set_http_client' in scope
1947 |         return InitializationResult.apiChecksumMismatch
1948 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1949:8: error: cannot find 'uniffi_livekit_net_checksum_func_set_ws_client' in scope
1947 |         return InitializationResult.apiChecksumMismatch
1948 |     }
1949 |     if uniffi_livekit_net_checksum_func_set_ws_client() != 25157 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_set_ws_client' in scope
1950 |         return InitializationResult.apiChecksumMismatch
1951 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1952:8: error: cannot find 'uniffi_livekit_net_checksum_method_httpclient_request' in scope
1950 |         return InitializationResult.apiChecksumMismatch
1951 |     }
1952 |     if uniffi_livekit_net_checksum_method_httpclient_request() != 22088 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_httpclient_request' in scope
1953 |         return InitializationResult.apiChecksumMismatch
1954 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1955:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsclient_connect' in scope
1953 |         return InitializationResult.apiChecksumMismatch
1954 |     }
1955 |     if uniffi_livekit_net_checksum_method_wsclient_connect() != 54712 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsclient_connect' in scope
1956 |         return InitializationResult.apiChecksumMismatch
1957 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1958:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_send' in scope
1956 |         return InitializationResult.apiChecksumMismatch
1957 |     }
1958 |     if uniffi_livekit_net_checksum_method_wsconnection_send() != 64949 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_send' in scope
1959 |         return InitializationResult.apiChecksumMismatch
1960 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1961:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_recv' in scope
1959 |         return InitializationResult.apiChecksumMismatch
1960 |     }
1961 |     if uniffi_livekit_net_checksum_method_wsconnection_recv() != 4606 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_recv' in scope
1962 |         return InitializationResult.apiChecksumMismatch
1963 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1964:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_close' in scope
1962 |         return InitializationResult.apiChecksumMismatch
1963 |     }
1964 |     if uniffi_livekit_net_checksum_method_wsconnection_close() != 13655 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_close' in scope
1965 |         return InitializationResult.apiChecksumMismatch
1966 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.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_net.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_net.swift:287:22: error: cannot find 'RustCallStatus' in scope
 285 | ) throws -> T {
 286 |     uniffiEnsureLivekitNetInitialized()
 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_net.swift:602:25: error: cannot find 'uniffi_livekit_net_fn_clone_httpclient' in scope
 600 |     #endif
 601 |     public func uniffiCloneHandle() -> UInt64 {
 602 |         try! rustCall { uniffi_livekit_net_fn_clone_httpclient(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_clone_httpclient' in scope
 603 |     }
 604 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:613:25: error: cannot find 'uniffi_livekit_net_fn_free_httpclient' in scope
 611 |         }
 612 |
 613 |         try! rustCall { uniffi_livekit_net_fn_free_httpclient(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_free_httpclient' in scope
 614 |     }
 615 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:622:17: error: cannot find 'uniffi_livekit_net_fn_method_httpclient_request' in scope
 620 |         try await uniffiRustCallAsync(
 621 |             rustFutureFunc: {
 622 |                 uniffi_livekit_net_fn_method_httpclient_request(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_httpclient_request' in scope
 623 |                     self.uniffiCloneHandle(),
 624 |                     FfiConverterTypeHttpMethod_lower(method), FfiConverterString.lower(url), FfiConverterSequenceTypeHeader.lower(headers), FfiConverterOptionData.lower(body)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:627:23: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 625 |                 )
 626 |             },
 627 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 628 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 629 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:628:27: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 626 |             },
 627 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 628 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 629 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
 630 |             liftFunc: FfiConverterTypeHttpResponse_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:629:23: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 627 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 628 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 629 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 630 |             liftFunc: FfiConverterTypeHttpResponse_lift,
 631 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:718:5: error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_httpclient' in scope
 716 |
 717 | private func uniffiCallbackInitHttpClient() {
 718 |     uniffi_livekit_net_fn_init_callback_vtable_httpclient(UniffiCallbackInterfaceHttpClient.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_httpclient' in scope
 719 | }
 720 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:829:25: error: cannot find 'uniffi_livekit_net_fn_clone_wsclient' in scope
 827 |     #endif
 828 |     public func uniffiCloneHandle() -> UInt64 {
 829 |         try! rustCall { uniffi_livekit_net_fn_clone_wsclient(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_clone_wsclient' in scope
 830 |     }
 831 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:840:25: error: cannot find 'uniffi_livekit_net_fn_free_wsclient' in scope
 838 |         }
 839 |
 840 |         try! rustCall { uniffi_livekit_net_fn_free_wsclient(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_free_wsclient' in scope
 841 |     }
 842 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:851:17: error: cannot find 'uniffi_livekit_net_fn_method_wsclient_connect' in scope
 849 |         try await uniffiRustCallAsync(
 850 |             rustFutureFunc: {
 851 |                 uniffi_livekit_net_fn_method_wsclient_connect(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsclient_connect' in scope
 852 |                     self.uniffiCloneHandle(),
 853 |                     FfiConverterString.lower(url), FfiConverterSequenceTypeHeader.lower(headers), FfiConverterUInt64.lower(timeoutMs)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:856:23: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 854 |                 )
 855 |             },
 856 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 857 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 858 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:857:27: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 855 |             },
 856 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 857 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 858 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
 859 |             liftFunc: FfiConverterTypeWsConnectResult_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:858:23: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 856 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 857 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 858 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 859 |             liftFunc: FfiConverterTypeWsConnectResult_lift,
 860 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:945:5: error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsclient' in scope
 943 |
 944 | private func uniffiCallbackInitWsClient() {
 945 |     uniffi_livekit_net_fn_init_callback_vtable_wsclient(UniffiCallbackInterfaceWsClient.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsclient' in scope
 946 | }
 947 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1064:25: error: cannot find 'uniffi_livekit_net_fn_clone_wsconnection' in scope
1062 |     #endif
1063 |     public func uniffiCloneHandle() -> UInt64 {
1064 |         try! rustCall { uniffi_livekit_net_fn_clone_wsconnection(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_clone_wsconnection' in scope
1065 |     }
1066 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1075:25: error: cannot find 'uniffi_livekit_net_fn_free_wsconnection' in scope
1073 |         }
1074 |
1075 |         try! rustCall { uniffi_livekit_net_fn_free_wsconnection(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_free_wsconnection' in scope
1076 |     }
1077 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1084:17: error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_send' in scope
1082 |         try await uniffiRustCallAsync(
1083 |             rustFutureFunc: {
1084 |                 uniffi_livekit_net_fn_method_wsconnection_send(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_send' in scope
1085 |                     self.uniffiCloneHandle(),
1086 |                     FfiConverterData.lower(frame)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1089:23: error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1087 |                 )
1088 |             },
1089 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1090 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1091 |             freeFunc: ffi_livekit_net_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1090:27: error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1088 |             },
1089 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1090 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1091 |             freeFunc: ffi_livekit_net_rust_future_free_void,
1092 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1091:23: error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1089 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1090 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1091 |             freeFunc: ffi_livekit_net_rust_future_free_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1092 |             liftFunc: { $0 },
1093 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1103:17: error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_recv' in scope
1101 |         try await uniffiRustCallAsync(
1102 |             rustFutureFunc: {
1103 |                 uniffi_livekit_net_fn_method_wsconnection_recv(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_recv' in scope
1104 |                     self.uniffiCloneHandle()
1105 |                 )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1107:23: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1105 |                 )
1106 |             },
1107 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1108 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1109 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1108:27: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1106 |             },
1107 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1108 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1109 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
1110 |             liftFunc: FfiConverterOptionData.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1109:23: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1107 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1108 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1109 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1110 |             liftFunc: FfiConverterOptionData.lift,
1111 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1121:17: error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_close' in scope
1119 |         try! await uniffiRustCallAsync(
1120 |             rustFutureFunc: {
1121 |                 uniffi_livekit_net_fn_method_wsconnection_close(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_close' in scope
1122 |                     self.uniffiCloneHandle()
1123 |                 )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1125:23: error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1123 |                 )
1124 |             },
1125 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1126 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1126:27: error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1124 |             },
1125 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1126 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
1128 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1127:23: error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1125 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1126 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1128 |             liftFunc: { $0 },
1129 |             errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1129:27: error: 'nil' requires a contextual type
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
1128 |             liftFunc: { $0 },
1129 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1130 |         )
1131 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1287:5: error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsconnection' in scope
1285 |
1286 | private func uniffiCallbackInitWsConnection() {
1287 |     uniffi_livekit_net_fn_init_callback_vtable_wsconnection(UniffiCallbackInterfaceWsConnection.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsconnection' in scope
1288 | }
1289 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1764:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1762 |     }
1763 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
1764 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1765 |         handle: handle,
1766 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1793:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1791 |     }
1792 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
1793 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1794 |         handle: handle,
1795 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1839:9: error: cannot find 'uniffi_livekit_net_fn_func_has_http_client' in scope
1837 | public func hasHttpClient() -> Bool {
1838 |     try! FfiConverterBool.lift(try! rustCall {
1839 |         uniffi_livekit_net_fn_func_has_http_client($0)
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_has_http_client' in scope
1840 |     })
1841 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1852:9: error: cannot find 'uniffi_livekit_net_fn_func_has_ws_client' in scope
1850 | public func hasWsClient() -> Bool {
1851 |     try! FfiConverterBool.lift(try! rustCall {
1852 |         uniffi_livekit_net_fn_func_has_ws_client($0)
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_has_ws_client' in scope
1853 |     })
1854 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1864:13: error: cannot find 'uniffi_livekit_net_fn_func_self_test_http_get' in scope
1862 |     try await uniffiRustCallAsync(
1863 |         rustFutureFunc: {
1864 |             uniffi_livekit_net_fn_func_self_test_http_get(FfiConverterString.lower(url))
     |             `- error: cannot find 'uniffi_livekit_net_fn_func_self_test_http_get' in scope
1865 |         },
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1866:19: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1864 |             uniffi_livekit_net_fn_func_self_test_http_get(FfiConverterString.lower(url))
1865 |         },
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1867 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1868 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1867:23: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1865 |         },
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1867 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1868 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
1869 |         liftFunc: FfiConverterTypeHttpResponse_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1868:19: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1867 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1868 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1869 |         liftFunc: FfiConverterTypeHttpResponse_lift,
1870 |         errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1881:13: error: cannot find 'uniffi_livekit_net_fn_func_self_test_ws_echo' in scope
1879 |     try await uniffiRustCallAsync(
1880 |         rustFutureFunc: {
1881 |             uniffi_livekit_net_fn_func_self_test_ws_echo(FfiConverterString.lower(url), FfiConverterData.lower(payload))
     |             `- error: cannot find 'uniffi_livekit_net_fn_func_self_test_ws_echo' in scope
1882 |         },
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1883:19: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1881 |             uniffi_livekit_net_fn_func_self_test_ws_echo(FfiConverterString.lower(url), FfiConverterData.lower(payload))
1882 |         },
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1884 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1885 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1884:23: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1882 |         },
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1884 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1885 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
1886 |         liftFunc: FfiConverterData.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1885:19: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1884 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1885 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1886 |         liftFunc: FfiConverterData.lift,
1887 |         errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1897:9: error: cannot find 'uniffi_livekit_net_fn_func_set_http_client' in scope
1895 | public func setHttpClient(c: HttpClient) {
1896 |     try! rustCall {
1897 |         uniffi_livekit_net_fn_func_set_http_client(
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_set_http_client' in scope
1898 |             FfiConverterTypeHttpClient_lower(c), $0
1899 |         )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1912:9: error: cannot find 'uniffi_livekit_net_fn_func_set_ws_client' in scope
1910 | public func setWsClient(c: WsClient) {
1911 |     try! rustCall {
1912 |         uniffi_livekit_net_fn_func_set_ws_client(
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_set_ws_client' in scope
1913 |             FfiConverterTypeWsClient_lower(c), $0
1914 |         )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.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_net.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_net_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
  29 |     }
BUILD FAILURE 6.2 wasm