The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LiveKitUniFFI, reference 0.0.6 (7c1612), with Swift 6.2 for Android on 22 Apr 2026 04:46:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/livekit-uniffi-xcframework.git
Reference: 0.0.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/livekit/livekit-uniffi-xcframework
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 7c16125 Update to dylibs (#11)
Cloned https://github.com/livekit/livekit-uniffi-xcframework.git
Revision (git rev-parse @):
7c161254ce7cd55debc48023f69a917076b12a26
SUCCESS checkout https://github.com/livekit/livekit-uniffi-xcframework.git at 0.0.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/livekit/livekit-uniffi-xcframework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Downloading binary artifact https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.6/RustLiveKitUniFFI.xcframework.zip
[1397/5544487] Downloading https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.6/RustLiveKitUniFFI.xcframework.zip
Downloaded https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.6/RustLiveKitUniFFI.xcframework.zip (0.88s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module LiveKitUniFFI
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:14:23: error: cannot find type 'RustBuffer' in scope
  12 | #endif
  13 |
  14 | fileprivate 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_uniffi.swift:38:23: error: cannot find type 'ForeignBytes' in scope
  36 | }
  37 |
  38 | fileprivate 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_uniffi.swift:52:22: error: cannot find type 'RustBuffer' in scope
  50 |
  51 | fileprivate 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_uniffi.swift:190:76: 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 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
 191 |
 192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.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_uniffi.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_uniffi.swift:256:23: error: cannot find type 'RustCallStatus' in scope
 254 | fileprivate let CALL_CANCELLED: Int8 = 3
 255 |
 256 | fileprivate extension RustCallStatus {
     |                       `- error: cannot find type 'RustCallStatus' in scope
 257 |     init() {
 258 |         self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:269:60: error: cannot find type 'RustCallStatus' in scope
 267 | }
 268 |
 269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                                            `- error: cannot find type 'RustCallStatus' in scope
 270 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
 271 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:275:32: error: cannot find type 'RustBuffer' in scope
 273 |
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
     |                                `- error: cannot find type 'RustBuffer' in scope
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:276:39: error: cannot find type 'RustCallStatus' in scope
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
 278 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:281:39: error: cannot find type 'RustCallStatus' in scope
 279 |
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 282 |     errorHandler: ((RustBuffer) throws -> E)?
 283 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:282:21: error: cannot find type 'RustBuffer' in scope
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
 282 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureLivekitUniffiInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:292:17: error: cannot find type 'RustCallStatus' in scope
 290 |
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
     |                 `- error: cannot find type 'RustCallStatus' in scope
 293 |     errorHandler: ((RustBuffer) throws -> E)?
 294 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:293:21: error: cannot find type 'RustBuffer' in scope
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
 293 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 294 | ) throws {
 295 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:327:38: error: cannot find type 'RustCallStatus' in scope
 325 |
 326 | private func uniffiTraitInterfaceCall<T>(
 327 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 328 |     makeCall: () throws -> T,
 329 |     writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:340:38: error: cannot find type 'RustCallStatus' in scope
 338 |
 339 | private func uniffiTraitInterfaceCallWithError<T, E>(
 340 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:343:24: error: cannot find type 'RustBuffer' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
 343 |     lowerError: (E) -> RustBuffer
     |                        `- error: cannot find type 'RustBuffer' in scope
 344 | ) {
 345 |     do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:480:25: error: cannot find type 'RustBuffer' in scope
 478 | fileprivate struct FfiConverterString: FfiConverter {
 479 |     typealias SwiftType = String
 480 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 481 |
 482 |     public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:482:38: error: cannot find type 'RustBuffer' in scope
 480 |     typealias FfiType = RustBuffer
 481 |
 482 |     public static func lift(_ value: RustBuffer) throws -> String {
     |                                      `- error: cannot find type 'RustBuffer' in scope
 483 |         defer {
 484 |             value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:493:50: error: cannot find type 'RustBuffer' in scope
 491 |     }
 492 |
 493 |     public static func lower(_ value: String) -> RustBuffer {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
 494 |         return value.utf8CString.withUnsafeBufferPointer { ptr in
 495 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:478:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 476 | @_documentation(visibility: private)
 477 | #endif
 478 | fileprivate struct FfiConverterString: FfiConverter {
     |                    |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
 479 |     typealias SwiftType = String
 480 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:519:20: error: type 'FfiConverterDuration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 517 | @_documentation(visibility: private)
 518 | #endif
 519 | fileprivate struct FfiConverterDuration: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterDuration' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
 520 |     typealias SwiftType = TimeInterval
 521 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:571:15: error: type 'FfiConverterTypeApiCredentials' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 569 | @_documentation(visibility: private)
 570 | #endif
 571 | public struct FfiConverterTypeApiCredentials: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeApiCredentials' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 572 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ApiCredentials {
 573 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:590:56: error: cannot find type 'RustBuffer' in scope
 588 | @_documentation(visibility: private)
 589 | #endif
 590 | public func FfiConverterTypeApiCredentials_lift(_ buf: RustBuffer) throws -> ApiCredentials {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
 591 |     return try FfiConverterTypeApiCredentials.lift(buf)
 592 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:597:78: error: cannot find type 'RustBuffer' in scope
 595 | @_documentation(visibility: private)
 596 | #endif
 597 | public func FfiConverterTypeApiCredentials_lower(_ value: ApiCredentials) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
 598 |     return FfiConverterTypeApiCredentials.lower(value)
 599 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:646:15: error: type 'FfiConverterTypeClaims' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 644 | @_documentation(visibility: private)
 645 | #endif
 646 | public struct FfiConverterTypeClaims: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeClaims' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 647 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Claims {
 648 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:683:48: error: cannot find type 'RustBuffer' in scope
 681 | @_documentation(visibility: private)
 682 | #endif
 683 | public func FfiConverterTypeClaims_lift(_ buf: RustBuffer) throws -> Claims {
     |                                                `- error: cannot find type 'RustBuffer' in scope
 684 |     return try FfiConverterTypeClaims.lift(buf)
 685 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:690:62: error: cannot find type 'RustBuffer' in scope
 688 | @_documentation(visibility: private)
 689 | #endif
 690 | public func FfiConverterTypeClaims_lower(_ value: Claims) -> RustBuffer {
     |                                                              `- error: cannot find type 'RustBuffer' in scope
 691 |     return FfiConverterTypeClaims.lower(value)
 692 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:724:15: error: type 'FfiConverterTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 722 | @_documentation(visibility: private)
 723 | #endif
 724 | public struct FfiConverterTypeLogForwardEntry: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 725 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> LogForwardEntry {
 726 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:749:57: error: cannot find type 'RustBuffer' in scope
 747 | @_documentation(visibility: private)
 748 | #endif
 749 | public func FfiConverterTypeLogForwardEntry_lift(_ buf: RustBuffer) throws -> LogForwardEntry {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
 750 |     return try FfiConverterTypeLogForwardEntry.lift(buf)
 751 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:756:80: error: cannot find type 'RustBuffer' in scope
 754 | @_documentation(visibility: private)
 755 | #endif
 756 | public func FfiConverterTypeLogForwardEntry_lower(_ value: LogForwardEntry) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
 757 |     return FfiConverterTypeLogForwardEntry.lower(value)
 758 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:790:15: error: type 'FfiConverterTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 788 | @_documentation(visibility: private)
 789 | #endif
 790 | public struct FfiConverterTypeRoomAgentDispatch: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 791 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> RoomAgentDispatch {
 792 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:809:59: error: cannot find type 'RustBuffer' in scope
 807 | @_documentation(visibility: private)
 808 | #endif
 809 | public func FfiConverterTypeRoomAgentDispatch_lift(_ buf: RustBuffer) throws -> RoomAgentDispatch {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
 810 |     return try FfiConverterTypeRoomAgentDispatch.lift(buf)
 811 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:816:84: error: cannot find type 'RustBuffer' in scope
 814 | @_documentation(visibility: private)
 815 | #endif
 816 | public func FfiConverterTypeRoomAgentDispatch_lower(_ value: RoomAgentDispatch) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
 817 |     return FfiConverterTypeRoomAgentDispatch.lower(value)
 818 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:864:15: error: type 'FfiConverterTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 862 | @_documentation(visibility: private)
 863 | #endif
 864 | public struct FfiConverterTypeRoomConfiguration: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 865 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> RoomConfiguration {
 866 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:897:59: error: cannot find type 'RustBuffer' in scope
 895 | @_documentation(visibility: private)
 896 | #endif
 897 | public func FfiConverterTypeRoomConfiguration_lift(_ buf: RustBuffer) throws -> RoomConfiguration {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
 898 |     return try FfiConverterTypeRoomConfiguration.lift(buf)
 899 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:904:84: error: cannot find type 'RustBuffer' in scope
 902 | @_documentation(visibility: private)
 903 | #endif
 904 | public func FfiConverterTypeRoomConfiguration_lower(_ value: RoomConfiguration) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
 905 |     return FfiConverterTypeRoomConfiguration.lower(value)
 906 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:938:15: error: type 'FfiConverterTypeSIPGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 936 | @_documentation(visibility: private)
 937 | #endif
 938 | public struct FfiConverterTypeSIPGrants: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeSIPGrants' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 939 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SipGrants {
 940 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:957:51: error: cannot find type 'RustBuffer' in scope
 955 | @_documentation(visibility: private)
 956 | #endif
 957 | public func FfiConverterTypeSIPGrants_lift(_ buf: RustBuffer) throws -> SipGrants {
     |                                                   `- error: cannot find type 'RustBuffer' in scope
 958 |     return try FfiConverterTypeSIPGrants.lift(buf)
 959 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:964:68: error: cannot find type 'RustBuffer' in scope
 962 | @_documentation(visibility: private)
 963 | #endif
 964 | public func FfiConverterTypeSIPGrants_lower(_ value: SipGrants) -> RustBuffer {
     |                                                                    `- error: cannot find type 'RustBuffer' in scope
 965 |     return FfiConverterTypeSIPGrants.lower(value)
 966 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1012:15: error: type 'FfiConverterTypeTokenOptions' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
1010 | @_documentation(visibility: private)
1011 | #endif
1012 | public struct FfiConverterTypeTokenOptions: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeTokenOptions' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1013 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> TokenOptions {
1014 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1045:54: error: cannot find type 'RustBuffer' in scope
1043 | @_documentation(visibility: private)
1044 | #endif
1045 | public func FfiConverterTypeTokenOptions_lift(_ buf: RustBuffer) throws -> TokenOptions {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1046 |     return try FfiConverterTypeTokenOptions.lift(buf)
1047 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1052:74: error: cannot find type 'RustBuffer' in scope
1050 | @_documentation(visibility: private)
1051 | #endif
1052 | public func FfiConverterTypeTokenOptions_lower(_ value: TokenOptions) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1053 |     return FfiConverterTypeTokenOptions.lower(value)
1054 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1111:15: error: type 'FfiConverterTypeVideoGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
1109 | @_documentation(visibility: private)
1110 | #endif
1111 | public struct FfiConverterTypeVideoGrants: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeVideoGrants' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1112 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> VideoGrants {
1113 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1156:53: error: cannot find type 'RustBuffer' in scope
1154 | @_documentation(visibility: private)
1155 | #endif
1156 | public func FfiConverterTypeVideoGrants_lift(_ buf: RustBuffer) throws -> VideoGrants {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1157 |     return try FfiConverterTypeVideoGrants.lift(buf)
1158 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1163:72: error: cannot find type 'RustBuffer' in scope
1161 | @_documentation(visibility: private)
1162 | #endif
1163 | public func FfiConverterTypeVideoGrants_lower(_ value: VideoGrants) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1164 |     return FfiConverterTypeVideoGrants.lower(value)
1165 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1202:15: error: type 'FfiConverterTypeAccessTokenError' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1200 | @_documentation(visibility: private)
1201 | #endif
1202 | public struct FfiConverterTypeAccessTokenError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeAccessTokenError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1203 |     typealias SwiftType = AccessTokenError
1204 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1257:58: error: cannot find type 'RustBuffer' in scope
1255 | @_documentation(visibility: private)
1256 | #endif
1257 | public func FfiConverterTypeAccessTokenError_lift(_ buf: RustBuffer) throws -> AccessTokenError {
     |                                                          `- error: cannot find type 'RustBuffer' in scope
1258 |     return try FfiConverterTypeAccessTokenError.lift(buf)
1259 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1264:82: error: cannot find type 'RustBuffer' in scope
1262 | @_documentation(visibility: private)
1263 | #endif
1264 | public func FfiConverterTypeAccessTokenError_lower(_ value: AccessTokenError) -> RustBuffer {
     |                                                                                  `- error: cannot find type 'RustBuffer' in scope
1265 |     return FfiConverterTypeAccessTokenError.lower(value)
1266 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1293:15: error: type 'FfiConverterTypeLogForwardFilter' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1291 | @_documentation(visibility: private)
1292 | #endif
1293 | public struct FfiConverterTypeLogForwardFilter: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardFilter' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1294 |     typealias SwiftType = LogForwardFilter
1295 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1351:58: error: cannot find type 'RustBuffer' in scope
1349 | @_documentation(visibility: private)
1350 | #endif
1351 | public func FfiConverterTypeLogForwardFilter_lift(_ buf: RustBuffer) throws -> LogForwardFilter {
     |                                                          `- error: cannot find type 'RustBuffer' in scope
1352 |     return try FfiConverterTypeLogForwardFilter.lift(buf)
1353 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1358:82: error: cannot find type 'RustBuffer' in scope
1356 | @_documentation(visibility: private)
1357 | #endif
1358 | public func FfiConverterTypeLogForwardFilter_lower(_ value: LogForwardFilter) -> RustBuffer {
     |                                                                                  `- error: cannot find type 'RustBuffer' in scope
1359 |     return FfiConverterTypeLogForwardFilter.lower(value)
1360 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1387:15: error: type 'FfiConverterTypeLogForwardLevel' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1385 | @_documentation(visibility: private)
1386 | #endif
1387 | public struct FfiConverterTypeLogForwardLevel: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardLevel' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1388 |     typealias SwiftType = LogForwardLevel
1389 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1439:57: error: cannot find type 'RustBuffer' in scope
1437 | @_documentation(visibility: private)
1438 | #endif
1439 | public func FfiConverterTypeLogForwardLevel_lift(_ buf: RustBuffer) throws -> LogForwardLevel {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1440 |     return try FfiConverterTypeLogForwardLevel.lift(buf)
1441 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1446:80: error: cannot find type 'RustBuffer' in scope
1444 | @_documentation(visibility: private)
1445 | #endif
1446 | public func FfiConverterTypeLogForwardLevel_lower(_ value: LogForwardLevel) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1447 |     return FfiConverterTypeLogForwardLevel.lower(value)
1448 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1454:20: error: type 'FfiConverterOptionUInt32' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1452 | @_documentation(visibility: private)
1453 | #endif
1454 | fileprivate struct FfiConverterOptionUInt32: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt32' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1455 |     typealias SwiftType = UInt32?
1456 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1478:20: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1476 | @_documentation(visibility: private)
1477 | #endif
1478 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1479 |     typealias SwiftType = String?
1480 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1502:20: error: type 'FfiConverterOptionDuration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | fileprivate struct FfiConverterOptionDuration: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDuration' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1503 |     typealias SwiftType = TimeInterval?
1504 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1526:20: error: type 'FfiConverterOptionTypeApiCredentials' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1524 | @_documentation(visibility: private)
1525 | #endif
1526 | fileprivate struct FfiConverterOptionTypeApiCredentials: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeApiCredentials' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1527 |     typealias SwiftType = ApiCredentials?
1528 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1550:20: error: type 'FfiConverterOptionTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1548 | @_documentation(visibility: private)
1549 | #endif
1550 | fileprivate struct FfiConverterOptionTypeLogForwardEntry: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1551 |     typealias SwiftType = LogForwardEntry?
1552 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1574:20: error: type 'FfiConverterOptionTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1572 | @_documentation(visibility: private)
1573 | #endif
1574 | fileprivate struct FfiConverterOptionTypeRoomConfiguration: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1575 |     typealias SwiftType = RoomConfiguration?
1576 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1598:20: error: type 'FfiConverterOptionTypeSIPGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1596 | @_documentation(visibility: private)
1597 | #endif
1598 | fileprivate struct FfiConverterOptionTypeSIPGrants: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeSIPGrants' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1599 |     typealias SwiftType = SipGrants?
1600 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1622:20: error: type 'FfiConverterOptionTypeVideoGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1620 | @_documentation(visibility: private)
1621 | #endif
1622 | fileprivate struct FfiConverterOptionTypeVideoGrants: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeVideoGrants' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1623 |     typealias SwiftType = VideoGrants?
1624 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1646:20: error: type 'FfiConverterOptionDictionaryStringString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1644 | @_documentation(visibility: private)
1645 | #endif
1646 | fileprivate struct FfiConverterOptionDictionaryStringString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDictionaryStringString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1647 |     typealias SwiftType = [String: String]?
1648 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1670:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1668 | @_documentation(visibility: private)
1669 | #endif
1670 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1671 |     typealias SwiftType = [String]
1672 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1695:20: error: type 'FfiConverterSequenceTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1693 | @_documentation(visibility: private)
1694 | #endif
1695 | fileprivate struct FfiConverterSequenceTypeRoomAgentDispatch: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1696 |     typealias SwiftType = [RoomAgentDispatch]
1697 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1720:20: error: type 'FfiConverterDictionaryStringString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
1718 | @_documentation(visibility: private)
1719 | #endif
1720 | fileprivate struct FfiConverterDictionaryStringString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterDictionaryStringString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1721 |     public static func write(_ value: [String: String], into buf: inout [UInt8]) {
1722 |         let len = Int32(value.count)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1749:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1747 | fileprivate func uniffiRustCallAsync<F, T>(
1748 |     rustFutureFunc: () -> UInt64,
1749 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1750 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1751 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1749:24: error: @escaping attribute only applies to function types
1747 | fileprivate func uniffiRustCallAsync<F, T>(
1748 |     rustFutureFunc: () -> UInt64,
1749 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: @escaping attribute only applies to function types
1750 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1751 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1750:49: error: cannot find type 'RustCallStatus' in scope
1748 |     rustFutureFunc: () -> UInt64,
1749 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
1750 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
1751 |     freeFunc: (UInt64) -> (),
1752 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1753:21: error: cannot find type 'RustBuffer' in scope
1751 |     freeFunc: (UInt64) -> (),
1752 |     liftFunc: (F) throws -> T,
1753 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
1754 | ) async throws -> T {
1755 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1892:40: error: cannot find 'ffi_livekit_uniffi_uniffi_contract_version' in scope
1890 |     let bindings_contract_version = 30
1891 |     // Get the scaffolding contract version by calling the into the dylib
1892 |     let scaffolding_contract_version = ffi_livekit_uniffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_livekit_uniffi_uniffi_contract_version' in scope
1893 |     if bindings_contract_version != scaffolding_contract_version {
1894 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1896:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_build_version' in scope
1894 |         return InitializationResult.contractVersionMismatch
1895 |     }
1896 |     if (uniffi_livekit_uniffi_checksum_func_build_version() != 45072) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_build_version' in scope
1897 |         return InitializationResult.apiChecksumMismatch
1898 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1899:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap' in scope
1897 |         return InitializationResult.apiChecksumMismatch
1898 |     }
1899 |     if (uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap() != 28675) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap' in scope
1900 |         return InitializationResult.apiChecksumMismatch
1901 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1902:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_receive' in scope
1900 |         return InitializationResult.apiChecksumMismatch
1901 |     }
1902 |     if (uniffi_livekit_uniffi_checksum_func_log_forward_receive() != 7863) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_receive' in scope
1903 |         return InitializationResult.apiChecksumMismatch
1904 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1905:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified' in scope
1903 |         return InitializationResult.apiChecksumMismatch
1904 |     }
1905 |     if (uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified() != 35171) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified' in scope
1906 |         return InitializationResult.apiChecksumMismatch
1907 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1908:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_generate' in scope
1906 |         return InitializationResult.apiChecksumMismatch
1907 |     }
1908 |     if (uniffi_livekit_uniffi_checksum_func_token_generate() != 15021) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_generate' in scope
1909 |         return InitializationResult.apiChecksumMismatch
1910 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1911:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_verify' in scope
1909 |         return InitializationResult.apiChecksumMismatch
1910 |     }
1911 |     if (uniffi_livekit_uniffi_checksum_func_token_verify() != 52016) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_verify' in scope
1912 |         return InitializationResult.apiChecksumMismatch
1913 |     }
[4/4] Compiling LiveKitUniFFI livekit_uniffi.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:14:23: error: cannot find type 'RustBuffer' in scope
  12 | #endif
  13 |
  14 | fileprivate 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_uniffi.swift:38:23: error: cannot find type 'ForeignBytes' in scope
  36 | }
  37 |
  38 | fileprivate 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_uniffi.swift:52:22: error: cannot find type 'RustBuffer' in scope
  50 |
  51 | fileprivate 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_uniffi.swift:190:76: 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 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
 191 |
 192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.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_uniffi.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_uniffi.swift:256:23: error: cannot find type 'RustCallStatus' in scope
 254 | fileprivate let CALL_CANCELLED: Int8 = 3
 255 |
 256 | fileprivate extension RustCallStatus {
     |                       `- error: cannot find type 'RustCallStatus' in scope
 257 |     init() {
 258 |         self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:269:60: error: cannot find type 'RustCallStatus' in scope
 267 | }
 268 |
 269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                                            `- error: cannot find type 'RustCallStatus' in scope
 270 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
 271 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:275:32: error: cannot find type 'RustBuffer' in scope
 273 |
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
     |                                `- error: cannot find type 'RustBuffer' in scope
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:276:39: error: cannot find type 'RustCallStatus' in scope
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
 278 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:281:39: error: cannot find type 'RustCallStatus' in scope
 279 |
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 282 |     errorHandler: ((RustBuffer) throws -> E)?
 283 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:282:21: error: cannot find type 'RustBuffer' in scope
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
 282 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureLivekitUniffiInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:292:17: error: cannot find type 'RustCallStatus' in scope
 290 |
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
     |                 `- error: cannot find type 'RustCallStatus' in scope
 293 |     errorHandler: ((RustBuffer) throws -> E)?
 294 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:293:21: error: cannot find type 'RustBuffer' in scope
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
 293 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 294 | ) throws {
 295 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:327:38: error: cannot find type 'RustCallStatus' in scope
 325 |
 326 | private func uniffiTraitInterfaceCall<T>(
 327 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 328 |     makeCall: () throws -> T,
 329 |     writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:340:38: error: cannot find type 'RustCallStatus' in scope
 338 |
 339 | private func uniffiTraitInterfaceCallWithError<T, E>(
 340 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:343:24: error: cannot find type 'RustBuffer' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
 343 |     lowerError: (E) -> RustBuffer
     |                        `- error: cannot find type 'RustBuffer' in scope
 344 | ) {
 345 |     do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:480:25: error: cannot find type 'RustBuffer' in scope
 478 | fileprivate struct FfiConverterString: FfiConverter {
 479 |     typealias SwiftType = String
 480 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 481 |
 482 |     public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:482:38: error: cannot find type 'RustBuffer' in scope
 480 |     typealias FfiType = RustBuffer
 481 |
 482 |     public static func lift(_ value: RustBuffer) throws -> String {
     |                                      `- error: cannot find type 'RustBuffer' in scope
 483 |         defer {
 484 |             value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:493:50: error: cannot find type 'RustBuffer' in scope
 491 |     }
 492 |
 493 |     public static func lower(_ value: String) -> RustBuffer {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
 494 |         return value.utf8CString.withUnsafeBufferPointer { ptr in
 495 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:478:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 476 | @_documentation(visibility: private)
 477 | #endif
 478 | fileprivate struct FfiConverterString: FfiConverter {
     |                    |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
 479 |     typealias SwiftType = String
 480 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:519:20: error: type 'FfiConverterDuration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 517 | @_documentation(visibility: private)
 518 | #endif
 519 | fileprivate struct FfiConverterDuration: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterDuration' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
 520 |     typealias SwiftType = TimeInterval
 521 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:571:15: error: type 'FfiConverterTypeApiCredentials' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 569 | @_documentation(visibility: private)
 570 | #endif
 571 | public struct FfiConverterTypeApiCredentials: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeApiCredentials' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 572 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ApiCredentials {
 573 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:590:56: error: cannot find type 'RustBuffer' in scope
 588 | @_documentation(visibility: private)
 589 | #endif
 590 | public func FfiConverterTypeApiCredentials_lift(_ buf: RustBuffer) throws -> ApiCredentials {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
 591 |     return try FfiConverterTypeApiCredentials.lift(buf)
 592 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:597:78: error: cannot find type 'RustBuffer' in scope
 595 | @_documentation(visibility: private)
 596 | #endif
 597 | public func FfiConverterTypeApiCredentials_lower(_ value: ApiCredentials) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
 598 |     return FfiConverterTypeApiCredentials.lower(value)
 599 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:646:15: error: type 'FfiConverterTypeClaims' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 644 | @_documentation(visibility: private)
 645 | #endif
 646 | public struct FfiConverterTypeClaims: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeClaims' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 647 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Claims {
 648 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:683:48: error: cannot find type 'RustBuffer' in scope
 681 | @_documentation(visibility: private)
 682 | #endif
 683 | public func FfiConverterTypeClaims_lift(_ buf: RustBuffer) throws -> Claims {
     |                                                `- error: cannot find type 'RustBuffer' in scope
 684 |     return try FfiConverterTypeClaims.lift(buf)
 685 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:690:62: error: cannot find type 'RustBuffer' in scope
 688 | @_documentation(visibility: private)
 689 | #endif
 690 | public func FfiConverterTypeClaims_lower(_ value: Claims) -> RustBuffer {
     |                                                              `- error: cannot find type 'RustBuffer' in scope
 691 |     return FfiConverterTypeClaims.lower(value)
 692 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:724:15: error: type 'FfiConverterTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 722 | @_documentation(visibility: private)
 723 | #endif
 724 | public struct FfiConverterTypeLogForwardEntry: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 725 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> LogForwardEntry {
 726 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:749:57: error: cannot find type 'RustBuffer' in scope
 747 | @_documentation(visibility: private)
 748 | #endif
 749 | public func FfiConverterTypeLogForwardEntry_lift(_ buf: RustBuffer) throws -> LogForwardEntry {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
 750 |     return try FfiConverterTypeLogForwardEntry.lift(buf)
 751 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:756:80: error: cannot find type 'RustBuffer' in scope
 754 | @_documentation(visibility: private)
 755 | #endif
 756 | public func FfiConverterTypeLogForwardEntry_lower(_ value: LogForwardEntry) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
 757 |     return FfiConverterTypeLogForwardEntry.lower(value)
 758 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:790:15: error: type 'FfiConverterTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 788 | @_documentation(visibility: private)
 789 | #endif
 790 | public struct FfiConverterTypeRoomAgentDispatch: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 791 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> RoomAgentDispatch {
 792 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:809:59: error: cannot find type 'RustBuffer' in scope
 807 | @_documentation(visibility: private)
 808 | #endif
 809 | public func FfiConverterTypeRoomAgentDispatch_lift(_ buf: RustBuffer) throws -> RoomAgentDispatch {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
 810 |     return try FfiConverterTypeRoomAgentDispatch.lift(buf)
 811 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:816:84: error: cannot find type 'RustBuffer' in scope
 814 | @_documentation(visibility: private)
 815 | #endif
 816 | public func FfiConverterTypeRoomAgentDispatch_lower(_ value: RoomAgentDispatch) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
 817 |     return FfiConverterTypeRoomAgentDispatch.lower(value)
 818 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:864:15: error: type 'FfiConverterTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 862 | @_documentation(visibility: private)
 863 | #endif
 864 | public struct FfiConverterTypeRoomConfiguration: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 865 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> RoomConfiguration {
 866 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:897:59: error: cannot find type 'RustBuffer' in scope
 895 | @_documentation(visibility: private)
 896 | #endif
 897 | public func FfiConverterTypeRoomConfiguration_lift(_ buf: RustBuffer) throws -> RoomConfiguration {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
 898 |     return try FfiConverterTypeRoomConfiguration.lift(buf)
 899 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:904:84: error: cannot find type 'RustBuffer' in scope
 902 | @_documentation(visibility: private)
 903 | #endif
 904 | public func FfiConverterTypeRoomConfiguration_lower(_ value: RoomConfiguration) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
 905 |     return FfiConverterTypeRoomConfiguration.lower(value)
 906 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:938:15: error: type 'FfiConverterTypeSIPGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
 936 | @_documentation(visibility: private)
 937 | #endif
 938 | public struct FfiConverterTypeSIPGrants: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeSIPGrants' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 939 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SipGrants {
 940 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:957:51: error: cannot find type 'RustBuffer' in scope
 955 | @_documentation(visibility: private)
 956 | #endif
 957 | public func FfiConverterTypeSIPGrants_lift(_ buf: RustBuffer) throws -> SipGrants {
     |                                                   `- error: cannot find type 'RustBuffer' in scope
 958 |     return try FfiConverterTypeSIPGrants.lift(buf)
 959 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:964:68: error: cannot find type 'RustBuffer' in scope
 962 | @_documentation(visibility: private)
 963 | #endif
 964 | public func FfiConverterTypeSIPGrants_lower(_ value: SipGrants) -> RustBuffer {
     |                                                                    `- error: cannot find type 'RustBuffer' in scope
 965 |     return FfiConverterTypeSIPGrants.lower(value)
 966 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1012:15: error: type 'FfiConverterTypeTokenOptions' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
1010 | @_documentation(visibility: private)
1011 | #endif
1012 | public struct FfiConverterTypeTokenOptions: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeTokenOptions' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1013 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> TokenOptions {
1014 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1045:54: error: cannot find type 'RustBuffer' in scope
1043 | @_documentation(visibility: private)
1044 | #endif
1045 | public func FfiConverterTypeTokenOptions_lift(_ buf: RustBuffer) throws -> TokenOptions {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1046 |     return try FfiConverterTypeTokenOptions.lift(buf)
1047 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1052:74: error: cannot find type 'RustBuffer' in scope
1050 | @_documentation(visibility: private)
1051 | #endif
1052 | public func FfiConverterTypeTokenOptions_lower(_ value: TokenOptions) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1053 |     return FfiConverterTypeTokenOptions.lower(value)
1054 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1111:15: error: type 'FfiConverterTypeVideoGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
1109 | @_documentation(visibility: private)
1110 | #endif
1111 | public struct FfiConverterTypeVideoGrants: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeVideoGrants' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1112 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> VideoGrants {
1113 |         return
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1156:53: error: cannot find type 'RustBuffer' in scope
1154 | @_documentation(visibility: private)
1155 | #endif
1156 | public func FfiConverterTypeVideoGrants_lift(_ buf: RustBuffer) throws -> VideoGrants {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1157 |     return try FfiConverterTypeVideoGrants.lift(buf)
1158 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1163:72: error: cannot find type 'RustBuffer' in scope
1161 | @_documentation(visibility: private)
1162 | #endif
1163 | public func FfiConverterTypeVideoGrants_lower(_ value: VideoGrants) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1164 |     return FfiConverterTypeVideoGrants.lower(value)
1165 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1202:15: error: type 'FfiConverterTypeAccessTokenError' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1200 | @_documentation(visibility: private)
1201 | #endif
1202 | public struct FfiConverterTypeAccessTokenError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeAccessTokenError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1203 |     typealias SwiftType = AccessTokenError
1204 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1257:58: error: cannot find type 'RustBuffer' in scope
1255 | @_documentation(visibility: private)
1256 | #endif
1257 | public func FfiConverterTypeAccessTokenError_lift(_ buf: RustBuffer) throws -> AccessTokenError {
     |                                                          `- error: cannot find type 'RustBuffer' in scope
1258 |     return try FfiConverterTypeAccessTokenError.lift(buf)
1259 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1264:82: error: cannot find type 'RustBuffer' in scope
1262 | @_documentation(visibility: private)
1263 | #endif
1264 | public func FfiConverterTypeAccessTokenError_lower(_ value: AccessTokenError) -> RustBuffer {
     |                                                                                  `- error: cannot find type 'RustBuffer' in scope
1265 |     return FfiConverterTypeAccessTokenError.lower(value)
1266 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1293:15: error: type 'FfiConverterTypeLogForwardFilter' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1291 | @_documentation(visibility: private)
1292 | #endif
1293 | public struct FfiConverterTypeLogForwardFilter: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardFilter' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1294 |     typealias SwiftType = LogForwardFilter
1295 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1351:58: error: cannot find type 'RustBuffer' in scope
1349 | @_documentation(visibility: private)
1350 | #endif
1351 | public func FfiConverterTypeLogForwardFilter_lift(_ buf: RustBuffer) throws -> LogForwardFilter {
     |                                                          `- error: cannot find type 'RustBuffer' in scope
1352 |     return try FfiConverterTypeLogForwardFilter.lift(buf)
1353 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1358:82: error: cannot find type 'RustBuffer' in scope
1356 | @_documentation(visibility: private)
1357 | #endif
1358 | public func FfiConverterTypeLogForwardFilter_lower(_ value: LogForwardFilter) -> RustBuffer {
     |                                                                                  `- error: cannot find type 'RustBuffer' in scope
1359 |     return FfiConverterTypeLogForwardFilter.lower(value)
1360 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1387:15: error: type 'FfiConverterTypeLogForwardLevel' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1385 | @_documentation(visibility: private)
1386 | #endif
1387 | public struct FfiConverterTypeLogForwardLevel: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardLevel' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1388 |     typealias SwiftType = LogForwardLevel
1389 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1439:57: error: cannot find type 'RustBuffer' in scope
1437 | @_documentation(visibility: private)
1438 | #endif
1439 | public func FfiConverterTypeLogForwardLevel_lift(_ buf: RustBuffer) throws -> LogForwardLevel {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1440 |     return try FfiConverterTypeLogForwardLevel.lift(buf)
1441 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1446:80: error: cannot find type 'RustBuffer' in scope
1444 | @_documentation(visibility: private)
1445 | #endif
1446 | public func FfiConverterTypeLogForwardLevel_lower(_ value: LogForwardLevel) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1447 |     return FfiConverterTypeLogForwardLevel.lower(value)
1448 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1454:20: error: type 'FfiConverterOptionUInt32' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1452 | @_documentation(visibility: private)
1453 | #endif
1454 | fileprivate struct FfiConverterOptionUInt32: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt32' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1455 |     typealias SwiftType = UInt32?
1456 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1478:20: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1476 | @_documentation(visibility: private)
1477 | #endif
1478 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1479 |     typealias SwiftType = String?
1480 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1502:20: error: type 'FfiConverterOptionDuration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | fileprivate struct FfiConverterOptionDuration: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDuration' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1503 |     typealias SwiftType = TimeInterval?
1504 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1526:20: error: type 'FfiConverterOptionTypeApiCredentials' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1524 | @_documentation(visibility: private)
1525 | #endif
1526 | fileprivate struct FfiConverterOptionTypeApiCredentials: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeApiCredentials' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1527 |     typealias SwiftType = ApiCredentials?
1528 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1550:20: error: type 'FfiConverterOptionTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1548 | @_documentation(visibility: private)
1549 | #endif
1550 | fileprivate struct FfiConverterOptionTypeLogForwardEntry: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1551 |     typealias SwiftType = LogForwardEntry?
1552 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1574:20: error: type 'FfiConverterOptionTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1572 | @_documentation(visibility: private)
1573 | #endif
1574 | fileprivate struct FfiConverterOptionTypeRoomConfiguration: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1575 |     typealias SwiftType = RoomConfiguration?
1576 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1598:20: error: type 'FfiConverterOptionTypeSIPGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1596 | @_documentation(visibility: private)
1597 | #endif
1598 | fileprivate struct FfiConverterOptionTypeSIPGrants: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeSIPGrants' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1599 |     typealias SwiftType = SipGrants?
1600 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1622:20: error: type 'FfiConverterOptionTypeVideoGrants' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1620 | @_documentation(visibility: private)
1621 | #endif
1622 | fileprivate struct FfiConverterOptionTypeVideoGrants: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeVideoGrants' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1623 |     typealias SwiftType = VideoGrants?
1624 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1646:20: error: type 'FfiConverterOptionDictionaryStringString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1644 | @_documentation(visibility: private)
1645 | #endif
1646 | fileprivate struct FfiConverterOptionDictionaryStringString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDictionaryStringString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1647 |     typealias SwiftType = [String: String]?
1648 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1670:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1668 | @_documentation(visibility: private)
1669 | #endif
1670 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1671 |     typealias SwiftType = [String]
1672 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1695:20: error: type 'FfiConverterSequenceTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1693 | @_documentation(visibility: private)
1694 | #endif
1695 | fileprivate struct FfiConverterSequenceTypeRoomAgentDispatch: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1696 |     typealias SwiftType = [RoomAgentDispatch]
1697 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1720:20: error: type 'FfiConverterDictionaryStringString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate 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
     :
1718 | @_documentation(visibility: private)
1719 | #endif
1720 | fileprivate struct FfiConverterDictionaryStringString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterDictionaryStringString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
1721 |     public static func write(_ value: [String: String], into buf: inout [UInt8]) {
1722 |         let len = Int32(value.count)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1749:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1747 | fileprivate func uniffiRustCallAsync<F, T>(
1748 |     rustFutureFunc: () -> UInt64,
1749 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1750 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1751 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1749:24: error: @escaping attribute only applies to function types
1747 | fileprivate func uniffiRustCallAsync<F, T>(
1748 |     rustFutureFunc: () -> UInt64,
1749 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: @escaping attribute only applies to function types
1750 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1751 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1750:49: error: cannot find type 'RustCallStatus' in scope
1748 |     rustFutureFunc: () -> UInt64,
1749 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
1750 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
1751 |     freeFunc: (UInt64) -> (),
1752 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1753:21: error: cannot find type 'RustBuffer' in scope
1751 |     freeFunc: (UInt64) -> (),
1752 |     liftFunc: (F) throws -> T,
1753 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
1754 | ) async throws -> T {
1755 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1892:40: error: cannot find 'ffi_livekit_uniffi_uniffi_contract_version' in scope
1890 |     let bindings_contract_version = 30
1891 |     // Get the scaffolding contract version by calling the into the dylib
1892 |     let scaffolding_contract_version = ffi_livekit_uniffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_livekit_uniffi_uniffi_contract_version' in scope
1893 |     if bindings_contract_version != scaffolding_contract_version {
1894 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1896:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_build_version' in scope
1894 |         return InitializationResult.contractVersionMismatch
1895 |     }
1896 |     if (uniffi_livekit_uniffi_checksum_func_build_version() != 45072) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_build_version' in scope
1897 |         return InitializationResult.apiChecksumMismatch
1898 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1899:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap' in scope
1897 |         return InitializationResult.apiChecksumMismatch
1898 |     }
1899 |     if (uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap() != 28675) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap' in scope
1900 |         return InitializationResult.apiChecksumMismatch
1901 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1902:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_receive' in scope
1900 |         return InitializationResult.apiChecksumMismatch
1901 |     }
1902 |     if (uniffi_livekit_uniffi_checksum_func_log_forward_receive() != 7863) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_receive' in scope
1903 |         return InitializationResult.apiChecksumMismatch
1904 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1905:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified' in scope
1903 |         return InitializationResult.apiChecksumMismatch
1904 |     }
1905 |     if (uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified() != 35171) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified' in scope
1906 |         return InitializationResult.apiChecksumMismatch
1907 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1908:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_generate' in scope
1906 |         return InitializationResult.apiChecksumMismatch
1907 |     }
1908 |     if (uniffi_livekit_uniffi_checksum_func_token_generate() != 15021) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_generate' in scope
1909 |         return InitializationResult.apiChecksumMismatch
1910 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1911:9: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_verify' in scope
1909 |         return InitializationResult.apiChecksumMismatch
1910 |     }
1911 |     if (uniffi_livekit_uniffi_checksum_func_token_verify() != 52016) {
     |         `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_verify' in scope
1912 |         return InitializationResult.apiChecksumMismatch
1913 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:197:41: error: no exact matches in call to initializer
 195 | #endif
 196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
 197 |         var reader = createReader(data: Data(rustBuffer: buf))
     |                                         `- error: no exact matches in call to initializer
 198 |         let value = try read(from: &reader)
 199 |         if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:270:23: error: cannot find type 'RustBuffer' in scope
 268 |
 269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 270 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
     |                       `- error: cannot find type 'RustBuffer' in scope
 271 |     return try makeRustCall(callback, errorHandler: neverThrow)
 272 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:285:22: error: cannot find 'RustCallStatus' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureLivekitUniffiInitialized()
 285 |     var callStatus = RustCallStatus.init()
     |                      `- error: cannot find 'RustCallStatus' in scope
 286 |     let returnedVal = callback(&callStatus)
 287 |     try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1795:5: error: cannot find 'uniffi_livekit_uniffi_fn_func_build_version' in scope
1793 | public func buildVersion() -> String  {
1794 |     return try!  FfiConverterString.lift(try! rustCall() {
1795 |     uniffi_livekit_uniffi_fn_func_build_version($0
     |     `- error: cannot find 'uniffi_livekit_uniffi_fn_func_build_version' in scope
1796 |     )
1797 | })
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1807:5: error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_bootstrap' in scope
1805 |  */
1806 | public func logForwardBootstrap(level: LogForwardFilter)  {try! rustCall() {
1807 |     uniffi_livekit_uniffi_fn_func_log_forward_bootstrap(
     |     `- error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_bootstrap' in scope
1808 |         FfiConverterTypeLogForwardFilter_lower(level),$0
1809 |     )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1824:17: error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_receive' in scope
1822 |         try!  await uniffiRustCallAsync(
1823 |             rustFutureFunc: {
1824 |                 uniffi_livekit_uniffi_fn_func_log_forward_receive(
     |                 `- error: cannot find 'uniffi_livekit_uniffi_fn_func_log_forward_receive' in scope
1825 |                 )
1826 |             },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1827:23: error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1825 |                 )
1826 |             },
1827 |             pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_uniffi_rust_future_poll_rust_buffer' in scope
1828 |             completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1829 |             freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1828:27: error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1826 |             },
1827 |             pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1828 |             completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_uniffi_rust_future_complete_rust_buffer' in scope
1829 |             freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1830 |             liftFunc: FfiConverterOptionTypeLogForwardEntry.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1829:23: error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1827 |             pollFunc: ffi_livekit_uniffi_rust_future_poll_rust_buffer,
1828 |             completeFunc: ffi_livekit_uniffi_rust_future_complete_rust_buffer,
1829 |             freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_uniffi_rust_future_free_rust_buffer' in scope
1830 |             liftFunc: FfiConverterOptionTypeLogForwardEntry.lift,
1831 |             errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1831:27: error: 'nil' requires a contextual type
1829 |             freeFunc: ffi_livekit_uniffi_rust_future_free_rust_buffer,
1830 |             liftFunc: FfiConverterOptionTypeLogForwardEntry.lift,
1831 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1832 |
1833 |         )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1845:5: error: cannot find 'uniffi_livekit_uniffi_fn_func_token_claims_from_unverified' in scope
1843 | public func tokenClaimsFromUnverified(token: String)throws  -> Claims  {
1844 |     return try  FfiConverterTypeClaims_lift(try rustCallWithError(FfiConverterTypeAccessTokenError_lift) {
1845 |     uniffi_livekit_uniffi_fn_func_token_claims_from_unverified(
     |     `- error: cannot find 'uniffi_livekit_uniffi_fn_func_token_claims_from_unverified' in scope
1846 |         FfiConverterString.lower(token),$0
1847 |     )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1859:5: error: cannot find 'uniffi_livekit_uniffi_fn_func_token_generate' in scope
1857 | public func tokenGenerate(options: TokenOptions, credentials: ApiCredentials?)throws  -> String  {
1858 |     return try  FfiConverterString.lift(try rustCallWithError(FfiConverterTypeAccessTokenError_lift) {
1859 |     uniffi_livekit_uniffi_fn_func_token_generate(
     |     `- error: cannot find 'uniffi_livekit_uniffi_fn_func_token_generate' in scope
1860 |         FfiConverterTypeTokenOptions_lower(options),
1861 |         FfiConverterOptionTypeApiCredentials.lower(credentials),$0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:1874:5: error: cannot find 'uniffi_livekit_uniffi_fn_func_token_verify' in scope
1872 | public func tokenVerify(token: String, credentials: ApiCredentials?)throws  -> Claims  {
1873 |     return try  FfiConverterTypeClaims_lift(try rustCallWithError(FfiConverterTypeAccessTokenError_lift) {
1874 |     uniffi_livekit_uniffi_fn_func_token_verify(
     |     `- error: cannot find 'uniffi_livekit_uniffi_fn_func_token_verify' in scope
1875 |         FfiConverterString.lower(token),
1876 |         FfiConverterOptionTypeApiCredentials.lower(credentials),$0
/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 |     }
BUILD FAILURE 6.2 android