The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LiveKitUniFFI, reference main (49efe2), with Swift 6.2 for Wasm on 10 Oct 2026 20:02:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6344 |     @_documentation(visibility: private)
6345 | #endif
6346 | public struct FfiConverterTypeHandleSignalResponseError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHandleSignalResponseError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
6347 |     typealias SwiftType = HandleSignalResponseError
6348 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6389:67: error: cannot find type 'RustBuffer' in scope
6387 |     @_documentation(visibility: private)
6388 | #endif
6389 | public func FfiConverterTypeHandleSignalResponseError_lift(_ buf: RustBuffer) throws -> HandleSignalResponseError {
     |                                                                   `- error: cannot find type 'RustBuffer' in scope
6390 |     try FfiConverterTypeHandleSignalResponseError.lift(buf)
6391 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6396:100: error: cannot find type 'RustBuffer' in scope
6394 |     @_documentation(visibility: private)
6395 | #endif
6396 | public func FfiConverterTypeHandleSignalResponseError_lower(_ value: HandleSignalResponseError) -> RustBuffer {
     |                                                                                                    `- error: cannot find type 'RustBuffer' in scope
6397 |     FfiConverterTypeHandleSignalResponseError.lower(value)
6398 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6419:15: error: type 'FfiConverterTypeLogForwardFilter' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6417 |     @_documentation(visibility: private)
6418 | #endif
6419 | public struct FfiConverterTypeLogForwardFilter: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardFilter' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
6420 |     typealias SwiftType = LogForwardFilter
6421 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6467:58: error: cannot find type 'RustBuffer' in scope
6465 |     @_documentation(visibility: private)
6466 | #endif
6467 | public func FfiConverterTypeLogForwardFilter_lift(_ buf: RustBuffer) throws -> LogForwardFilter {
     |                                                          `- error: cannot find type 'RustBuffer' in scope
6468 |     try FfiConverterTypeLogForwardFilter.lift(buf)
6469 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6474:82: error: cannot find type 'RustBuffer' in scope
6472 |     @_documentation(visibility: private)
6473 | #endif
6474 | public func FfiConverterTypeLogForwardFilter_lower(_ value: LogForwardFilter) -> RustBuffer {
     |                                                                                  `- error: cannot find type 'RustBuffer' in scope
6475 |     FfiConverterTypeLogForwardFilter.lower(value)
6476 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6496:15: error: type 'FfiConverterTypeLogForwardLevel' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6494 |     @_documentation(visibility: private)
6495 | #endif
6496 | public struct FfiConverterTypeLogForwardLevel: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeLogForwardLevel' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
6497 |     typealias SwiftType = LogForwardLevel
6498 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6539:57: error: cannot find type 'RustBuffer' in scope
6537 |     @_documentation(visibility: private)
6538 | #endif
6539 | public func FfiConverterTypeLogForwardLevel_lift(_ buf: RustBuffer) throws -> LogForwardLevel {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
6540 |     try FfiConverterTypeLogForwardLevel.lift(buf)
6541 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6546:80: error: cannot find type 'RustBuffer' in scope
6544 |     @_documentation(visibility: private)
6545 | #endif
6546 | public func FfiConverterTypeLogForwardLevel_lower(_ value: LogForwardLevel) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
6547 |     FfiConverterTypeLogForwardLevel.lower(value)
6548 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6570:15: error: type 'FfiConverterTypeOperationType' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6568 |     @_documentation(visibility: private)
6569 | #endif
6570 | public struct FfiConverterTypeOperationType: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeOperationType' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
6571 |     typealias SwiftType = OperationType
6572 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6608:55: error: cannot find type 'RustBuffer' in scope
6606 |     @_documentation(visibility: private)
6607 | #endif
6608 | public func FfiConverterTypeOperationType_lift(_ buf: RustBuffer) throws -> OperationType {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
6609 |     try FfiConverterTypeOperationType.lift(buf)
6610 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6615:76: error: cannot find type 'RustBuffer' in scope
6613 |     @_documentation(visibility: private)
6614 | #endif
6615 | public func FfiConverterTypeOperationType_lower(_ value: OperationType) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
6616 |     FfiConverterTypeOperationType.lower(value)
6617 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6641:15: error: type 'FfiConverterTypePacketDeliveryError' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6639 |     @_documentation(visibility: private)
6640 | #endif
6641 | public struct FfiConverterTypePacketDeliveryError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypePacketDeliveryError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
6642 |     typealias SwiftType = PacketDeliveryError
6643 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6667:61: error: cannot find type 'RustBuffer' in scope
6665 |     @_documentation(visibility: private)
6666 | #endif
6667 | public func FfiConverterTypePacketDeliveryError_lift(_ buf: RustBuffer) throws -> PacketDeliveryError {
     |                                                             `- error: cannot find type 'RustBuffer' in scope
6668 |     try FfiConverterTypePacketDeliveryError.lift(buf)
6669 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6674:88: error: cannot find type 'RustBuffer' in scope
6672 |     @_documentation(visibility: private)
6673 | #endif
6674 | public func FfiConverterTypePacketDeliveryError_lower(_ value: PacketDeliveryError) -> RustBuffer {
     |                                                                                        `- error: cannot find type 'RustBuffer' in scope
6675 |     FfiConverterTypePacketDeliveryError.lower(value)
6676 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6681:16: error: type 'FfiConverterOptionUInt32' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6679 |     @_documentation(visibility: private)
6680 | #endif
6681 | private struct FfiConverterOptionUInt32: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionUInt32' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6682 |     typealias SwiftType = UInt32?
6683 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6705:16: error: type 'FfiConverterOptionInt32' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6703 |     @_documentation(visibility: private)
6704 | #endif
6705 | private struct FfiConverterOptionInt32: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionInt32' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6706 |     typealias SwiftType = Int32?
6707 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6729:16: error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6727 |     @_documentation(visibility: private)
6728 | #endif
6729 | private struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6730 |     typealias SwiftType = UInt64?
6731 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6753:16: error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6751 |     @_documentation(visibility: private)
6752 | #endif
6753 | private struct FfiConverterOptionBool: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6754 |     typealias SwiftType = Bool?
6755 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6777:16: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6775 |     @_documentation(visibility: private)
6776 | #endif
6777 | private struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6778 |     typealias SwiftType = String?
6779 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6801:16: error: type 'FfiConverterOptionDuration' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6799 |     @_documentation(visibility: private)
6800 | #endif
6801 | private struct FfiConverterOptionDuration: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionDuration' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6802 |     typealias SwiftType = TimeInterval?
6803 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6825:16: error: type 'FfiConverterOptionTypeDecryptionProvider' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6823 |     @_documentation(visibility: private)
6824 | #endif
6825 | private struct FfiConverterOptionTypeDecryptionProvider: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeDecryptionProvider' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6826 |     typealias SwiftType = DecryptionProvider?
6827 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6849:16: error: type 'FfiConverterOptionTypeEncryptionProvider' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6847 |     @_documentation(visibility: private)
6848 | #endif
6849 | private struct FfiConverterOptionTypeEncryptionProvider: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeEncryptionProvider' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6850 |     typealias SwiftType = EncryptionProvider?
6851 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6873:16: error: type 'FfiConverterOptionTypeByteStreamReader' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6871 |     @_documentation(visibility: private)
6872 | #endif
6873 | private struct FfiConverterOptionTypeByteStreamReader: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeByteStreamReader' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6874 |     typealias SwiftType = ByteStreamReader?
6875 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6897:16: error: type 'FfiConverterOptionTypeTextStreamReader' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6895 |     @_documentation(visibility: private)
6896 | #endif
6897 | private struct FfiConverterOptionTypeTextStreamReader: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeTextStreamReader' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6898 |     typealias SwiftType = TextStreamReader?
6899 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6921:16: error: type 'FfiConverterOptionTypeApiCredentials' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6919 |     @_documentation(visibility: private)
6920 | #endif
6921 | private struct FfiConverterOptionTypeApiCredentials: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeApiCredentials' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6922 |     typealias SwiftType = ApiCredentials?
6923 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6945:16: error: type 'FfiConverterOptionTypeClosedStream' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6943 |     @_documentation(visibility: private)
6944 | #endif
6945 | private struct FfiConverterOptionTypeClosedStream: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeClosedStream' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6946 |     typealias SwiftType = ClosedStream?
6947 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6969:16: error: type 'FfiConverterOptionTypeDataTrackFrame' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6967 |     @_documentation(visibility: private)
6968 | #endif
6969 | private struct FfiConverterOptionTypeDataTrackFrame: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeDataTrackFrame' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6970 |     typealias SwiftType = DataTrackFrame?
6971 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:6993:16: error: type 'FfiConverterOptionTypeDataTrackSchemaId' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
6991 |     @_documentation(visibility: private)
6992 | #endif
6993 | private struct FfiConverterOptionTypeDataTrackSchemaId: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeDataTrackSchemaId' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
6994 |     typealias SwiftType = DataTrackSchemaId?
6995 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7017:16: error: type 'FfiConverterOptionTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7015 |     @_documentation(visibility: private)
7016 | #endif
7017 | private struct FfiConverterOptionTypeLogForwardEntry: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeLogForwardEntry' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7018 |     typealias SwiftType = LogForwardEntry?
7019 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7041:16: error: type 'FfiConverterOptionTypeOpenedStream' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7039 |     @_documentation(visibility: private)
7040 | #endif
7041 | private struct FfiConverterOptionTypeOpenedStream: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeOpenedStream' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7042 |     typealias SwiftType = OpenedStream?
7043 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7065:16: error: type 'FfiConverterOptionTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7063 |     @_documentation(visibility: private)
7064 | #endif
7065 | private struct FfiConverterOptionTypeRoomConfiguration: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeRoomConfiguration' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7066 |     typealias SwiftType = RoomConfiguration?
7067 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7089:16: error: type 'FfiConverterOptionTypeSIPGrants' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7087 |     @_documentation(visibility: private)
7088 | #endif
7089 | private struct FfiConverterOptionTypeSIPGrants: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeSIPGrants' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7090 |     typealias SwiftType = SipGrants?
7091 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7113:16: error: type 'FfiConverterOptionTypeVideoGrants' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7111 |     @_documentation(visibility: private)
7112 | #endif
7113 | private struct FfiConverterOptionTypeVideoGrants: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeVideoGrants' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7114 |     typealias SwiftType = VideoGrants?
7115 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7137:16: error: type 'FfiConverterOptionTypeDataTrackFrameEncoding' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7135 |     @_documentation(visibility: private)
7136 | #endif
7137 | private struct FfiConverterOptionTypeDataTrackFrameEncoding: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeDataTrackFrameEncoding' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7138 |     typealias SwiftType = DataTrackFrameEncoding?
7139 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7161:16: error: type 'FfiConverterOptionTypeOperationType' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7159 |     @_documentation(visibility: private)
7160 | #endif
7161 | private struct FfiConverterOptionTypeOperationType: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeOperationType' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7162 |     typealias SwiftType = OperationType?
7163 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7185:16: error: type 'FfiConverterOptionSequenceTypeBytes' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7183 |     @_documentation(visibility: private)
7184 | #endif
7185 | private struct FfiConverterOptionSequenceTypeBytes: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionSequenceTypeBytes' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7186 |     typealias SwiftType = [Bytes]?
7187 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7209:16: error: type 'FfiConverterOptionDictionaryStringString' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7207 |     @_documentation(visibility: private)
7208 | #endif
7209 | private struct FfiConverterOptionDictionaryStringString: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionDictionaryStringString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7210 |     typealias SwiftType = [String: String]?
7211 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7233:16: error: type 'FfiConverterOptionTypeBytes' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7231 |     @_documentation(visibility: private)
7232 | #endif
7233 | private struct FfiConverterOptionTypeBytes: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionTypeBytes' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7234 |     typealias SwiftType = Bytes?
7235 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7257:16: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7255 |     @_documentation(visibility: private)
7256 | #endif
7257 | private struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7258 |     typealias SwiftType = [String]
7259 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7282:16: error: type 'FfiConverterSequenceTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7280 |     @_documentation(visibility: private)
7281 | #endif
7282 | private struct FfiConverterSequenceTypeRoomAgentDispatch: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterSequenceTypeRoomAgentDispatch' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7283 |     typealias SwiftType = [RoomAgentDispatch]
7284 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7307:16: error: type 'FfiConverterSequenceTypeClientCapability' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7305 |     @_documentation(visibility: private)
7306 | #endif
7307 | private struct FfiConverterSequenceTypeClientCapability: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterSequenceTypeClientCapability' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7308 |     typealias SwiftType = [ClientCapability]
7309 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7332:16: error: type 'FfiConverterSequenceTypeBytes' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
7330 |     @_documentation(visibility: private)
7331 | #endif
7332 | private struct FfiConverterSequenceTypeBytes: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterSequenceTypeBytes' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7333 |     typealias SwiftType = [Bytes]
7334 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7357:16: error: type 'FfiConverterDictionaryStringString' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
7355 |     @_documentation(visibility: private)
7356 | #endif
7357 | private struct FfiConverterDictionaryStringString: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterDictionaryStringString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
7358 |     static func write(_ value: [String: String], into buf: inout [UInt8]) {
7359 |         let len = Int32(value.count)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7398:38: error: cannot find type 'RustBuffer' in scope
7396 |     }
7397 |
7398 |     public static func lift(_ value: RustBuffer) throws -> DataTrackSid {
     |                                      `- error: cannot find type 'RustBuffer' in scope
7399 |         try FfiConverterString.lift(value)
7400 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7402:56: error: cannot find type 'RustBuffer' in scope
7400 |     }
7401 |
7402 |     public static func lower(_ value: DataTrackSid) -> RustBuffer {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
7403 |         FfiConverterString.lower(value)
7404 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7389:15: error: type 'FfiConverterTypeDataTrackSid' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
7387 |     @_documentation(visibility: private)
7388 | #endif
7389 | public struct FfiConverterTypeDataTrackSid: FfiConverter {
     |               |- error: type 'FfiConverterTypeDataTrackSid' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
7390 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> DataTrackSid {
7391 |         try FfiConverterString.read(from: &buf)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7410:56: error: cannot find type 'RustBuffer' in scope
7408 |     @_documentation(visibility: private)
7409 | #endif
7410 | public func FfiConverterTypeDataTrackSid_lift(_ value: RustBuffer) throws -> DataTrackSid {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
7411 |     try FfiConverterTypeDataTrackSid.lift(value)
7412 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7417:74: error: cannot find type 'RustBuffer' in scope
7415 |     @_documentation(visibility: private)
7416 | #endif
7417 | public func FfiConverterTypeDataTrackSid_lower(_ value: DataTrackSid) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
7418 |     FfiConverterTypeDataTrackSid.lower(value)
7419 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7428:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
7426 | private func uniffiRustCallAsync<F, T>(
7427 |     rustFutureFunc: () -> UInt64,
7428 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
7429 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
7430 |     freeFunc: (UInt64) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7428:24: error: @escaping attribute only applies to function types
7426 | private func uniffiRustCallAsync<F, T>(
7427 |     rustFutureFunc: () -> UInt64,
7428 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
     |                        `- error: @escaping attribute only applies to function types
7429 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
7430 |     freeFunc: (UInt64) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7429:49: error: cannot find type 'RustCallStatus' in scope
7427 |     rustFutureFunc: () -> UInt64,
7428 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
7429 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
7430 |     freeFunc: (UInt64) -> Void,
7431 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7432:21: error: cannot find type 'RustBuffer' in scope
7430 |     freeFunc: (UInt64) -> Void,
7431 |     liftFunc: (F) throws -> T,
7432 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
7433 | ) async throws -> T {
7434 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7473:35: error: cannot find type 'RustBuffer' in scope
7471 |     makeCall: @escaping () async throws -> T,
7472 |     handleSuccess: @escaping (T) -> Void,
7473 |     handleError: @escaping (Int8, RustBuffer) -> Void,
     |                                   `- error: cannot find type 'RustBuffer' in scope
7474 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
7475 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7474:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
7472 |     handleSuccess: @escaping (T) -> Void,
7473 |     handleError: @escaping (Int8, RustBuffer) -> Void,
7474 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
7475 | ) {
7476 |     let task = Task {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7504:35: error: cannot find type 'RustBuffer' in scope
7502 |     makeCall: @escaping () async throws -> T,
7503 |     handleSuccess: @escaping (T) -> Void,
7504 |     handleError: @escaping (Int8, RustBuffer) -> Void,
     |                                   `- error: cannot find type 'RustBuffer' in scope
7505 |     lowerError: @escaping (E) -> RustBuffer,
7506 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7505:34: error: cannot find type 'RustBuffer' in scope
7503 |     handleSuccess: @escaping (T) -> Void,
7504 |     handleError: @escaping (Int8, RustBuffer) -> Void,
7505 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
7506 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
7507 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7505:17: error: @escaping attribute only applies to function types
7503 |     handleSuccess: @escaping (T) -> Void,
7504 |     handleError: @escaping (Int8, RustBuffer) -> Void,
7505 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
7506 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
7507 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7506:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
7504 |     handleError: @escaping (Int8, RustBuffer) -> Void,
7505 |     lowerError: @escaping (E) -> RustBuffer,
7506 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
7507 | ) {
7508 |     let task = Task {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7697:40: error: cannot find 'ffi_livekit_uniffi_uniffi_contract_version' in scope
7695 |     let bindings_contract_version = 30
7696 |     // Get the scaffolding contract version by calling the into the dylib
7697 |     let scaffolding_contract_version = ffi_livekit_uniffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_livekit_uniffi_uniffi_contract_version' in scope
7698 |     if bindings_contract_version != scaffolding_contract_version {
7699 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7701:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified' in scope
7699 |         return InitializationResult.contractVersionMismatch
7700 |     }
7701 |     if uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified() != 50037 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_claims_from_unverified' in scope
7702 |         return InitializationResult.apiChecksumMismatch
7703 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7704:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_generate' in scope
7702 |         return InitializationResult.apiChecksumMismatch
7703 |     }
7704 |     if uniffi_livekit_uniffi_checksum_func_token_generate() != 61939 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_generate' in scope
7705 |         return InitializationResult.apiChecksumMismatch
7706 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7707:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_verify' in scope
7705 |         return InitializationResult.apiChecksumMismatch
7706 |     }
7707 |     if uniffi_livekit_uniffi_checksum_func_token_verify() != 22102 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_token_verify' in scope
7708 |         return InitializationResult.apiChecksumMismatch
7709 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7710:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_build_version' in scope
7708 |         return InitializationResult.apiChecksumMismatch
7709 |     }
7710 |     if uniffi_livekit_uniffi_checksum_func_build_version() != 21480 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_build_version' in scope
7711 |         return InitializationResult.apiChecksumMismatch
7712 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7713:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_polled_incoming_data_stream_manager' in scope
7711 |         return InitializationResult.apiChecksumMismatch
7712 |     }
7713 |     if uniffi_livekit_uniffi_checksum_func_polled_incoming_data_stream_manager() != 59681 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_polled_incoming_data_stream_manager' in scope
7714 |         return InitializationResult.apiChecksumMismatch
7715 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7716:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_polled_outgoing_data_stream_manager' in scope
7714 |         return InitializationResult.apiChecksumMismatch
7715 |     }
7716 |     if uniffi_livekit_uniffi_checksum_func_polled_outgoing_data_stream_manager() != 16176 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_polled_outgoing_data_stream_manager' in scope
7717 |         return InitializationResult.apiChecksumMismatch
7718 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7719:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap' in scope
7717 |         return InitializationResult.apiChecksumMismatch
7718 |     }
7719 |     if uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap() != 25458 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_bootstrap' in scope
7720 |         return InitializationResult.apiChecksumMismatch
7721 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7722:8: error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_receive' in scope
7720 |         return InitializationResult.apiChecksumMismatch
7721 |     }
7722 |     if uniffi_livekit_uniffi_checksum_func_log_forward_receive() != 58503 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_func_log_forward_receive' in scope
7723 |         return InitializationResult.apiChecksumMismatch
7724 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7725:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamreader_info' in scope
7723 |         return InitializationResult.apiChecksumMismatch
7724 |     }
7725 |     if uniffi_livekit_uniffi_checksum_method_bytestreamreader_info() != 10285 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamreader_info' in scope
7726 |         return InitializationResult.apiChecksumMismatch
7727 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7728:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamreader_next' in scope
7726 |         return InitializationResult.apiChecksumMismatch
7727 |     }
7728 |     if uniffi_livekit_uniffi_checksum_method_bytestreamreader_next() != 62806 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamreader_next' in scope
7729 |         return InitializationResult.apiChecksumMismatch
7730 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7731:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamreader_read_all' in scope
7729 |         return InitializationResult.apiChecksumMismatch
7730 |     }
7731 |     if uniffi_livekit_uniffi_checksum_method_bytestreamreader_read_all() != 8858 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamreader_read_all' in scope
7732 |         return InitializationResult.apiChecksumMismatch
7733 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7734:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_abort_all_streams' in scope
7732 |         return InitializationResult.apiChecksumMismatch
7733 |     }
7734 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_abort_all_streams() != 37772 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_abort_all_streams' in scope
7735 |         return InitializationResult.apiChecksumMismatch
7736 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7737:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_abort_streams_from' in scope
7735 |         return InitializationResult.apiChecksumMismatch
7736 |     }
7737 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_abort_streams_from() != 27277 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_abort_streams_from' in scope
7738 |         return InitializationResult.apiChecksumMismatch
7739 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7740:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_handle_packet_received' in scope
7738 |         return InitializationResult.apiChecksumMismatch
7739 |     }
7740 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_handle_packet_received() != 28698 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_handle_packet_received' in scope
7741 |         return InitializationResult.apiChecksumMismatch
7742 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7743:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_open_stream_count' in scope
7741 |         return InitializationResult.apiChecksumMismatch
7742 |     }
7743 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_open_stream_count() != 51052 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanager_open_stream_count' in scope
7744 |         return InitializationResult.apiChecksumMismatch
7745 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7746:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_byte_stream_opened' in scope
7744 |         return InitializationResult.apiChecksumMismatch
7745 |     }
7746 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_byte_stream_opened() != 16413 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_byte_stream_opened' in scope
7747 |         return InitializationResult.apiChecksumMismatch
7748 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7749:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_text_stream_opened' in scope
7747 |         return InitializationResult.apiChecksumMismatch
7748 |     }
7749 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_text_stream_opened() != 64529 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_text_stream_opened' in scope
7750 |         return InitializationResult.apiChecksumMismatch
7751 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7752:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_stream_closed' in scope
7750 |         return InitializationResult.apiChecksumMismatch
7751 |     }
7752 |     if uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_stream_closed() != 35314 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingdatastreammanagerdelegate_on_stream_closed' in scope
7753 |         return InitializationResult.apiChecksumMismatch
7754 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7755:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamreader_info' in scope
7753 |         return InitializationResult.apiChecksumMismatch
7754 |     }
7755 |     if uniffi_livekit_uniffi_checksum_method_textstreamreader_info() != 6861 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamreader_info' in scope
7756 |         return InitializationResult.apiChecksumMismatch
7757 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7758:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamreader_next' in scope
7756 |         return InitializationResult.apiChecksumMismatch
7757 |     }
7758 |     if uniffi_livekit_uniffi_checksum_method_textstreamreader_next() != 56274 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamreader_next' in scope
7759 |         return InitializationResult.apiChecksumMismatch
7760 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7761:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamreader_read_all' in scope
7759 |         return InitializationResult.apiChecksumMismatch
7760 |     }
7761 |     if uniffi_livekit_uniffi_checksum_method_textstreamreader_read_all() != 26313 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamreader_read_all' in scope
7762 |         return InitializationResult.apiChecksumMismatch
7763 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7764:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_close' in scope
7762 |         return InitializationResult.apiChecksumMismatch
7763 |     }
7764 |     if uniffi_livekit_uniffi_checksum_method_bytestreamwriter_close() != 39404 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_close' in scope
7765 |         return InitializationResult.apiChecksumMismatch
7766 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7767:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_close_with_reason' in scope
7765 |         return InitializationResult.apiChecksumMismatch
7766 |     }
7767 |     if uniffi_livekit_uniffi_checksum_method_bytestreamwriter_close_with_reason() != 54863 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_close_with_reason' in scope
7768 |         return InitializationResult.apiChecksumMismatch
7769 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7770:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_info' in scope
7768 |         return InitializationResult.apiChecksumMismatch
7769 |     }
7770 |     if uniffi_livekit_uniffi_checksum_method_bytestreamwriter_info() != 5482 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_info' in scope
7771 |         return InitializationResult.apiChecksumMismatch
7772 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7773:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_is_open' in scope
7771 |         return InitializationResult.apiChecksumMismatch
7772 |     }
7773 |     if uniffi_livekit_uniffi_checksum_method_bytestreamwriter_is_open() != 18526 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_is_open' in scope
7774 |         return InitializationResult.apiChecksumMismatch
7775 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7776:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_write' in scope
7774 |         return InitializationResult.apiChecksumMismatch
7775 |     }
7776 |     if uniffi_livekit_uniffi_checksum_method_bytestreamwriter_write() != 51985 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_bytestreamwriter_write' in scope
7777 |         return InitializationResult.apiChecksumMismatch
7778 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7779:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_bytes' in scope
7777 |         return InitializationResult.apiChecksumMismatch
7778 |     }
7779 |     if uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_bytes() != 36743 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_bytes' in scope
7780 |         return InitializationResult.apiChecksumMismatch
7781 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7782:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_file' in scope
7780 |         return InitializationResult.apiChecksumMismatch
7781 |     }
7782 |     if uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_file() != 17211 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_file' in scope
7783 |         return InitializationResult.apiChecksumMismatch
7784 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7785:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_text' in scope
7783 |         return InitializationResult.apiChecksumMismatch
7784 |     }
7785 |     if uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_text() != 44627 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_send_text' in scope
7786 |         return InitializationResult.apiChecksumMismatch
7787 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7788:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_stream_bytes' in scope
7786 |         return InitializationResult.apiChecksumMismatch
7787 |     }
7788 |     if uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_stream_bytes() != 17761 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_stream_bytes' in scope
7789 |         return InitializationResult.apiChecksumMismatch
7790 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7791:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_stream_text' in scope
7789 |         return InitializationResult.apiChecksumMismatch
7790 |     }
7791 |     if uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_stream_text() != 34690 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanager_stream_text' in scope
7792 |         return InitializationResult.apiChecksumMismatch
7793 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7794:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanagerdelegate_on_packets_available' in scope
7792 |         return InitializationResult.apiChecksumMismatch
7793 |     }
7794 |     if uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanagerdelegate_on_packets_available() != 2572 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingdatastreammanagerdelegate_on_packets_available' in scope
7795 |         return InitializationResult.apiChecksumMismatch
7796 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7797:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_client_protocol' in scope
7795 |         return InitializationResult.apiChecksumMismatch
7796 |     }
7797 |     if uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_client_protocol() != 48134 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_client_protocol' in scope
7798 |         return InitializationResult.apiChecksumMismatch
7799 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7800:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_capabilities' in scope
7798 |         return InitializationResult.apiChecksumMismatch
7799 |     }
7800 |     if uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_capabilities() != 2201 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_capabilities' in scope
7801 |         return InitializationResult.apiChecksumMismatch
7802 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7803:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_identities' in scope
7801 |         return InitializationResult.apiChecksumMismatch
7802 |     }
7803 |     if uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_identities() != 42803 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remoteparticipantregistrydelegate_remote_identities' in scope
7804 |         return InitializationResult.apiChecksumMismatch
7805 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7806:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_close' in scope
7804 |         return InitializationResult.apiChecksumMismatch
7805 |     }
7806 |     if uniffi_livekit_uniffi_checksum_method_textstreamwriter_close() != 43279 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_close' in scope
7807 |         return InitializationResult.apiChecksumMismatch
7808 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7809:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_close_with_reason' in scope
7807 |         return InitializationResult.apiChecksumMismatch
7808 |     }
7809 |     if uniffi_livekit_uniffi_checksum_method_textstreamwriter_close_with_reason() != 39023 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_close_with_reason' in scope
7810 |         return InitializationResult.apiChecksumMismatch
7811 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7812:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_info' in scope
7810 |         return InitializationResult.apiChecksumMismatch
7811 |     }
7812 |     if uniffi_livekit_uniffi_checksum_method_textstreamwriter_info() != 27425 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_info' in scope
7813 |         return InitializationResult.apiChecksumMismatch
7814 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7815:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_is_open' in scope
7813 |         return InitializationResult.apiChecksumMismatch
7814 |     }
7815 |     if uniffi_livekit_uniffi_checksum_method_textstreamwriter_is_open() != 24885 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_is_open' in scope
7816 |         return InitializationResult.apiChecksumMismatch
7817 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7818:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_write' in scope
7816 |         return InitializationResult.apiChecksumMismatch
7817 |     }
7818 |     if uniffi_livekit_uniffi_checksum_method_textstreamwriter_write() != 50876 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_textstreamwriter_write' in scope
7819 |         return InitializationResult.apiChecksumMismatch
7820 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7821:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_close' in scope
7819 |         return InitializationResult.apiChecksumMismatch
7820 |     }
7821 |     if uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_close() != 4954 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_close' in scope
7822 |         return InitializationResult.apiChecksumMismatch
7823 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7824:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_next_closed_stream' in scope
7822 |         return InitializationResult.apiChecksumMismatch
7823 |     }
7824 |     if uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_next_closed_stream() != 10337 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_next_closed_stream' in scope
7825 |         return InitializationResult.apiChecksumMismatch
7826 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7827:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_next_opened_stream' in scope
7825 |         return InitializationResult.apiChecksumMismatch
7826 |     }
7827 |     if uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_next_opened_stream() != 44884 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_incomingstreamqueue_next_opened_stream' in scope
7828 |         return InitializationResult.apiChecksumMismatch
7829 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7830:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingpacketqueue_close' in scope
7828 |         return InitializationResult.apiChecksumMismatch
7829 |     }
7830 |     if uniffi_livekit_uniffi_checksum_method_outgoingpacketqueue_close() != 35032 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingpacketqueue_close' in scope
7831 |         return InitializationResult.apiChecksumMismatch
7832 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7833:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingpacketqueue_next_packets' in scope
7831 |         return InitializationResult.apiChecksumMismatch
7832 |     }
7833 |     if uniffi_livekit_uniffi_checksum_method_outgoingpacketqueue_next_packets() != 15206 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_outgoingpacketqueue_next_packets' in scope
7834 |         return InitializationResult.apiChecksumMismatch
7835 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7836:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_info' in scope
7834 |         return InitializationResult.apiChecksumMismatch
7835 |     }
7836 |     if uniffi_livekit_uniffi_checksum_method_localdatatrack_info() != 60151 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_info' in scope
7837 |         return InitializationResult.apiChecksumMismatch
7838 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7839:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_is_published' in scope
7837 |         return InitializationResult.apiChecksumMismatch
7838 |     }
7839 |     if uniffi_livekit_uniffi_checksum_method_localdatatrack_is_published() != 760 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_is_published' in scope
7840 |         return InitializationResult.apiChecksumMismatch
7841 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7842:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_try_push' in scope
7840 |         return InitializationResult.apiChecksumMismatch
7841 |     }
7842 |     if uniffi_livekit_uniffi_checksum_method_localdatatrack_try_push() != 40290 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_try_push' in scope
7843 |         return InitializationResult.apiChecksumMismatch
7844 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7845:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_unpublish' in scope
7843 |         return InitializationResult.apiChecksumMismatch
7844 |     }
7845 |     if uniffi_livekit_uniffi_checksum_method_localdatatrack_unpublish() != 40300 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_unpublish' in scope
7846 |         return InitializationResult.apiChecksumMismatch
7847 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7848:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_wait_for_unpublish' in scope
7846 |         return InitializationResult.apiChecksumMismatch
7847 |     }
7848 |     if uniffi_livekit_uniffi_checksum_method_localdatatrack_wait_for_unpublish() != 39190 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrack_wait_for_unpublish' in scope
7849 |         return InitializationResult.apiChecksumMismatch
7850 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7851:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_handle_sfu_publish_response' in scope
7849 |         return InitializationResult.apiChecksumMismatch
7850 |     }
7851 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_handle_sfu_publish_response() != 52069 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_handle_sfu_publish_response' in scope
7852 |         return InitializationResult.apiChecksumMismatch
7853 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7854:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_handle_sfu_request_response' in scope
7852 |         return InitializationResult.apiChecksumMismatch
7853 |     }
7854 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_handle_sfu_request_response() != 14552 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_handle_sfu_request_response' in scope
7855 |         return InitializationResult.apiChecksumMismatch
7856 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7857:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_publish_responses_for_sync_state' in scope
7855 |         return InitializationResult.apiChecksumMismatch
7856 |     }
7857 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_publish_responses_for_sync_state() != 22678 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_publish_responses_for_sync_state' in scope
7858 |         return InitializationResult.apiChecksumMismatch
7859 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7860:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_publish_track' in scope
7858 |         return InitializationResult.apiChecksumMismatch
7859 |     }
7860 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_publish_track() != 31959 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_publish_track' in scope
7861 |         return InitializationResult.apiChecksumMismatch
7862 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7863:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_republish_tracks' in scope
7861 |         return InitializationResult.apiChecksumMismatch
7862 |     }
7863 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_republish_tracks() != 2671 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanager_republish_tracks' in scope
7864 |         return InitializationResult.apiChecksumMismatch
7865 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7866:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanagerdelegate_on_signal_request' in scope
7864 |         return InitializationResult.apiChecksumMismatch
7865 |     }
7866 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanagerdelegate_on_signal_request() != 28972 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanagerdelegate_on_signal_request' in scope
7867 |         return InitializationResult.apiChecksumMismatch
7868 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7869:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanagerdelegate_on_packets_available' in scope
7867 |         return InitializationResult.apiChecksumMismatch
7868 |     }
7869 |     if uniffi_livekit_uniffi_checksum_method_localdatatrackmanagerdelegate_on_packets_available() != 19578 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_localdatatrackmanagerdelegate_on_packets_available' in scope
7870 |         return InitializationResult.apiChecksumMismatch
7871 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7872:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_datatrackstream_next' in scope
7870 |         return InitializationResult.apiChecksumMismatch
7871 |     }
7872 |     if uniffi_livekit_uniffi_checksum_method_datatrackstream_next() != 35219 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_datatrackstream_next' in scope
7873 |         return InitializationResult.apiChecksumMismatch
7874 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7875:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_info' in scope
7873 |         return InitializationResult.apiChecksumMismatch
7874 |     }
7875 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_info() != 11559 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_info' in scope
7876 |         return InitializationResult.apiChecksumMismatch
7877 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7878:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_is_published' in scope
7876 |         return InitializationResult.apiChecksumMismatch
7877 |     }
7878 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_is_published() != 63127 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_is_published' in scope
7879 |         return InitializationResult.apiChecksumMismatch
7880 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7881:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_publisher_identity' in scope
7879 |         return InitializationResult.apiChecksumMismatch
7880 |     }
7881 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_publisher_identity() != 40711 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_publisher_identity' in scope
7882 |         return InitializationResult.apiChecksumMismatch
7883 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7884:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_set_pipeline_options' in scope
7882 |         return InitializationResult.apiChecksumMismatch
7883 |     }
7884 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_set_pipeline_options() != 47812 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_set_pipeline_options' in scope
7885 |         return InitializationResult.apiChecksumMismatch
7886 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7887:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe' in scope
7885 |         return InitializationResult.apiChecksumMismatch
7886 |     }
7887 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe() != 23718 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe' in scope
7888 |         return InitializationResult.apiChecksumMismatch
7889 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7890:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe_with_options' in scope
7888 |         return InitializationResult.apiChecksumMismatch
7889 |     }
7890 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe_with_options() != 44043 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_subscribe_with_options' in scope
7891 |         return InitializationResult.apiChecksumMismatch
7892 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7893:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_wait_for_unpublish' in scope
7891 |         return InitializationResult.apiChecksumMismatch
7892 |     }
7893 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrack_wait_for_unpublish() != 30281 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrack_wait_for_unpublish' in scope
7894 |         return InitializationResult.apiChecksumMismatch
7895 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7896:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_packet_received' in scope
7894 |         return InitializationResult.apiChecksumMismatch
7895 |     }
7896 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_packet_received() != 20834 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_packet_received' in scope
7897 |         return InitializationResult.apiChecksumMismatch
7898 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7899:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_join_response' in scope
7897 |         return InitializationResult.apiChecksumMismatch
7898 |     }
7899 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_join_response() != 40603 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_join_response' in scope
7900 |         return InitializationResult.apiChecksumMismatch
7901 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7902:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_participant_update' in scope
7900 |         return InitializationResult.apiChecksumMismatch
7901 |     }
7902 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_participant_update() != 65460 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_sfu_participant_update' in scope
7903 |         return InitializationResult.apiChecksumMismatch
7904 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7905:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_subscriber_handles' in scope
7903 |         return InitializationResult.apiChecksumMismatch
7904 |     }
7905 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_subscriber_handles() != 10984 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_handle_subscriber_handles' in scope
7906 |         return InitializationResult.apiChecksumMismatch
7907 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7908:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_resend_subscription_updates' in scope
7906 |         return InitializationResult.apiChecksumMismatch
7907 |     }
7908 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_resend_subscription_updates() != 45173 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanager_resend_subscription_updates' in scope
7909 |         return InitializationResult.apiChecksumMismatch
7910 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7911:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_signal_request' in scope
7909 |         return InitializationResult.apiChecksumMismatch
7910 |     }
7911 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_signal_request() != 17633 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_signal_request' in scope
7912 |         return InitializationResult.apiChecksumMismatch
7913 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7914:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_published' in scope
7912 |         return InitializationResult.apiChecksumMismatch
7913 |     }
7914 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_published() != 34810 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_published' in scope
7915 |         return InitializationResult.apiChecksumMismatch
7916 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7917:8: error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_unpublished' in scope
7915 |         return InitializationResult.apiChecksumMismatch
7916 |     }
7917 |     if uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_unpublished() != 204 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_method_remotedatatrackmanagerdelegate_on_track_unpublished' in scope
7918 |         return InitializationResult.apiChecksumMismatch
7919 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7920:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_incomingdatastreammanager_new' in scope
7918 |         return InitializationResult.apiChecksumMismatch
7919 |     }
7920 |     if uniffi_livekit_uniffi_checksum_constructor_incomingdatastreammanager_new() != 27033 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_incomingdatastreammanager_new' in scope
7921 |         return InitializationResult.apiChecksumMismatch
7922 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7923:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_outgoingdatastreammanager_new' in scope
7921 |         return InitializationResult.apiChecksumMismatch
7922 |     }
7923 |     if uniffi_livekit_uniffi_checksum_constructor_outgoingdatastreammanager_new() != 53243 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_outgoingdatastreammanager_new' in scope
7924 |         return InitializationResult.apiChecksumMismatch
7925 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7926:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_localdatatrackmanager_new' in scope
7924 |         return InitializationResult.apiChecksumMismatch
7925 |     }
7926 |     if uniffi_livekit_uniffi_checksum_constructor_localdatatrackmanager_new() != 49140 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_localdatatrackmanager_new' in scope
7927 |         return InitializationResult.apiChecksumMismatch
7928 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_uniffi.swift:7929:8: error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_remotedatatrackmanager_new' in scope
7927 |         return InitializationResult.apiChecksumMismatch
7928 |     }
7929 |     if uniffi_livekit_uniffi_checksum_constructor_remotedatatrackmanager_new() != 42521 {
     |        `- error: cannot find 'uniffi_livekit_uniffi_checksum_constructor_remotedatatrackmanager_new' in scope
7930 |         return InitializationResult.apiChecksumMismatch
7931 |     }
[5/7] Compiling LiveKitUniFFI livekit_net.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:14:19: error: cannot find type 'RustBuffer' in scope
  12 | #endif
  13 |
  14 | private extension RustBuffer {
     |                   `- error: cannot find type 'RustBuffer' in scope
  15 |     /// Allocate a new buffer, copying the contents of a `UInt8` array.
  16 |     init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:38:19: error: cannot find type 'ForeignBytes' in scope
  36 | }
  37 |
  38 | private extension ForeignBytes {
     |                   `- error: cannot find type 'ForeignBytes' in scope
  39 |     init(bufferPointer: UnsafeBufferPointer<UInt8>) {
  40 |         self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:52:22: error: cannot find type 'RustBuffer' in scope
  50 |
  51 | private extension Data {
  52 |     init(rustBuffer: RustBuffer) {
     |                      `- error: cannot find type 'RustBuffer' in scope
  53 |         self.init(
  54 |             bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:190:72: error: cannot find type 'RustBuffer' in scope
 188 | /// Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
 189 | /// Used for complex types where it's hard to write a custom lift/lower.
 190 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
 191 |
 192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:196:36: error: cannot find type 'RustBuffer' in scope
 194 |         @_documentation(visibility: private)
 195 |     #endif
 196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
     |                                    `- error: cannot find type 'RustBuffer' in scope
 197 |         var reader = createReader(data: Data(rustBuffer: buf))
 198 |         let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:209:53: error: cannot find type 'RustBuffer' in scope
 207 |         @_documentation(visibility: private)
 208 |     #endif
 209 |     public static func lower(_ value: SwiftType) -> RustBuffer {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
 210 |         var writer = createWriter()
 211 |         write(value, into: &writer)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:257:19: error: cannot find type 'RustCallStatus' in scope
 255 | private let CALL_CANCELLED: Int8 = 3
 256 |
 257 | private extension RustCallStatus {
     |                   `- error: cannot find type 'RustCallStatus' in scope
 258 |     init() {
 259 |         self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:270:60: error: cannot find type 'RustCallStatus' in scope
 268 | }
 269 |
 270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                                            `- error: cannot find type 'RustCallStatus' in scope
 271 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
 272 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:276:32: error: cannot find type 'RustBuffer' in scope
 274 |
 275 | private func rustCallWithError<T>(
 276 |     _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
     |                                `- error: cannot find type 'RustBuffer' in scope
 277 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
 278 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:277:39: error: cannot find type 'RustCallStatus' in scope
 275 | private func rustCallWithError<T>(
 276 |     _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
 277 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 278 | ) throws -> T {
 279 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:283:39: error: cannot find type 'RustCallStatus' in scope
 281 |
 282 | private func makeRustCall<T>(
 283 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 284 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
 285 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:284:21: error: cannot find type 'RustBuffer' in scope
 282 | private func makeRustCall<T>(
 283 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
 284 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 285 | ) throws -> T {
 286 |     uniffiEnsureLivekitNetInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:294:17: error: cannot find type 'RustCallStatus' in scope
 292 |
 293 | private func uniffiCheckCallStatus(
 294 |     callStatus: RustCallStatus,
     |                 `- error: cannot find type 'RustCallStatus' in scope
 295 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
 296 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:295:21: error: cannot find type 'RustBuffer' in scope
 293 | private func uniffiCheckCallStatus(
 294 |     callStatus: RustCallStatus,
 295 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 296 | ) throws {
 297 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:329:38: error: cannot find type 'RustCallStatus' in scope
 327 |
 328 | private func uniffiTraitInterfaceCall<T>(
 329 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 330 |     makeCall: () throws -> T,
 331 |     writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:342:38: error: cannot find type 'RustCallStatus' in scope
 340 |
 341 | private func uniffiTraitInterfaceCallWithError<T, E>(
 342 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 343 |     makeCall: () throws -> T,
 344 |     writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:345:24: error: cannot find type 'RustBuffer' in scope
 343 |     makeCall: () throws -> T,
 344 |     writeReturn: (T) -> Void,
 345 |     lowerError: (E) -> RustBuffer
     |                        `- error: cannot find type 'RustBuffer' in scope
 346 | ) {
 347 |     do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:486:25: error: cannot find type 'RustBuffer' in scope
 484 | private struct FfiConverterString: FfiConverter {
 485 |     typealias SwiftType = String
 486 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 487 |
 488 |     static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:488:31: error: cannot find type 'RustBuffer' in scope
 486 |     typealias FfiType = RustBuffer
 487 |
 488 |     static func lift(_ value: RustBuffer) throws -> String {
     |                               `- error: cannot find type 'RustBuffer' in scope
 489 |         defer {
 490 |             value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:499:43: error: cannot find type 'RustBuffer' in scope
 497 |     }
 498 |
 499 |     static func lower(_ value: String) -> RustBuffer {
     |                                           `- error: cannot find type 'RustBuffer' in scope
 500 |         value.utf8CString.withUnsafeBufferPointer { ptr in
 501 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:484:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 482 |     @_documentation(visibility: private)
 483 | #endif
 484 | private struct FfiConverterString: FfiConverter {
     |                |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
 485 |     typealias SwiftType = String
 486 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:525:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 523 |     @_documentation(visibility: private)
 524 | #endif
 525 | private struct FfiConverterData: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
 526 |     typealias SwiftType = Data
 527 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:642:24: error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 640 |     ///
 641 |     /// Store the vtable directly.
 642 |     static let vtable: UniffiVTableCallbackInterfaceHttpClient = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 643 |         uniffiFree: { (uniffiHandle: UInt64) in
 644 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:710:41: error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 708 |     /// Rust stores this pointer for future callback invocations, so it must live
 709 |     /// for the process lifetime (not just for the init function call).
 710 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceHttpClient> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceHttpClient' in scope
 711 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceHttpClient>.allocate(capacity: 1)
 712 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:871:24: error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 869 |     ///
 870 |     /// Store the vtable directly.
 871 |     static let vtable: UniffiVTableCallbackInterfaceWsClient = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 872 |         uniffiFree: { (uniffiHandle: UInt64) in
 873 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:937:41: error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 935 |     /// Rust stores this pointer for future callback invocations, so it must live
 936 |     /// for the process lifetime (not just for the init function call).
 937 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsClient> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceWsClient' in scope
 938 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsClient>.allocate(capacity: 1)
 939 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1140:24: error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1138 |     ///
1139 |     /// Store the vtable directly.
1140 |     static let vtable: UniffiVTableCallbackInterfaceWsConnection = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1141 |         uniffiFree: { (uniffiHandle: UInt64) in
1142 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1279:41: error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1277 |     /// Rust stores this pointer for future callback invocations, so it must live
1278 |     /// for the process lifetime (not just for the init function call).
1279 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceWsConnection> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceWsConnection' in scope
1280 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceWsConnection>.allocate(capacity: 1)
1281 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1366:15: error: type 'FfiConverterTypeHeader' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1364 |     @_documentation(visibility: private)
1365 | #endif
1366 | public struct FfiConverterTypeHeader: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHeader' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1367 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Header {
1368 |         try Header(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1383:48: error: cannot find type 'RustBuffer' in scope
1381 |     @_documentation(visibility: private)
1382 | #endif
1383 | public func FfiConverterTypeHeader_lift(_ buf: RustBuffer) throws -> Header {
     |                                                `- error: cannot find type 'RustBuffer' in scope
1384 |     try FfiConverterTypeHeader.lift(buf)
1385 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1390:62: error: cannot find type 'RustBuffer' in scope
1388 |     @_documentation(visibility: private)
1389 | #endif
1390 | public func FfiConverterTypeHeader_lower(_ value: Header) -> RustBuffer {
     |                                                              `- error: cannot find type 'RustBuffer' in scope
1391 |     FfiConverterTypeHeader.lower(value)
1392 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1425:15: error: type 'FfiConverterTypeHttpResponse' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1423 |     @_documentation(visibility: private)
1424 | #endif
1425 | public struct FfiConverterTypeHttpResponse: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHttpResponse' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1426 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> HttpResponse {
1427 |         try HttpResponse(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1444:54: error: cannot find type 'RustBuffer' in scope
1442 |     @_documentation(visibility: private)
1443 | #endif
1444 | public func FfiConverterTypeHttpResponse_lift(_ buf: RustBuffer) throws -> HttpResponse {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1445 |     try FfiConverterTypeHttpResponse.lift(buf)
1446 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1451:74: error: cannot find type 'RustBuffer' in scope
1449 |     @_documentation(visibility: private)
1450 | #endif
1451 | public func FfiConverterTypeHttpResponse_lower(_ value: HttpResponse) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1452 |     FfiConverterTypeHttpResponse.lower(value)
1453 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1478:15: error: type 'FfiConverterTypeWsConnectResult' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1476 |     @_documentation(visibility: private)
1477 | #endif
1478 | public struct FfiConverterTypeWsConnectResult: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeWsConnectResult' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1479 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WsConnectResult {
1480 |         try WsConnectResult(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1493:57: error: cannot find type 'RustBuffer' in scope
1491 |     @_documentation(visibility: private)
1492 | #endif
1493 | public func FfiConverterTypeWsConnectResult_lift(_ buf: RustBuffer) throws -> WsConnectResult {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1494 |     try FfiConverterTypeWsConnectResult.lift(buf)
1495 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1500:80: error: cannot find type 'RustBuffer' in scope
1498 |     @_documentation(visibility: private)
1499 | #endif
1500 | public func FfiConverterTypeWsConnectResult_lower(_ value: WsConnectResult) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1501 |     FfiConverterTypeWsConnectResult.lower(value)
1502 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1522:15: error: type 'FfiConverterTypeHttpMethod' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1520 |     @_documentation(visibility: private)
1521 | #endif
1522 | public struct FfiConverterTypeHttpMethod: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeHttpMethod' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1523 |     typealias SwiftType = HttpMethod
1524 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1550:52: error: cannot find type 'RustBuffer' in scope
1548 |     @_documentation(visibility: private)
1549 | #endif
1550 | public func FfiConverterTypeHttpMethod_lift(_ buf: RustBuffer) throws -> HttpMethod {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1551 |     try FfiConverterTypeHttpMethod.lift(buf)
1552 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1557:70: error: cannot find type 'RustBuffer' in scope
1555 |     @_documentation(visibility: private)
1556 | #endif
1557 | public func FfiConverterTypeHttpMethod_lower(_ value: HttpMethod) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1558 |     FfiConverterTypeHttpMethod.lower(value)
1559 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1583:15: error: type 'FfiConverterTypeTransportError' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1581 |     @_documentation(visibility: private)
1582 | #endif
1583 | public struct FfiConverterTypeTransportError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeTransportError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1584 |     typealias SwiftType = TransportError
1585 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1630:56: error: cannot find type 'RustBuffer' in scope
1628 |     @_documentation(visibility: private)
1629 | #endif
1630 | public func FfiConverterTypeTransportError_lift(_ buf: RustBuffer) throws -> TransportError {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1631 |     try FfiConverterTypeTransportError.lift(buf)
1632 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1637:78: error: cannot find type 'RustBuffer' in scope
1635 |     @_documentation(visibility: private)
1636 | #endif
1637 | public func FfiConverterTypeTransportError_lower(_ value: TransportError) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1638 |     FfiConverterTypeTransportError.lower(value)
1639 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1644:16: error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1642 |     @_documentation(visibility: private)
1643 | #endif
1644 | private struct FfiConverterOptionData: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
1645 |     typealias SwiftType = Data?
1646 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1668:16: error: type 'FfiConverterSequenceTypeHeader' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1666 |     @_documentation(visibility: private)
1667 | #endif
1668 | private struct FfiConverterSequenceTypeHeader: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterSequenceTypeHeader' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
1669 |     typealias SwiftType = [Header]
1670 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1697:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1695 | private func uniffiRustCallAsync<F, T>(
1696 |     rustFutureFunc: () -> UInt64,
1697 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
1698 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1699 |     freeFunc: (UInt64) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1697:24: error: @escaping attribute only applies to function types
1695 | private func uniffiRustCallAsync<F, T>(
1696 |     rustFutureFunc: () -> UInt64,
1697 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
     |                        `- error: @escaping attribute only applies to function types
1698 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
1699 |     freeFunc: (UInt64) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1698:49: error: cannot find type 'RustCallStatus' in scope
1696 |     rustFutureFunc: () -> UInt64,
1697 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> Void,
1698 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
1699 |     freeFunc: (UInt64) -> Void,
1700 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1701:21: error: cannot find type 'RustBuffer' in scope
1699 |     freeFunc: (UInt64) -> Void,
1700 |     liftFunc: (F) throws -> T,
1701 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
1702 | ) async throws -> T {
1703 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1742:35: error: cannot find type 'RustBuffer' in scope
1740 |     makeCall: @escaping () async throws -> T,
1741 |     handleSuccess: @escaping (T) -> Void,
1742 |     handleError: @escaping (Int8, RustBuffer) -> Void,
     |                                   `- error: cannot find type 'RustBuffer' in scope
1743 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1744 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1743:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1741 |     handleSuccess: @escaping (T) -> Void,
1742 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1743 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1744 | ) {
1745 |     let task = Task {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1773:35: error: cannot find type 'RustBuffer' in scope
1771 |     makeCall: @escaping () async throws -> T,
1772 |     handleSuccess: @escaping (T) -> Void,
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
     |                                   `- error: cannot find type 'RustBuffer' in scope
1774 |     lowerError: @escaping (E) -> RustBuffer,
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1774:34: error: cannot find type 'RustBuffer' in scope
1772 |     handleSuccess: @escaping (T) -> Void,
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1774 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1776 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1774:17: error: @escaping attribute only applies to function types
1772 |     handleSuccess: @escaping (T) -> Void,
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1774 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
1776 | ) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1775:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1773 |     handleError: @escaping (Int8, RustBuffer) -> Void,
1774 |     lowerError: @escaping (E) -> RustBuffer,
1775 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
1776 | ) {
1777 |     let task = Task {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1930:40: error: cannot find 'ffi_livekit_net_uniffi_contract_version' in scope
1928 |     let bindings_contract_version = 30
1929 |     // Get the scaffolding contract version by calling the into the dylib
1930 |     let scaffolding_contract_version = ffi_livekit_net_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_livekit_net_uniffi_contract_version' in scope
1931 |     if bindings_contract_version != scaffolding_contract_version {
1932 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1934:8: error: cannot find 'uniffi_livekit_net_checksum_func_has_http_client' in scope
1932 |         return InitializationResult.contractVersionMismatch
1933 |     }
1934 |     if uniffi_livekit_net_checksum_func_has_http_client() != 31874 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_has_http_client' in scope
1935 |         return InitializationResult.apiChecksumMismatch
1936 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1937:8: error: cannot find 'uniffi_livekit_net_checksum_func_has_ws_client' in scope
1935 |         return InitializationResult.apiChecksumMismatch
1936 |     }
1937 |     if uniffi_livekit_net_checksum_func_has_ws_client() != 1427 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_has_ws_client' in scope
1938 |         return InitializationResult.apiChecksumMismatch
1939 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1940:8: error: cannot find 'uniffi_livekit_net_checksum_func_self_test_http_get' in scope
1938 |         return InitializationResult.apiChecksumMismatch
1939 |     }
1940 |     if uniffi_livekit_net_checksum_func_self_test_http_get() != 58956 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_self_test_http_get' in scope
1941 |         return InitializationResult.apiChecksumMismatch
1942 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1943:8: error: cannot find 'uniffi_livekit_net_checksum_func_self_test_ws_echo' in scope
1941 |         return InitializationResult.apiChecksumMismatch
1942 |     }
1943 |     if uniffi_livekit_net_checksum_func_self_test_ws_echo() != 54359 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_self_test_ws_echo' in scope
1944 |         return InitializationResult.apiChecksumMismatch
1945 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1946:8: error: cannot find 'uniffi_livekit_net_checksum_func_set_http_client' in scope
1944 |         return InitializationResult.apiChecksumMismatch
1945 |     }
1946 |     if uniffi_livekit_net_checksum_func_set_http_client() != 2382 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_set_http_client' in scope
1947 |         return InitializationResult.apiChecksumMismatch
1948 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1949:8: error: cannot find 'uniffi_livekit_net_checksum_func_set_ws_client' in scope
1947 |         return InitializationResult.apiChecksumMismatch
1948 |     }
1949 |     if uniffi_livekit_net_checksum_func_set_ws_client() != 25157 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_func_set_ws_client' in scope
1950 |         return InitializationResult.apiChecksumMismatch
1951 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1952:8: error: cannot find 'uniffi_livekit_net_checksum_method_httpclient_request' in scope
1950 |         return InitializationResult.apiChecksumMismatch
1951 |     }
1952 |     if uniffi_livekit_net_checksum_method_httpclient_request() != 22088 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_httpclient_request' in scope
1953 |         return InitializationResult.apiChecksumMismatch
1954 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1955:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsclient_connect' in scope
1953 |         return InitializationResult.apiChecksumMismatch
1954 |     }
1955 |     if uniffi_livekit_net_checksum_method_wsclient_connect() != 54712 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsclient_connect' in scope
1956 |         return InitializationResult.apiChecksumMismatch
1957 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1958:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_send' in scope
1956 |         return InitializationResult.apiChecksumMismatch
1957 |     }
1958 |     if uniffi_livekit_net_checksum_method_wsconnection_send() != 64949 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_send' in scope
1959 |         return InitializationResult.apiChecksumMismatch
1960 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1961:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_recv' in scope
1959 |         return InitializationResult.apiChecksumMismatch
1960 |     }
1961 |     if uniffi_livekit_net_checksum_method_wsconnection_recv() != 4606 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_recv' in scope
1962 |         return InitializationResult.apiChecksumMismatch
1963 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1964:8: error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_close' in scope
1962 |         return InitializationResult.apiChecksumMismatch
1963 |     }
1964 |     if uniffi_livekit_net_checksum_method_wsconnection_close() != 13655 {
     |        `- error: cannot find 'uniffi_livekit_net_checksum_method_wsconnection_close' in scope
1965 |         return InitializationResult.apiChecksumMismatch
1966 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:197:41: error: no exact matches in call to initializer
 195 |     #endif
 196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
 197 |         var reader = createReader(data: Data(rustBuffer: buf))
     |                                         `- error: no exact matches in call to initializer
 198 |         let value = try read(from: &reader)
 199 |         if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:271:23: error: cannot find type 'RustBuffer' in scope
 269 |
 270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 271 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
     |                       `- error: cannot find type 'RustBuffer' in scope
 272 |     return try makeRustCall(callback, errorHandler: neverThrow)
 273 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:287:22: error: cannot find 'RustCallStatus' in scope
 285 | ) throws -> T {
 286 |     uniffiEnsureLivekitNetInitialized()
 287 |     var callStatus = RustCallStatus()
     |                      `- error: cannot find 'RustCallStatus' in scope
 288 |     let returnedVal = callback(&callStatus)
 289 |     try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:602:25: error: cannot find 'uniffi_livekit_net_fn_clone_httpclient' in scope
 600 |     #endif
 601 |     public func uniffiCloneHandle() -> UInt64 {
 602 |         try! rustCall { uniffi_livekit_net_fn_clone_httpclient(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_clone_httpclient' in scope
 603 |     }
 604 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:613:25: error: cannot find 'uniffi_livekit_net_fn_free_httpclient' in scope
 611 |         }
 612 |
 613 |         try! rustCall { uniffi_livekit_net_fn_free_httpclient(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_free_httpclient' in scope
 614 |     }
 615 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:622:17: error: cannot find 'uniffi_livekit_net_fn_method_httpclient_request' in scope
 620 |         try await uniffiRustCallAsync(
 621 |             rustFutureFunc: {
 622 |                 uniffi_livekit_net_fn_method_httpclient_request(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_httpclient_request' in scope
 623 |                     self.uniffiCloneHandle(),
 624 |                     FfiConverterTypeHttpMethod_lower(method), FfiConverterString.lower(url), FfiConverterSequenceTypeHeader.lower(headers), FfiConverterOptionData.lower(body)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:627:23: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 625 |                 )
 626 |             },
 627 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 628 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 629 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:628:27: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 626 |             },
 627 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 628 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 629 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
 630 |             liftFunc: FfiConverterTypeHttpResponse_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:629:23: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 627 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 628 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 629 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 630 |             liftFunc: FfiConverterTypeHttpResponse_lift,
 631 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:718:5: error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_httpclient' in scope
 716 |
 717 | private func uniffiCallbackInitHttpClient() {
 718 |     uniffi_livekit_net_fn_init_callback_vtable_httpclient(UniffiCallbackInterfaceHttpClient.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_httpclient' in scope
 719 | }
 720 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:829:25: error: cannot find 'uniffi_livekit_net_fn_clone_wsclient' in scope
 827 |     #endif
 828 |     public func uniffiCloneHandle() -> UInt64 {
 829 |         try! rustCall { uniffi_livekit_net_fn_clone_wsclient(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_clone_wsclient' in scope
 830 |     }
 831 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:840:25: error: cannot find 'uniffi_livekit_net_fn_free_wsclient' in scope
 838 |         }
 839 |
 840 |         try! rustCall { uniffi_livekit_net_fn_free_wsclient(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_free_wsclient' in scope
 841 |     }
 842 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:851:17: error: cannot find 'uniffi_livekit_net_fn_method_wsclient_connect' in scope
 849 |         try await uniffiRustCallAsync(
 850 |             rustFutureFunc: {
 851 |                 uniffi_livekit_net_fn_method_wsclient_connect(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsclient_connect' in scope
 852 |                     self.uniffiCloneHandle(),
 853 |                     FfiConverterString.lower(url), FfiConverterSequenceTypeHeader.lower(headers), FfiConverterUInt64.lower(timeoutMs)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:856:23: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 854 |                 )
 855 |             },
 856 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
 857 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 858 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:857:27: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 855 |             },
 856 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 857 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
 858 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
 859 |             liftFunc: FfiConverterTypeWsConnectResult_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:858:23: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 856 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
 857 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
 858 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
 859 |             liftFunc: FfiConverterTypeWsConnectResult_lift,
 860 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:945:5: error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsclient' in scope
 943 |
 944 | private func uniffiCallbackInitWsClient() {
 945 |     uniffi_livekit_net_fn_init_callback_vtable_wsclient(UniffiCallbackInterfaceWsClient.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsclient' in scope
 946 | }
 947 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1064:25: error: cannot find 'uniffi_livekit_net_fn_clone_wsconnection' in scope
1062 |     #endif
1063 |     public func uniffiCloneHandle() -> UInt64 {
1064 |         try! rustCall { uniffi_livekit_net_fn_clone_wsconnection(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_clone_wsconnection' in scope
1065 |     }
1066 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1075:25: error: cannot find 'uniffi_livekit_net_fn_free_wsconnection' in scope
1073 |         }
1074 |
1075 |         try! rustCall { uniffi_livekit_net_fn_free_wsconnection(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_net_fn_free_wsconnection' in scope
1076 |     }
1077 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1084:17: error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_send' in scope
1082 |         try await uniffiRustCallAsync(
1083 |             rustFutureFunc: {
1084 |                 uniffi_livekit_net_fn_method_wsconnection_send(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_send' in scope
1085 |                     self.uniffiCloneHandle(),
1086 |                     FfiConverterData.lower(frame)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1089:23: error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1087 |                 )
1088 |             },
1089 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1090 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1091 |             freeFunc: ffi_livekit_net_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1090:27: error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1088 |             },
1089 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1090 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1091 |             freeFunc: ffi_livekit_net_rust_future_free_void,
1092 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1091:23: error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1089 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1090 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1091 |             freeFunc: ffi_livekit_net_rust_future_free_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1092 |             liftFunc: { $0 },
1093 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1103:17: error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_recv' in scope
1101 |         try await uniffiRustCallAsync(
1102 |             rustFutureFunc: {
1103 |                 uniffi_livekit_net_fn_method_wsconnection_recv(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_recv' in scope
1104 |                     self.uniffiCloneHandle()
1105 |                 )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1107:23: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1105 |                 )
1106 |             },
1107 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1108 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1109 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1108:27: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1106 |             },
1107 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1108 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1109 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
1110 |             liftFunc: FfiConverterOptionData.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1109:23: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1107 |             pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1108 |             completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1109 |             freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1110 |             liftFunc: FfiConverterOptionData.lift,
1111 |             errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1121:17: error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_close' in scope
1119 |         try! await uniffiRustCallAsync(
1120 |             rustFutureFunc: {
1121 |                 uniffi_livekit_net_fn_method_wsconnection_close(
     |                 `- error: cannot find 'uniffi_livekit_net_fn_method_wsconnection_close' in scope
1122 |                     self.uniffiCloneHandle()
1123 |                 )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1125:23: error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1123 |                 )
1124 |             },
1125 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_poll_void' in scope
1126 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1126:27: error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1124 |             },
1125 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1126 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_livekit_net_rust_future_complete_void' in scope
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
1128 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1127:23: error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1125 |             pollFunc: ffi_livekit_net_rust_future_poll_void,
1126 |             completeFunc: ffi_livekit_net_rust_future_complete_void,
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_free_void' in scope
1128 |             liftFunc: { $0 },
1129 |             errorHandler: nil
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1129:27: error: 'nil' requires a contextual type
1127 |             freeFunc: ffi_livekit_net_rust_future_free_void,
1128 |             liftFunc: { $0 },
1129 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1130 |         )
1131 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1287:5: error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsconnection' in scope
1285 |
1286 | private func uniffiCallbackInitWsConnection() {
1287 |     uniffi_livekit_net_fn_init_callback_vtable_wsconnection(UniffiCallbackInterfaceWsConnection.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_net_fn_init_callback_vtable_wsconnection' in scope
1288 | }
1289 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1764:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1762 |     }
1763 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
1764 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1765 |         handle: handle,
1766 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1793:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1791 |     }
1792 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
1793 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
1794 |         handle: handle,
1795 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1839:9: error: cannot find 'uniffi_livekit_net_fn_func_has_http_client' in scope
1837 | public func hasHttpClient() -> Bool {
1838 |     try! FfiConverterBool.lift(try! rustCall {
1839 |         uniffi_livekit_net_fn_func_has_http_client($0)
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_has_http_client' in scope
1840 |     })
1841 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1852:9: error: cannot find 'uniffi_livekit_net_fn_func_has_ws_client' in scope
1850 | public func hasWsClient() -> Bool {
1851 |     try! FfiConverterBool.lift(try! rustCall {
1852 |         uniffi_livekit_net_fn_func_has_ws_client($0)
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_has_ws_client' in scope
1853 |     })
1854 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1864:13: error: cannot find 'uniffi_livekit_net_fn_func_self_test_http_get' in scope
1862 |     try await uniffiRustCallAsync(
1863 |         rustFutureFunc: {
1864 |             uniffi_livekit_net_fn_func_self_test_http_get(FfiConverterString.lower(url))
     |             `- error: cannot find 'uniffi_livekit_net_fn_func_self_test_http_get' in scope
1865 |         },
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1866:19: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1864 |             uniffi_livekit_net_fn_func_self_test_http_get(FfiConverterString.lower(url))
1865 |         },
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1867 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1868 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1867:23: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1865 |         },
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1867 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1868 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
1869 |         liftFunc: FfiConverterTypeHttpResponse_lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1868:19: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1866 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1867 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1868 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1869 |         liftFunc: FfiConverterTypeHttpResponse_lift,
1870 |         errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1881:13: error: cannot find 'uniffi_livekit_net_fn_func_self_test_ws_echo' in scope
1879 |     try await uniffiRustCallAsync(
1880 |         rustFutureFunc: {
1881 |             uniffi_livekit_net_fn_func_self_test_ws_echo(FfiConverterString.lower(url), FfiConverterData.lower(payload))
     |             `- error: cannot find 'uniffi_livekit_net_fn_func_self_test_ws_echo' in scope
1882 |         },
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1883:19: error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1881 |             uniffi_livekit_net_fn_func_self_test_ws_echo(FfiConverterString.lower(url), FfiConverterData.lower(payload))
1882 |         },
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_poll_rust_buffer' in scope
1884 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1885 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1884:23: error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1882 |         },
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1884 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
     |                       `- error: cannot find 'ffi_livekit_net_rust_future_complete_rust_buffer' in scope
1885 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
1886 |         liftFunc: FfiConverterData.lift,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1885:19: error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1883 |         pollFunc: ffi_livekit_net_rust_future_poll_rust_buffer,
1884 |         completeFunc: ffi_livekit_net_rust_future_complete_rust_buffer,
1885 |         freeFunc: ffi_livekit_net_rust_future_free_rust_buffer,
     |                   `- error: cannot find 'ffi_livekit_net_rust_future_free_rust_buffer' in scope
1886 |         liftFunc: FfiConverterData.lift,
1887 |         errorHandler: FfiConverterTypeTransportError_lift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1897:9: error: cannot find 'uniffi_livekit_net_fn_func_set_http_client' in scope
1895 | public func setHttpClient(c: HttpClient) {
1896 |     try! rustCall {
1897 |         uniffi_livekit_net_fn_func_set_http_client(
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_set_http_client' in scope
1898 |             FfiConverterTypeHttpClient_lower(c), $0
1899 |         )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:1912:9: error: cannot find 'uniffi_livekit_net_fn_func_set_ws_client' in scope
1910 | public func setWsClient(c: WsClient) {
1911 |     try! rustCall {
1912 |         uniffi_livekit_net_fn_func_set_ws_client(
     |         `- error: cannot find 'uniffi_livekit_net_fn_func_set_ws_client' in scope
1913 |             FfiConverterTypeWsClient_lower(c), $0
1914 |         )
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:23:28: error: cannot find type 'RustBuffer' in scope
  21 |     }
  22 |
  23 |     static func empty() -> RustBuffer {
     |                            `- error: cannot find type 'RustBuffer' in scope
  24 |         RustBuffer(capacity: 0, len: 0, data: nil)
  25 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_net.swift:27:60: error: cannot find type 'RustBuffer' in scope
  25 |     }
  26 |
  27 |     static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
  28 |         try! rustCall { ffi_livekit_net_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
  29 |     }
[6/7] Compiling LiveKitUniFFI livekit_datatrack.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:14:19: error: cannot find type 'RustBuffer' in scope
  12 | #endif
  13 |
  14 | private extension RustBuffer {
     |                   `- error: cannot find type 'RustBuffer' in scope
  15 |     /// Allocate a new buffer, copying the contents of a `UInt8` array.
  16 |     init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:38:19: error: cannot find type 'ForeignBytes' in scope
  36 | }
  37 |
  38 | private extension ForeignBytes {
     |                   `- error: cannot find type 'ForeignBytes' in scope
  39 |     init(bufferPointer: UnsafeBufferPointer<UInt8>) {
  40 |         self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:52:22: error: cannot find type 'RustBuffer' in scope
  50 |
  51 | private extension Data {
  52 |     init(rustBuffer: RustBuffer) {
     |                      `- error: cannot find type 'RustBuffer' in scope
  53 |         self.init(
  54 |             bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:190:72: error: cannot find type 'RustBuffer' in scope
 188 | /// Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
 189 | /// Used for complex types where it's hard to write a custom lift/lower.
 190 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
 191 |
 192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:196:36: error: cannot find type 'RustBuffer' in scope
 194 |         @_documentation(visibility: private)
 195 |     #endif
 196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
     |                                    `- error: cannot find type 'RustBuffer' in scope
 197 |         var reader = createReader(data: Data(rustBuffer: buf))
 198 |         let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:209:53: error: cannot find type 'RustBuffer' in scope
 207 |         @_documentation(visibility: private)
 208 |     #endif
 209 |     public static func lower(_ value: SwiftType) -> RustBuffer {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
 210 |         var writer = createWriter()
 211 |         write(value, into: &writer)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:257:19: error: cannot find type 'RustCallStatus' in scope
 255 | private let CALL_CANCELLED: Int8 = 3
 256 |
 257 | private extension RustCallStatus {
     |                   `- error: cannot find type 'RustCallStatus' in scope
 258 |     init() {
 259 |         self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:270:60: error: cannot find type 'RustCallStatus' in scope
 268 | }
 269 |
 270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                                            `- error: cannot find type 'RustCallStatus' in scope
 271 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
 272 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:276:32: error: cannot find type 'RustBuffer' in scope
 274 |
 275 | private func rustCallWithError<T>(
 276 |     _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
     |                                `- error: cannot find type 'RustBuffer' in scope
 277 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
 278 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:277:39: error: cannot find type 'RustCallStatus' in scope
 275 | private func rustCallWithError<T>(
 276 |     _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
 277 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 278 | ) throws -> T {
 279 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:283:39: error: cannot find type 'RustCallStatus' in scope
 281 |
 282 | private func makeRustCall<T>(
 283 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 284 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
 285 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:284:21: error: cannot find type 'RustBuffer' in scope
 282 | private func makeRustCall<T>(
 283 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
 284 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 285 | ) throws -> T {
 286 |     uniffiEnsureLivekitDatatrackInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:294:17: error: cannot find type 'RustCallStatus' in scope
 292 |
 293 | private func uniffiCheckCallStatus(
 294 |     callStatus: RustCallStatus,
     |                 `- error: cannot find type 'RustCallStatus' in scope
 295 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
 296 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:295:21: error: cannot find type 'RustBuffer' in scope
 293 | private func uniffiCheckCallStatus(
 294 |     callStatus: RustCallStatus,
 295 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 296 | ) throws {
 297 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:329:38: error: cannot find type 'RustCallStatus' in scope
 327 |
 328 | private func uniffiTraitInterfaceCall<T>(
 329 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 330 |     makeCall: () throws -> T,
 331 |     writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:342:38: error: cannot find type 'RustCallStatus' in scope
 340 |
 341 | private func uniffiTraitInterfaceCallWithError<T, E>(
 342 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 343 |     makeCall: () throws -> T,
 344 |     writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:345:24: error: cannot find type 'RustBuffer' in scope
 343 |     makeCall: () throws -> T,
 344 |     writeReturn: (T) -> Void,
 345 |     lowerError: (E) -> RustBuffer
     |                        `- error: cannot find type 'RustBuffer' in scope
 346 | ) {
 347 |     do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:446:25: error: cannot find type 'RustBuffer' in scope
 444 | private struct FfiConverterString: FfiConverter {
 445 |     typealias SwiftType = String
 446 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 447 |
 448 |     static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:448:31: error: cannot find type 'RustBuffer' in scope
 446 |     typealias FfiType = RustBuffer
 447 |
 448 |     static func lift(_ value: RustBuffer) throws -> String {
     |                               `- error: cannot find type 'RustBuffer' in scope
 449 |         defer {
 450 |             value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:459:43: error: cannot find type 'RustBuffer' in scope
 457 |     }
 458 |
 459 |     static func lower(_ value: String) -> RustBuffer {
     |                                           `- error: cannot find type 'RustBuffer' in scope
 460 |         value.utf8CString.withUnsafeBufferPointer { ptr in
 461 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:444:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 442 |     @_documentation(visibility: private)
 443 | #endif
 444 | private struct FfiConverterString: FfiConverter {
     |                |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
 445 |     typealias SwiftType = String
 446 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:485:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 483 |     @_documentation(visibility: private)
 484 | #endif
 485 | private struct FfiConverterData: FfiConverterRustBuffer {
     |                |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
     |                `- note: add stubs for conformance
 486 |     typealias SwiftType = Data
 487 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:592:24: error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
 590 |     ///
 591 |     /// Store the vtable directly.
 592 |     static let vtable: UniffiVTableCallbackInterfaceDecryptionProvider = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
 593 |         uniffiFree: { (uniffiHandle: UInt64) in
 594 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:637:41: error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
 635 |     /// Rust stores this pointer for future callback invocations, so it must live
 636 |     /// for the process lifetime (not just for the init function call).
 637 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceDecryptionProvider> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceDecryptionProvider' in scope
 638 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceDecryptionProvider>.allocate(capacity: 1)
 639 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:785:24: error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
 783 |     ///
 784 |     /// Store the vtable directly.
 785 |     static let vtable: UniffiVTableCallbackInterfaceEncryptionProvider = .init(
     |                        `- error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
 786 |         uniffiFree: { (uniffiHandle: UInt64) in
 787 |             do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:828:41: error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
 826 |     /// Rust stores this pointer for future callback invocations, so it must live
 827 |     /// for the process lifetime (not just for the init function call).
 828 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceEncryptionProvider> = {
     |                                         `- error: cannot find type 'UniffiVTableCallbackInterfaceEncryptionProvider' in scope
 829 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEncryptionProvider>.allocate(capacity: 1)
 830 |         ptr.initialize(to: vtable)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:917:15: error: type 'FfiConverterTypeEncryptedPayload' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
 915 |     @_documentation(visibility: private)
 916 | #endif
 917 | public struct FfiConverterTypeEncryptedPayload: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeEncryptedPayload' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 918 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> EncryptedPayload {
 919 |         try EncryptedPayload(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:936:58: error: cannot find type 'RustBuffer' in scope
 934 |     @_documentation(visibility: private)
 935 | #endif
 936 | public func FfiConverterTypeEncryptedPayload_lift(_ buf: RustBuffer) throws -> EncryptedPayload {
     |                                                          `- error: cannot find type 'RustBuffer' in scope
 937 |     try FfiConverterTypeEncryptedPayload.lift(buf)
 938 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:943:82: error: cannot find type 'RustBuffer' in scope
 941 |     @_documentation(visibility: private)
 942 | #endif
 943 | public func FfiConverterTypeEncryptedPayload_lower(_ value: EncryptedPayload) -> RustBuffer {
     |                                                                                  `- error: cannot find type 'RustBuffer' in scope
 944 |     FfiConverterTypeEncryptedPayload.lower(value)
 945 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1021:15: error: type 'FfiConverterTypeDataTrackFrameEncoding' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1019 |     @_documentation(visibility: private)
1020 | #endif
1021 | public struct FfiConverterTypeDataTrackFrameEncoding: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeDataTrackFrameEncoding' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1022 |     typealias SwiftType = DataTrackFrameEncoding
1023 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1085:64: error: cannot find type 'RustBuffer' in scope
1083 |     @_documentation(visibility: private)
1084 | #endif
1085 | public func FfiConverterTypeDataTrackFrameEncoding_lift(_ buf: RustBuffer) throws -> DataTrackFrameEncoding {
     |                                                                `- error: cannot find type 'RustBuffer' in scope
1086 |     try FfiConverterTypeDataTrackFrameEncoding.lift(buf)
1087 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1092:94: error: cannot find type 'RustBuffer' in scope
1090 |     @_documentation(visibility: private)
1091 | #endif
1092 | public func FfiConverterTypeDataTrackFrameEncoding_lower(_ value: DataTrackFrameEncoding) -> RustBuffer {
     |                                                                                              `- error: cannot find type 'RustBuffer' in scope
1093 |     FfiConverterTypeDataTrackFrameEncoding.lower(value)
1094 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1173:15: error: type 'FfiConverterTypeDataTrackSchemaEncoding' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1171 |     @_documentation(visibility: private)
1172 | #endif
1173 | public struct FfiConverterTypeDataTrackSchemaEncoding: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeDataTrackSchemaEncoding' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1174 |     typealias SwiftType = DataTrackSchemaEncoding
1175 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1237:65: error: cannot find type 'RustBuffer' in scope
1235 |     @_documentation(visibility: private)
1236 | #endif
1237 | public func FfiConverterTypeDataTrackSchemaEncoding_lift(_ buf: RustBuffer) throws -> DataTrackSchemaEncoding {
     |                                                                 `- error: cannot find type 'RustBuffer' in scope
1238 |     try FfiConverterTypeDataTrackSchemaEncoding.lift(buf)
1239 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1244:96: error: cannot find type 'RustBuffer' in scope
1242 |     @_documentation(visibility: private)
1243 | #endif
1244 | public func FfiConverterTypeDataTrackSchemaEncoding_lower(_ value: DataTrackSchemaEncoding) -> RustBuffer {
     |                                                                                                `- error: cannot find type 'RustBuffer' in scope
1245 |     FfiConverterTypeDataTrackSchemaEncoding.lower(value)
1246 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1269:15: error: type 'FfiConverterTypeDataTrackSubscribeError' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1267 |     @_documentation(visibility: private)
1268 | #endif
1269 | public struct FfiConverterTypeDataTrackSubscribeError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeDataTrackSubscribeError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1270 |     typealias SwiftType = DataTrackSubscribeError
1271 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1312:65: error: cannot find type 'RustBuffer' in scope
1310 |     @_documentation(visibility: private)
1311 | #endif
1312 | public func FfiConverterTypeDataTrackSubscribeError_lift(_ buf: RustBuffer) throws -> DataTrackSubscribeError {
     |                                                                 `- error: cannot find type 'RustBuffer' in scope
1313 |     try FfiConverterTypeDataTrackSubscribeError.lift(buf)
1314 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1319:96: error: cannot find type 'RustBuffer' in scope
1317 |     @_documentation(visibility: private)
1318 | #endif
1319 | public func FfiConverterTypeDataTrackSubscribeError_lower(_ value: DataTrackSubscribeError) -> RustBuffer {
     |                                                                                                `- error: cannot find type 'RustBuffer' in scope
1320 |     FfiConverterTypeDataTrackSubscribeError.lower(value)
1321 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1341:15: error: type 'FfiConverterTypeDecryptionError' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1339 |     @_documentation(visibility: private)
1340 | #endif
1341 | public struct FfiConverterTypeDecryptionError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeDecryptionError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1342 |     typealias SwiftType = DecryptionError
1343 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1367:57: error: cannot find type 'RustBuffer' in scope
1365 |     @_documentation(visibility: private)
1366 | #endif
1367 | public func FfiConverterTypeDecryptionError_lift(_ buf: RustBuffer) throws -> DecryptionError {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1368 |     try FfiConverterTypeDecryptionError.lift(buf)
1369 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1374:80: error: cannot find type 'RustBuffer' in scope
1372 |     @_documentation(visibility: private)
1373 | #endif
1374 | public func FfiConverterTypeDecryptionError_lower(_ value: DecryptionError) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1375 |     FfiConverterTypeDecryptionError.lower(value)
1376 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1396:15: error: type 'FfiConverterTypeEncryptionError' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1394 |     @_documentation(visibility: private)
1395 | #endif
1396 | public struct FfiConverterTypeEncryptionError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeEncryptionError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1397 |     typealias SwiftType = EncryptionError
1398 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1422:57: error: cannot find type 'RustBuffer' in scope
1420 |     @_documentation(visibility: private)
1421 | #endif
1422 | public func FfiConverterTypeEncryptionError_lift(_ buf: RustBuffer) throws -> EncryptionError {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1423 |     try FfiConverterTypeEncryptionError.lift(buf)
1424 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1429:80: error: cannot find type 'RustBuffer' in scope
1427 |     @_documentation(visibility: private)
1428 | #endif
1429 | public func FfiConverterTypeEncryptionError_lower(_ value: EncryptionError) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1430 |     FfiConverterTypeEncryptionError.lower(value)
1431 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1495:15: error: type 'FfiConverterTypePublishError' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1493 |     @_documentation(visibility: private)
1494 | #endif
1495 | public struct FfiConverterTypePublishError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypePublishError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1496 |     typealias SwiftType = PublishError
1497 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1562:54: error: cannot find type 'RustBuffer' in scope
1560 |     @_documentation(visibility: private)
1561 | #endif
1562 | public func FfiConverterTypePublishError_lift(_ buf: RustBuffer) throws -> PublishError {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1563 |     try FfiConverterTypePublishError.lift(buf)
1564 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1569:74: error: cannot find type 'RustBuffer' in scope
1567 |     @_documentation(visibility: private)
1568 | #endif
1569 | public func FfiConverterTypePublishError_lower(_ value: PublishError) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1570 |     FfiConverterTypePublishError.lower(value)
1571 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1599:15: error: type 'FfiConverterTypePushFrameErrorReason' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
1597 |     @_documentation(visibility: private)
1598 | #endif
1599 | public struct FfiConverterTypePushFrameErrorReason: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypePushFrameErrorReason' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1600 |     typealias SwiftType = PushFrameErrorReason
1601 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1630:62: error: cannot find type 'RustBuffer' in scope
1628 |     @_documentation(visibility: private)
1629 | #endif
1630 | public func FfiConverterTypePushFrameErrorReason_lift(_ buf: RustBuffer) throws -> PushFrameErrorReason {
     |                                                              `- error: cannot find type 'RustBuffer' in scope
1631 |     try FfiConverterTypePushFrameErrorReason.lift(buf)
1632 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1637:90: error: cannot find type 'RustBuffer' in scope
1635 |     @_documentation(visibility: private)
1636 | #endif
1637 | public func FfiConverterTypePushFrameErrorReason_lower(_ value: PushFrameErrorReason) -> RustBuffer {
     |                                                                                          `- error: cannot find type 'RustBuffer' in scope
1638 |     FfiConverterTypePushFrameErrorReason.lower(value)
1639 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1659:38: error: cannot find type 'RustBuffer' in scope
1657 |     }
1658 |
1659 |     public static func lift(_ value: RustBuffer) throws -> InitializationVector {
     |                                      `- error: cannot find type 'RustBuffer' in scope
1660 |         try FfiConverterData.lift(value)
1661 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1663:64: error: cannot find type 'RustBuffer' in scope
1661 |     }
1662 |
1663 |     public static func lower(_ value: InitializationVector) -> RustBuffer {
     |                                                                `- error: cannot find type 'RustBuffer' in scope
1664 |         FfiConverterData.lower(value)
1665 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1650:15: error: type 'FfiConverterTypeInitializationVector' does not conform to protocol 'FfiConverter'
 158 | /// analogous to the Rust trait of the same name.
 159 | private protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1648 |     @_documentation(visibility: private)
1649 | #endif
1650 | public struct FfiConverterTypeInitializationVector: FfiConverter {
     |               |- error: type 'FfiConverterTypeInitializationVector' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1651 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> InitializationVector {
1652 |         try FfiConverterData.read(from: &buf)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1671:64: error: cannot find type 'RustBuffer' in scope
1669 |     @_documentation(visibility: private)
1670 | #endif
1671 | public func FfiConverterTypeInitializationVector_lift(_ value: RustBuffer) throws -> InitializationVector {
     |                                                                `- error: cannot find type 'RustBuffer' in scope
1672 |     try FfiConverterTypeInitializationVector.lift(value)
1673 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1678:90: error: cannot find type 'RustBuffer' in scope
1676 |     @_documentation(visibility: private)
1677 | #endif
1678 | public func FfiConverterTypeInitializationVector_lower(_ value: InitializationVector) -> RustBuffer {
     |                                                                                          `- error: cannot find type 'RustBuffer' in scope
1679 |     FfiConverterTypeInitializationVector.lower(value)
1680 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1694:40: error: cannot find 'ffi_livekit_datatrack_uniffi_contract_version' in scope
1692 |     let bindings_contract_version = 30
1693 |     // Get the scaffolding contract version by calling the into the dylib
1694 |     let scaffolding_contract_version = ffi_livekit_datatrack_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_livekit_datatrack_uniffi_contract_version' in scope
1695 |     if bindings_contract_version != scaffolding_contract_version {
1696 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1698:8: error: cannot find 'uniffi_livekit_datatrack_checksum_method_decryptionprovider_decrypt' in scope
1696 |         return InitializationResult.contractVersionMismatch
1697 |     }
1698 |     if uniffi_livekit_datatrack_checksum_method_decryptionprovider_decrypt() != 1225 {
     |        `- error: cannot find 'uniffi_livekit_datatrack_checksum_method_decryptionprovider_decrypt' in scope
1699 |         return InitializationResult.apiChecksumMismatch
1700 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:1701:8: error: cannot find 'uniffi_livekit_datatrack_checksum_method_encryptionprovider_encrypt' in scope
1699 |         return InitializationResult.apiChecksumMismatch
1700 |     }
1701 |     if uniffi_livekit_datatrack_checksum_method_encryptionprovider_encrypt() != 40311 {
     |        `- error: cannot find 'uniffi_livekit_datatrack_checksum_method_encryptionprovider_encrypt' in scope
1702 |         return InitializationResult.apiChecksumMismatch
1703 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:197:41: error: no exact matches in call to initializer
 195 |     #endif
 196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
 197 |         var reader = createReader(data: Data(rustBuffer: buf))
     |                                         `- error: no exact matches in call to initializer
 198 |         let value = try read(from: &reader)
 199 |         if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:271:23: error: cannot find type 'RustBuffer' in scope
 269 |
 270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 271 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
     |                       `- error: cannot find type 'RustBuffer' in scope
 272 |     return try makeRustCall(callback, errorHandler: neverThrow)
 273 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:287:22: error: cannot find 'RustCallStatus' in scope
 285 | ) throws -> T {
 286 |     uniffiEnsureLivekitDatatrackInitialized()
 287 |     var callStatus = RustCallStatus()
     |                      `- error: cannot find 'RustCallStatus' in scope
 288 |     let returnedVal = callback(&callStatus)
 289 |     try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:554:25: error: cannot find 'uniffi_livekit_datatrack_fn_clone_decryptionprovider' in scope
 552 |     #endif
 553 |     public func uniffiCloneHandle() -> UInt64 {
 554 |         try! rustCall { uniffi_livekit_datatrack_fn_clone_decryptionprovider(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_datatrack_fn_clone_decryptionprovider' in scope
 555 |     }
 556 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:565:25: error: cannot find 'uniffi_livekit_datatrack_fn_free_decryptionprovider' in scope
 563 |         }
 564 |
 565 |         try! rustCall { uniffi_livekit_datatrack_fn_free_decryptionprovider(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_datatrack_fn_free_decryptionprovider' in scope
 566 |     }
 567 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:577:13: error: cannot find 'uniffi_livekit_datatrack_fn_method_decryptionprovider_decrypt' in scope
 575 |     open func decrypt(payload: EncryptedPayload, senderIdentity: String) throws -> Bytes {
 576 |         try FfiConverterTypeBytes_lift(rustCallWithError(FfiConverterTypeDecryptionError_lift) {
 577 |             uniffi_livekit_datatrack_fn_method_decryptionprovider_decrypt(
     |             `- error: cannot find 'uniffi_livekit_datatrack_fn_method_decryptionprovider_decrypt' in scope
 578 |                 self.uniffiCloneHandle(),
 579 |                 FfiConverterTypeEncryptedPayload_lower(payload),
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:507:49: error: cannot find type 'RustBuffer' in scope
505 |     @_documentation(visibility: private)
506 | #endif
507 | public func FfiConverterTypeBytes_lift(_ value: RustBuffer) throws -> Bytes {
    |                                                 `- error: cannot find type 'RustBuffer' in scope
508 |     try FfiConverterTypeBytes.lift(value)
509 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:645:5: error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_decryptionprovider' in scope
 643 |
 644 | private func uniffiCallbackInitDecryptionProvider() {
 645 |     uniffi_livekit_datatrack_fn_init_callback_vtable_decryptionprovider(UniffiCallbackInterfaceDecryptionProvider.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_decryptionprovider' in scope
 646 | }
 647 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:752:25: error: cannot find 'uniffi_livekit_datatrack_fn_clone_encryptionprovider' in scope
 750 |     #endif
 751 |     public func uniffiCloneHandle() -> UInt64 {
 752 |         try! rustCall { uniffi_livekit_datatrack_fn_clone_encryptionprovider(self.handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_datatrack_fn_clone_encryptionprovider' in scope
 753 |     }
 754 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:763:25: error: cannot find 'uniffi_livekit_datatrack_fn_free_encryptionprovider' in scope
 761 |         }
 762 |
 763 |         try! rustCall { uniffi_livekit_datatrack_fn_free_encryptionprovider(handle, $0) }
     |                         `- error: cannot find 'uniffi_livekit_datatrack_fn_free_encryptionprovider' in scope
 764 |     }
 765 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:771:13: error: cannot find 'uniffi_livekit_datatrack_fn_method_encryptionprovider_encrypt' in scope
 769 |     open func encrypt(payload: Bytes) throws -> EncryptedPayload {
 770 |         try FfiConverterTypeEncryptedPayload_lift(rustCallWithError(FfiConverterTypeEncryptionError_lift) {
 771 |             uniffi_livekit_datatrack_fn_method_encryptionprovider_encrypt(
     |             `- error: cannot find 'uniffi_livekit_datatrack_fn_method_encryptionprovider_encrypt' in scope
 772 |                 self.uniffiCloneHandle(),
 773 |                 FfiConverterTypeBytes_lower(payload), $0
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:514:60: error: cannot find type 'RustBuffer' in scope
512 |     @_documentation(visibility: private)
513 | #endif
514 | public func FfiConverterTypeBytes_lower(_ value: Bytes) -> RustBuffer {
    |                                                            `- error: cannot find type 'RustBuffer' in scope
515 |     FfiConverterTypeBytes.lower(value)
516 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:836:5: error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_encryptionprovider' in scope
 834 |
 835 | private func uniffiCallbackInitEncryptionProvider() {
 836 |     uniffi_livekit_datatrack_fn_init_callback_vtable_encryptionprovider(UniffiCallbackInterfaceEncryptionProvider.vtablePtr)
     |     `- error: cannot find 'uniffi_livekit_datatrack_fn_init_callback_vtable_encryptionprovider' in scope
 837 | }
 838 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:23:28: error: cannot find type 'RustBuffer' in scope
  21 |     }
  22 |
  23 |     static func empty() -> RustBuffer {
     |                            `- error: cannot find type 'RustBuffer' in scope
  24 |         RustBuffer(capacity: 0, len: 0, data: nil)
  25 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_datatrack.swift:27:60: error: cannot find type 'RustBuffer' in scope
  25 |     }
  26 |
  27 |     static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
  28 |         try! rustCall { ffi_livekit_datatrack_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
  29 |     }
[7/7] Compiling LiveKitUniFFI livekit_common.swift
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:14:19: error: cannot find type 'RustBuffer' in scope
 12 | #endif
 13 |
 14 | private extension RustBuffer {
    |                   `- error: cannot find type 'RustBuffer' in scope
 15 |     /// Allocate a new buffer, copying the contents of a `UInt8` array.
 16 |     init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:38:19: error: cannot find type 'ForeignBytes' in scope
 36 | }
 37 |
 38 | private extension ForeignBytes {
    |                   `- error: cannot find type 'ForeignBytes' in scope
 39 |     init(bufferPointer: UnsafeBufferPointer<UInt8>) {
 40 |         self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:52:22: error: cannot find type 'RustBuffer' in scope
 50 |
 51 | private extension Data {
 52 |     init(rustBuffer: RustBuffer) {
    |                      `- error: cannot find type 'RustBuffer' in scope
 53 |         self.init(
 54 |             bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:190:72: error: cannot find type 'RustBuffer' in scope
188 | /// Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | /// Used for complex types where it's hard to write a custom lift/lower.
190 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
    |                                                                        `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 |         @_documentation(visibility: private)
195 |     #endif
196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
    |                                    `- error: cannot find type 'RustBuffer' in scope
197 |         var reader = createReader(data: Data(rustBuffer: buf))
198 |         let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 |         @_documentation(visibility: private)
208 |     #endif
209 |     public static func lower(_ value: SwiftType) -> RustBuffer {
    |                                                     `- error: cannot find type 'RustBuffer' in scope
210 |         var writer = createWriter()
211 |         write(value, into: &writer)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:257:19: error: cannot find type 'RustCallStatus' in scope
255 | private let CALL_CANCELLED: Int8 = 3
256 |
257 | private extension RustCallStatus {
    |                   `- error: cannot find type 'RustCallStatus' in scope
258 |     init() {
259 |         self.init(
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:270:60: error: cannot find type 'RustCallStatus' in scope
268 | }
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
    |                                                            `- error: cannot find type 'RustCallStatus' in scope
271 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
272 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:276:32: error: cannot find type 'RustBuffer' in scope
274 |
275 | private func rustCallWithError<T>(
276 |     _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
    |                                `- error: cannot find type 'RustBuffer' in scope
277 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
278 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:277:39: error: cannot find type 'RustCallStatus' in scope
275 | private func rustCallWithError<T>(
276 |     _ errorHandler: @escaping (RustBuffer) throws -> some Swift.Error,
277 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
    |                                       `- error: cannot find type 'RustCallStatus' in scope
278 | ) throws -> T {
279 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:283:39: error: cannot find type 'RustCallStatus' in scope
281 |
282 | private func makeRustCall<T>(
283 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
    |                                       `- error: cannot find type 'RustCallStatus' in scope
284 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
285 | ) throws -> T {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:284:21: error: cannot find type 'RustBuffer' in scope
282 | private func makeRustCall<T>(
283 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
284 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
    |                     `- error: cannot find type 'RustBuffer' in scope
285 | ) throws -> T {
286 |     uniffiEnsureLivekitCommonInitialized()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:294:17: error: cannot find type 'RustCallStatus' in scope
292 |
293 | private func uniffiCheckCallStatus(
294 |     callStatus: RustCallStatus,
    |                 `- error: cannot find type 'RustCallStatus' in scope
295 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
296 | ) throws {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:295:21: error: cannot find type 'RustBuffer' in scope
293 | private func uniffiCheckCallStatus(
294 |     callStatus: RustCallStatus,
295 |     errorHandler: ((RustBuffer) throws -> some Swift.Error)?
    |                     `- error: cannot find type 'RustBuffer' in scope
296 | ) throws {
297 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:329:38: error: cannot find type 'RustCallStatus' in scope
327 |
328 | private func uniffiTraitInterfaceCall<T>(
329 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
    |                                      `- error: cannot find type 'RustCallStatus' in scope
330 |     makeCall: () throws -> T,
331 |     writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:342:38: error: cannot find type 'RustCallStatus' in scope
340 |
341 | private func uniffiTraitInterfaceCallWithError<T, E>(
342 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
    |                                      `- error: cannot find type 'RustCallStatus' in scope
343 |     makeCall: () throws -> T,
344 |     writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:345:24: error: cannot find type 'RustBuffer' in scope
343 |     makeCall: () throws -> T,
344 |     writeReturn: (T) -> Void,
345 |     lowerError: (E) -> RustBuffer
    |                        `- error: cannot find type 'RustBuffer' in scope
346 | ) {
347 |     do {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:423:25: error: cannot find type 'RustBuffer' in scope
421 | private struct FfiConverterString: FfiConverter {
422 |     typealias SwiftType = String
423 |     typealias FfiType = RustBuffer
    |                         `- error: cannot find type 'RustBuffer' in scope
424 |
425 |     static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:425:31: error: cannot find type 'RustBuffer' in scope
423 |     typealias FfiType = RustBuffer
424 |
425 |     static func lift(_ value: RustBuffer) throws -> String {
    |                               `- error: cannot find type 'RustBuffer' in scope
426 |         defer {
427 |             value.deallocate()
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:436:43: error: cannot find type 'RustBuffer' in scope
434 |     }
435 |
436 |     static func lower(_ value: String) -> RustBuffer {
    |                                           `- error: cannot find type 'RustBuffer' in scope
437 |         value.utf8CString.withUnsafeBufferPointer { ptr in
438 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:421:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 |     associatedtype FfiType
    |                    `- note: protocol requires nested type 'FfiType'
161 |     associatedtype SwiftType
162 |
    :
419 |     @_documentation(visibility: private)
420 | #endif
421 | private struct FfiConverterString: FfiConverter {
    |                |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
    |                `- note: add stubs for conformance
422 |     typealias SwiftType = String
423 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:462:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 |     associatedtype FfiType
    |                    `- note: protocol requires nested type 'FfiType'
161 |     associatedtype SwiftType
162 |
    :
460 |     @_documentation(visibility: private)
461 | #endif
462 | private struct FfiConverterData: FfiConverterRustBuffer {
    |                |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
    |                `- note: add stubs for conformance
463 |     typealias SwiftType = Data
464 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:495:38: error: cannot find type 'RustBuffer' in scope
493 |     }
494 |
495 |     public static func lift(_ value: RustBuffer) throws -> Bytes {
    |                                      `- error: cannot find type 'RustBuffer' in scope
496 |         try FfiConverterData.lift(value)
497 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:499:49: error: cannot find type 'RustBuffer' in scope
497 |     }
498 |
499 |     public static func lower(_ value: Bytes) -> RustBuffer {
    |                                                 `- error: cannot find type 'RustBuffer' in scope
500 |         FfiConverterData.lower(value)
501 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:486:15: error: type 'FfiConverterTypeBytes' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 |     associatedtype FfiType
    |                    `- note: protocol requires nested type 'FfiType'
161 |     associatedtype SwiftType
    |                    `- note: protocol requires nested type 'SwiftType'
162 |
163 |     static func lift(_ value: FfiType) throws -> SwiftType
    :
484 |     @_documentation(visibility: private)
485 | #endif
486 | public struct FfiConverterTypeBytes: FfiConverter {
    |               |- error: type 'FfiConverterTypeBytes' does not conform to protocol 'FfiConverter'
    |               `- note: add stubs for conformance
487 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Bytes {
488 |         try FfiConverterData.read(from: &buf)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:507:49: error: cannot find type 'RustBuffer' in scope
505 |     @_documentation(visibility: private)
506 | #endif
507 | public func FfiConverterTypeBytes_lift(_ value: RustBuffer) throws -> Bytes {
    |                                                 `- error: cannot find type 'RustBuffer' in scope
508 |     try FfiConverterTypeBytes.lift(value)
509 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:514:60: error: cannot find type 'RustBuffer' in scope
512 |     @_documentation(visibility: private)
513 | #endif
514 | public func FfiConverterTypeBytes_lower(_ value: Bytes) -> RustBuffer {
    |                                                            `- error: cannot find type 'RustBuffer' in scope
515 |     FfiConverterTypeBytes.lower(value)
516 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:530:40: error: cannot find 'ffi_livekit_common_uniffi_contract_version' in scope
528 |     let bindings_contract_version = 30
529 |     // Get the scaffolding contract version by calling the into the dylib
530 |     let scaffolding_contract_version = ffi_livekit_common_uniffi_contract_version()
    |                                        `- error: cannot find 'ffi_livekit_common_uniffi_contract_version' in scope
531 |     if bindings_contract_version != scaffolding_contract_version {
532 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:197:41: error: no exact matches in call to initializer
195 |     #endif
196 |     public static func lift(_ buf: RustBuffer) throws -> SwiftType {
197 |         var reader = createReader(data: Data(rustBuffer: buf))
    |                                         `- error: no exact matches in call to initializer
198 |         let value = try read(from: &reader)
199 |         if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:271:23: error: cannot find type 'RustBuffer' in scope
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
271 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
    |                       `- error: cannot find type 'RustBuffer' in scope
272 |     return try makeRustCall(callback, errorHandler: neverThrow)
273 | }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:287:22: error: cannot find 'RustCallStatus' in scope
285 | ) throws -> T {
286 |     uniffiEnsureLivekitCommonInitialized()
287 |     var callStatus = RustCallStatus()
    |                      `- error: cannot find 'RustCallStatus' in scope
288 |     let returnedVal = callback(&callStatus)
289 |     try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:23:28: error: cannot find type 'RustBuffer' in scope
 21 |     }
 22 |
 23 |     static func empty() -> RustBuffer {
    |                            `- error: cannot find type 'RustBuffer' in scope
 24 |         RustBuffer(capacity: 0, len: 0, data: nil)
 25 |     }
/host/spi-builder-workspace/Sources/LiveKitUniFFI/livekit_common.swift:27:60: error: cannot find type 'RustBuffer' in scope
 25 |     }
 26 |
 27 |     static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
    |                                                            `- error: cannot find type 'RustBuffer' in scope
 28 |         try! rustCall { ffi_livekit_common_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
 29 |     }
BUILD FAILURE 6.2 wasm