The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Onde, reference main (27ebd8), with Swift 6.3 for Android on 27 Apr 2026 16:28:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ondeinference/onde-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ondeinference/onde-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 27ebd83 Update README with new badges, SDK links, and improved wording
Cloned https://github.com/ondeinference/onde-swift.git
Revision (git rev-parse @):
27ebd83d13196fff5c3cbe4c42479c048ee41e40
SUCCESS checkout https://github.com/ondeinference/onde-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ondeinference/onde-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Downloading binary artifact https://github.com/ondeinference/onde/releases/download/1.0.0/OndeFramework.xcframework.zip
[891/486463198] Downloading https://github.com/ondeinference/onde/releases/download/1.0.0/OndeFramework.xcframework.zip
Downloaded https://github.com/ondeinference/onde/releases/download/1.0.0/OndeFramework.xcframework.zip (64.31s)
Building for debugging...
[0/2] Write swift-version--4F562202D5529B1.txt
[0/2] Write sources
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Onde
/host/spi-builder-workspace/Sources/Onde/onde.swift:14:23: error: cannot find type 'RustBuffer' in scope
  12 | #endif
  13 |
  14 | fileprivate extension RustBuffer {
     |                       `- error: cannot find type 'RustBuffer' in scope
  15 |     // Allocate a new buffer, copying the contents of a `UInt8` array.
  16 |     init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/Onde/onde.swift:38:23: error: cannot find type 'ForeignBytes' in scope
  36 | }
  37 |
  38 | fileprivate extension ForeignBytes {
     |                       `- error: cannot find type 'ForeignBytes' in scope
  39 |     init(bufferPointer: UnsafeBufferPointer<UInt8>) {
  40 |         self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/Onde/onde.swift:52:22: error: cannot find type 'RustBuffer' in scope
  50 |
  51 | fileprivate extension Data {
  52 |     init(rustBuffer: RustBuffer) {
     |                      `- error: cannot find type 'RustBuffer' in scope
  53 |         self.init(
  54 |             bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/Onde/onde.swift:190:76: error: cannot find type 'RustBuffer' in scope
 188 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
 189 | // Used for complex types where it's hard to write a custom lift/lower.
 190 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
 191 |
 192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/Onde/onde.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/Onde/onde.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/Onde/onde.swift:256:23: error: cannot find type 'RustCallStatus' in scope
 254 | fileprivate let CALL_CANCELLED: Int8 = 3
 255 |
 256 | fileprivate extension RustCallStatus {
     |                       `- error: cannot find type 'RustCallStatus' in scope
 257 |     init() {
 258 |         self.init(
/host/spi-builder-workspace/Sources/Onde/onde.swift:269:60: error: cannot find type 'RustCallStatus' in scope
 267 | }
 268 |
 269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                                            `- error: cannot find type 'RustCallStatus' in scope
 270 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
 271 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/Onde/onde.swift:275:32: error: cannot find type 'RustBuffer' in scope
 273 |
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
     |                                `- error: cannot find type 'RustBuffer' in scope
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/Onde/onde.swift:276:39: error: cannot find type 'RustCallStatus' in scope
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
 278 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:281:39: error: cannot find type 'RustCallStatus' in scope
 279 |
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 282 |     errorHandler: ((RustBuffer) throws -> E)?
 283 | ) throws -> T {
/host/spi-builder-workspace/Sources/Onde/onde.swift:282:21: error: cannot find type 'RustBuffer' in scope
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
 282 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureOndeInitialized()
/host/spi-builder-workspace/Sources/Onde/onde.swift:292:17: error: cannot find type 'RustCallStatus' in scope
 290 |
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
     |                 `- error: cannot find type 'RustCallStatus' in scope
 293 |     errorHandler: ((RustBuffer) throws -> E)?
 294 | ) throws {
/host/spi-builder-workspace/Sources/Onde/onde.swift:293:21: error: cannot find type 'RustBuffer' in scope
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
 293 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 294 | ) throws {
 295 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/Onde/onde.swift:327:38: error: cannot find type 'RustCallStatus' in scope
 325 |
 326 | private func uniffiTraitInterfaceCall<T>(
 327 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 328 |     makeCall: () throws -> T,
 329 |     writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/Onde/onde.swift:340:38: error: cannot find type 'RustCallStatus' in scope
 338 |
 339 | private func uniffiTraitInterfaceCallWithError<T, E>(
 340 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:343:24: error: cannot find type 'RustBuffer' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
 343 |     lowerError: (E) -> RustBuffer
     |                        `- error: cannot find type 'RustBuffer' in scope
 344 | ) {
 345 |     do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:518:25: error: cannot find type 'RustBuffer' in scope
 516 | fileprivate struct FfiConverterString: FfiConverter {
 517 |     typealias SwiftType = String
 518 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 519 |
 520 |     public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/Onde/onde.swift:520:38: error: cannot find type 'RustBuffer' in scope
 518 |     typealias FfiType = RustBuffer
 519 |
 520 |     public static func lift(_ value: RustBuffer) throws -> String {
     |                                      `- error: cannot find type 'RustBuffer' in scope
 521 |         defer {
 522 |             value.deallocate()
/host/spi-builder-workspace/Sources/Onde/onde.swift:531:50: error: cannot find type 'RustBuffer' in scope
 529 |     }
 530 |
 531 |     public static func lower(_ value: String) -> RustBuffer {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
 532 |         return value.utf8CString.withUnsafeBufferPointer { ptr in
 533 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/Onde/onde.swift:516:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 514 | @_documentation(visibility: private)
 515 | #endif
 516 | fileprivate struct FfiConverterString: FfiConverter {
     |                    |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
 517 |     typealias SwiftType = String
 518 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/Onde/onde.swift:1130:15: error: type 'FfiConverterTypeChatMessage' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1128 | @_documentation(visibility: private)
1129 | #endif
1130 | public struct FfiConverterTypeChatMessage: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeChatMessage' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1131 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ChatMessage {
1132 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1149:53: error: cannot find type 'RustBuffer' in scope
1147 | @_documentation(visibility: private)
1148 | #endif
1149 | public func FfiConverterTypeChatMessage_lift(_ buf: RustBuffer) throws -> ChatMessage {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1150 |     return try FfiConverterTypeChatMessage.lift(buf)
1151 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1156:72: error: cannot find type 'RustBuffer' in scope
1154 | @_documentation(visibility: private)
1155 | #endif
1156 | public func FfiConverterTypeChatMessage_lower(_ value: ChatMessage) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1157 |     return FfiConverterTypeChatMessage.lower(value)
1158 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1211:15: error: type 'FfiConverterTypeEngineInfo' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1209 | @_documentation(visibility: private)
1210 | #endif
1211 | public struct FfiConverterTypeEngineInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeEngineInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1212 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> EngineInfo {
1213 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1234:52: error: cannot find type 'RustBuffer' in scope
1232 | @_documentation(visibility: private)
1233 | #endif
1234 | public func FfiConverterTypeEngineInfo_lift(_ buf: RustBuffer) throws -> EngineInfo {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1235 |     return try FfiConverterTypeEngineInfo.lift(buf)
1236 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1241:70: error: cannot find type 'RustBuffer' in scope
1239 | @_documentation(visibility: private)
1240 | #endif
1241 | public func FfiConverterTypeEngineInfo_lower(_ value: EngineInfo) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1242 |     return FfiConverterTypeEngineInfo.lower(value)
1243 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1326:15: error: type 'FfiConverterTypeGgufModelConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1324 | @_documentation(visibility: private)
1325 | #endif
1326 | public struct FfiConverterTypeGgufModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeGgufModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1327 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> GgufModelConfig {
1328 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1353:57: error: cannot find type 'RustBuffer' in scope
1351 | @_documentation(visibility: private)
1352 | #endif
1353 | public func FfiConverterTypeGgufModelConfig_lift(_ buf: RustBuffer) throws -> GgufModelConfig {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1354 |     return try FfiConverterTypeGgufModelConfig.lift(buf)
1355 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1360:80: error: cannot find type 'RustBuffer' in scope
1358 | @_documentation(visibility: private)
1359 | #endif
1360 | public func FfiConverterTypeGgufModelConfig_lower(_ value: GgufModelConfig) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1361 |     return FfiConverterTypeGgufModelConfig.lower(value)
1362 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1427:15: error: type 'FfiConverterTypeInferenceResult' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1425 | @_documentation(visibility: private)
1426 | #endif
1427 | public struct FfiConverterTypeInferenceResult: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeInferenceResult' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1428 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> InferenceResult {
1429 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1452:57: error: cannot find type 'RustBuffer' in scope
1450 | @_documentation(visibility: private)
1451 | #endif
1452 | public func FfiConverterTypeInferenceResult_lift(_ buf: RustBuffer) throws -> InferenceResult {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1453 |     return try FfiConverterTypeInferenceResult.lift(buf)
1454 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1459:80: error: cannot find type 'RustBuffer' in scope
1457 | @_documentation(visibility: private)
1458 | #endif
1459 | public func FfiConverterTypeInferenceResult_lower(_ value: InferenceResult) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1460 |     return FfiConverterTypeInferenceResult.lower(value)
1461 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1531:15: error: type 'FfiConverterTypeIsqModelConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1529 | @_documentation(visibility: private)
1530 | #endif
1531 | public struct FfiConverterTypeIsqModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeIsqModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1532 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> IsqModelConfig {
1533 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1554:56: error: cannot find type 'RustBuffer' in scope
1552 | @_documentation(visibility: private)
1553 | #endif
1554 | public func FfiConverterTypeIsqModelConfig_lift(_ buf: RustBuffer) throws -> IsqModelConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1555 |     return try FfiConverterTypeIsqModelConfig.lift(buf)
1556 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1561:78: error: cannot find type 'RustBuffer' in scope
1559 | @_documentation(visibility: private)
1560 | #endif
1561 | public func FfiConverterTypeIsqModelConfig_lower(_ value: IsqModelConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1562 |     return FfiConverterTypeIsqModelConfig.lower(value)
1563 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1648:15: error: type 'FfiConverterTypeSamplingConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1646 | @_documentation(visibility: private)
1647 | #endif
1648 | public struct FfiConverterTypeSamplingConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeSamplingConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1649 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SamplingConfig {
1650 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1677:56: error: cannot find type 'RustBuffer' in scope
1675 | @_documentation(visibility: private)
1676 | #endif
1677 | public func FfiConverterTypeSamplingConfig_lift(_ buf: RustBuffer) throws -> SamplingConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1678 |     return try FfiConverterTypeSamplingConfig.lift(buf)
1679 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1684:78: error: cannot find type 'RustBuffer' in scope
1682 | @_documentation(visibility: private)
1683 | #endif
1684 | public func FfiConverterTypeSamplingConfig_lower(_ value: SamplingConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1685 |     return FfiConverterTypeSamplingConfig.lower(value)
1686 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1735:15: error: type 'FfiConverterTypeStreamChunk' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1733 | @_documentation(visibility: private)
1734 | #endif
1735 | public struct FfiConverterTypeStreamChunk: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeStreamChunk' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1736 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> StreamChunk {
1737 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1756:53: error: cannot find type 'RustBuffer' in scope
1754 | @_documentation(visibility: private)
1755 | #endif
1756 | public func FfiConverterTypeStreamChunk_lift(_ buf: RustBuffer) throws -> StreamChunk {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1757 |     return try FfiConverterTypeStreamChunk.lift(buf)
1758 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1763:72: error: cannot find type 'RustBuffer' in scope
1761 | @_documentation(visibility: private)
1762 | #endif
1763 | public func FfiConverterTypeStreamChunk_lower(_ value: StreamChunk) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1764 |     return FfiConverterTypeStreamChunk.lower(value)
1765 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1814:15: error: type 'FfiConverterTypeToolCallInfo' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1812 | @_documentation(visibility: private)
1813 | #endif
1814 | public struct FfiConverterTypeToolCallInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeToolCallInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1815 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolCallInfo {
1816 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1835:54: error: cannot find type 'RustBuffer' in scope
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public func FfiConverterTypeToolCallInfo_lift(_ buf: RustBuffer) throws -> ToolCallInfo {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1836 |     return try FfiConverterTypeToolCallInfo.lift(buf)
1837 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1842:74: error: cannot find type 'RustBuffer' in scope
1840 | @_documentation(visibility: private)
1841 | #endif
1842 | public func FfiConverterTypeToolCallInfo_lower(_ value: ToolCallInfo) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1843 |     return FfiConverterTypeToolCallInfo.lower(value)
1844 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1893:15: error: type 'FfiConverterTypeToolDefinition' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1891 | @_documentation(visibility: private)
1892 | #endif
1893 | public struct FfiConverterTypeToolDefinition: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeToolDefinition' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1894 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolDefinition {
1895 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1914:56: error: cannot find type 'RustBuffer' in scope
1912 | @_documentation(visibility: private)
1913 | #endif
1914 | public func FfiConverterTypeToolDefinition_lift(_ buf: RustBuffer) throws -> ToolDefinition {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1915 |     return try FfiConverterTypeToolDefinition.lift(buf)
1916 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1921:78: error: cannot find type 'RustBuffer' in scope
1919 | @_documentation(visibility: private)
1920 | #endif
1921 | public func FfiConverterTypeToolDefinition_lower(_ value: ToolDefinition) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1922 |     return FfiConverterTypeToolDefinition.lower(value)
1923 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1964:15: error: type 'FfiConverterTypeToolResult' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1962 | @_documentation(visibility: private)
1963 | #endif
1964 | public struct FfiConverterTypeToolResult: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeToolResult' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1965 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolResult {
1966 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1983:52: error: cannot find type 'RustBuffer' in scope
1981 | @_documentation(visibility: private)
1982 | #endif
1983 | public func FfiConverterTypeToolResult_lift(_ buf: RustBuffer) throws -> ToolResult {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1984 |     return try FfiConverterTypeToolResult.lift(buf)
1985 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1990:70: error: cannot find type 'RustBuffer' in scope
1988 | @_documentation(visibility: private)
1989 | #endif
1990 | public func FfiConverterTypeToolResult_lower(_ value: ToolResult) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1991 |     return FfiConverterTypeToolResult.lower(value)
1992 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2023:15: error: type 'FfiConverterTypeChatRole' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2021 | @_documentation(visibility: private)
2022 | #endif
2023 | public struct FfiConverterTypeChatRole: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeChatRole' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2024 |     typealias SwiftType = ChatRole
2025 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2063:50: error: cannot find type 'RustBuffer' in scope
2061 | @_documentation(visibility: private)
2062 | #endif
2063 | public func FfiConverterTypeChatRole_lift(_ buf: RustBuffer) throws -> ChatRole {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
2064 |     return try FfiConverterTypeChatRole.lift(buf)
2065 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2070:66: error: cannot find type 'RustBuffer' in scope
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | public func FfiConverterTypeChatRole_lower(_ value: ChatRole) -> RustBuffer {
     |                                                                  `- error: cannot find type 'RustBuffer' in scope
2071 |     return FfiConverterTypeChatRole.lower(value)
2072 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2117:15: error: type 'FfiConverterTypeEngineStatus' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2115 | @_documentation(visibility: private)
2116 | #endif
2117 | public struct FfiConverterTypeEngineStatus: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeEngineStatus' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2118 |     typealias SwiftType = EngineStatus
2119 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2169:54: error: cannot find type 'RustBuffer' in scope
2167 | @_documentation(visibility: private)
2168 | #endif
2169 | public func FfiConverterTypeEngineStatus_lift(_ buf: RustBuffer) throws -> EngineStatus {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
2170 |     return try FfiConverterTypeEngineStatus.lift(buf)
2171 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2176:74: error: cannot find type 'RustBuffer' in scope
2174 | @_documentation(visibility: private)
2175 | #endif
2176 | public func FfiConverterTypeEngineStatus_lower(_ value: EngineStatus) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
2177 |     return FfiConverterTypeEngineStatus.lower(value)
2178 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2220:15: error: type 'FfiConverterTypeInferenceError' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2218 | @_documentation(visibility: private)
2219 | #endif
2220 | public struct FfiConverterTypeInferenceError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeInferenceError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2221 |     typealias SwiftType = InferenceError
2222 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2291:56: error: cannot find type 'RustBuffer' in scope
2289 | @_documentation(visibility: private)
2290 | #endif
2291 | public func FfiConverterTypeInferenceError_lift(_ buf: RustBuffer) throws -> InferenceError {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
2292 |     return try FfiConverterTypeInferenceError.lift(buf)
2293 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2298:78: error: cannot find type 'RustBuffer' in scope
2296 | @_documentation(visibility: private)
2297 | #endif
2298 | public func FfiConverterTypeInferenceError_lower(_ value: InferenceError) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
2299 |     return FfiConverterTypeInferenceError.lower(value)
2300 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2341:25: error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2339 |     // This creates 1-element array, since this seems to be the only way to construct a const
2340 |     // pointer that we can pass to the Rust code.
2341 |     static let vtable: [UniffiVTableCallbackInterfaceStreamChunkListener] = [UniffiVTableCallbackInterfaceStreamChunkListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2342 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2343 |             do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2341:78: error: cannot find 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2339 |     // This creates 1-element array, since this seems to be the only way to construct a const
2340 |     // pointer that we can pass to the Rust code.
2341 |     static let vtable: [UniffiVTableCallbackInterfaceStreamChunkListener] = [UniffiVTableCallbackInterfaceStreamChunkListener(
     |                                                                              `- error: cannot find 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2342 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2343 |             do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2358:20: error: cannot find type 'RustBuffer' in scope
2356 |         onChunk: { (
2357 |             uniffiHandle: UInt64,
2358 |             chunk: RustBuffer,
     |                    `- error: cannot find type 'RustBuffer' in scope
2359 |             uniffiOutReturn: UnsafeMutablePointer<Int8>,
2360 |             uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
/host/spi-builder-workspace/Sources/Onde/onde.swift:2360:52: error: cannot find type 'RustCallStatus' in scope
2358 |             chunk: RustBuffer,
2359 |             uniffiOutReturn: UnsafeMutablePointer<Int8>,
2360 |             uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
     |                                                    `- error: cannot find type 'RustCallStatus' in scope
2361 |         ) in
2362 |             let makeCall = {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2450:20: error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2448 | @_documentation(visibility: private)
2449 | #endif
2450 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2451 |     typealias SwiftType = UInt64?
2452 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2474:20: error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2472 | @_documentation(visibility: private)
2473 | #endif
2474 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2475 |     typealias SwiftType = Float?
2476 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2498:20: error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2496 | @_documentation(visibility: private)
2497 | #endif
2498 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2499 |     typealias SwiftType = Double?
2500 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2522:20: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2520 | @_documentation(visibility: private)
2521 | #endif
2522 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2523 |     typealias SwiftType = String?
2524 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2546:20: error: type 'FfiConverterOptionTypeSamplingConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2544 | @_documentation(visibility: private)
2545 | #endif
2546 | fileprivate struct FfiConverterOptionTypeSamplingConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeSamplingConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2547 |     typealias SwiftType = SamplingConfig?
2548 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2570:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2568 | @_documentation(visibility: private)
2569 | #endif
2570 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2571 |     typealias SwiftType = [String]
2572 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2595:20: error: type 'FfiConverterSequenceTypeChatMessage' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2593 | @_documentation(visibility: private)
2594 | #endif
2595 | fileprivate struct FfiConverterSequenceTypeChatMessage: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeChatMessage' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2596 |     typealias SwiftType = [ChatMessage]
2597 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2620:20: error: type 'FfiConverterSequenceTypeToolCallInfo' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2618 | @_documentation(visibility: private)
2619 | #endif
2620 | fileprivate struct FfiConverterSequenceTypeToolCallInfo: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeToolCallInfo' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2621 |     typealias SwiftType = [ToolCallInfo]
2622 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2648:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2646 | fileprivate func uniffiRustCallAsync<F, T>(
2647 |     rustFutureFunc: () -> UInt64,
2648 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2649 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2650 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2648:24: error: '@escaping' only applies to function types
2646 | fileprivate func uniffiRustCallAsync<F, T>(
2647 |     rustFutureFunc: () -> UInt64,
2648 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: '@escaping' only applies to function types
2649 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2650 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2649:49: error: cannot find type 'RustCallStatus' in scope
2647 |     rustFutureFunc: () -> UInt64,
2648 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
2649 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
2650 |     freeFunc: (UInt64) -> (),
2651 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Onde/onde.swift:2652:21: error: cannot find type 'RustBuffer' in scope
2650 |     freeFunc: (UInt64) -> (),
2651 |     liftFunc: (F) throws -> T,
2652 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
2653 | ) async throws -> T {
2654 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/Onde/onde.swift:2831:40: error: cannot find 'ffi_onde_uniffi_contract_version' in scope
2829 |     let bindings_contract_version = 30
2830 |     // Get the scaffolding contract version by calling the into the dylib
2831 |     let scaffolding_contract_version = ffi_onde_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_onde_uniffi_contract_version' in scope
2832 |     if bindings_contract_version != scaffolding_contract_version {
2833 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Onde/onde.swift:2835:9: error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
2833 |         return InitializationResult.contractVersionMismatch
2834 |     }
2835 |     if (uniffi_onde_checksum_func_assistant_message() != 47135) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
2836 |         return InitializationResult.apiChecksumMismatch
2837 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2838:9: error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
2836 |         return InitializationResult.apiChecksumMismatch
2837 |     }
2838 |     if (uniffi_onde_checksum_func_default_model_config() != 34766) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
2839 |         return InitializationResult.apiChecksumMismatch
2840 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2841:9: error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
2839 |         return InitializationResult.apiChecksumMismatch
2840 |     }
2841 |     if (uniffi_onde_checksum_func_default_sampling_config() != 57358) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
2842 |         return InitializationResult.apiChecksumMismatch
2843 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2844:9: error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
2842 |         return InitializationResult.apiChecksumMismatch
2843 |     }
2844 |     if (uniffi_onde_checksum_func_deterministic_sampling_config() != 3003) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
2845 |         return InitializationResult.apiChecksumMismatch
2846 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2847:9: error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
2845 |         return InitializationResult.apiChecksumMismatch
2846 |     }
2847 |     if (uniffi_onde_checksum_func_mobile_sampling_config() != 46137) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
2848 |         return InitializationResult.apiChecksumMismatch
2849 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2850:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
2848 |         return InitializationResult.apiChecksumMismatch
2849 |     }
2850 |     if (uniffi_onde_checksum_func_qwen25_1_5b_config() != 41668) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
2851 |         return InitializationResult.apiChecksumMismatch
2852 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2853:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
2851 |         return InitializationResult.apiChecksumMismatch
2852 |     }
2853 |     if (uniffi_onde_checksum_func_qwen25_3b_config() != 36458) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
2854 |         return InitializationResult.apiChecksumMismatch
2855 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2856:9: error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
2854 |         return InitializationResult.apiChecksumMismatch
2855 |     }
2856 |     if (uniffi_onde_checksum_func_stream_chat_message() != 5168) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
2857 |         return InitializationResult.apiChecksumMismatch
2858 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2859:9: error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
2857 |         return InitializationResult.apiChecksumMismatch
2858 |     }
2859 |     if (uniffi_onde_checksum_func_system_message() != 55655) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
2860 |         return InitializationResult.apiChecksumMismatch
2861 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2862:9: error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
2860 |         return InitializationResult.apiChecksumMismatch
2861 |     }
2862 |     if (uniffi_onde_checksum_func_user_message() != 23108) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
2863 |         return InitializationResult.apiChecksumMismatch
2864 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2865:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
2863 |         return InitializationResult.apiChecksumMismatch
2864 |     }
2865 |     if (uniffi_onde_checksum_method_ondechatengine_clear_history() != 5662) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
2866 |         return InitializationResult.apiChecksumMismatch
2867 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2868:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
2866 |         return InitializationResult.apiChecksumMismatch
2867 |     }
2868 |     if (uniffi_onde_checksum_method_ondechatengine_clear_system_prompt() != 46275) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
2869 |         return InitializationResult.apiChecksumMismatch
2870 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2871:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
2869 |         return InitializationResult.apiChecksumMismatch
2870 |     }
2871 |     if (uniffi_onde_checksum_method_ondechatengine_generate() != 63069) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
2872 |         return InitializationResult.apiChecksumMismatch
2873 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2874:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
2872 |         return InitializationResult.apiChecksumMismatch
2873 |     }
2874 |     if (uniffi_onde_checksum_method_ondechatengine_history() != 45301) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
2875 |         return InitializationResult.apiChecksumMismatch
2876 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2877:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
2875 |         return InitializationResult.apiChecksumMismatch
2876 |     }
2877 |     if (uniffi_onde_checksum_method_ondechatengine_info() != 42415) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
2878 |         return InitializationResult.apiChecksumMismatch
2879 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2880:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
2878 |         return InitializationResult.apiChecksumMismatch
2879 |     }
2880 |     if (uniffi_onde_checksum_method_ondechatengine_is_loaded() != 59838) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
2881 |         return InitializationResult.apiChecksumMismatch
2882 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2883:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
2881 |         return InitializationResult.apiChecksumMismatch
2882 |     }
2883 |     if (uniffi_onde_checksum_method_ondechatengine_load_assigned_model() != 25824) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
2884 |         return InitializationResult.apiChecksumMismatch
2885 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2886:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
2884 |         return InitializationResult.apiChecksumMismatch
2885 |     }
2886 |     if (uniffi_onde_checksum_method_ondechatengine_load_default_model() != 32187) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
2887 |         return InitializationResult.apiChecksumMismatch
2888 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2889:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
2887 |         return InitializationResult.apiChecksumMismatch
2888 |     }
2889 |     if (uniffi_onde_checksum_method_ondechatengine_load_gguf_model() != 6873) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
2890 |         return InitializationResult.apiChecksumMismatch
2891 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2892:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
2890 |         return InitializationResult.apiChecksumMismatch
2891 |     }
2892 |     if (uniffi_onde_checksum_method_ondechatengine_push_history() != 61696) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
2893 |         return InitializationResult.apiChecksumMismatch
2894 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2895:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
2893 |         return InitializationResult.apiChecksumMismatch
2894 |     }
2895 |     if (uniffi_onde_checksum_method_ondechatengine_send_message() != 23695) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
2896 |         return InitializationResult.apiChecksumMismatch
2897 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2898:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
2896 |         return InitializationResult.apiChecksumMismatch
2897 |     }
2898 |     if (uniffi_onde_checksum_method_ondechatengine_set_sampling() != 10759) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
2899 |         return InitializationResult.apiChecksumMismatch
2900 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2901:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
2899 |         return InitializationResult.apiChecksumMismatch
2900 |     }
2901 |     if (uniffi_onde_checksum_method_ondechatengine_set_system_prompt() != 63168) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
2902 |         return InitializationResult.apiChecksumMismatch
2903 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2904:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
2902 |         return InitializationResult.apiChecksumMismatch
2903 |     }
2904 |     if (uniffi_onde_checksum_method_ondechatengine_unload_model() != 33799) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
2905 |         return InitializationResult.apiChecksumMismatch
2906 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2907:9: error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
2905 |         return InitializationResult.apiChecksumMismatch
2906 |     }
2907 |     if (uniffi_onde_checksum_constructor_ondechatengine_new() != 39683) {
     |         `- error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
2908 |         return InitializationResult.apiChecksumMismatch
2909 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2910:9: error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
2908 |         return InitializationResult.apiChecksumMismatch
2909 |     }
2910 |     if (uniffi_onde_checksum_method_streamchunklistener_on_chunk() != 33920) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
2911 |         return InitializationResult.apiChecksumMismatch
2912 |     }
[4/4] Compiling Onde onde.swift
/host/spi-builder-workspace/Sources/Onde/onde.swift:14:23: error: cannot find type 'RustBuffer' in scope
  12 | #endif
  13 |
  14 | fileprivate extension RustBuffer {
     |                       `- error: cannot find type 'RustBuffer' in scope
  15 |     // Allocate a new buffer, copying the contents of a `UInt8` array.
  16 |     init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/Onde/onde.swift:38:23: error: cannot find type 'ForeignBytes' in scope
  36 | }
  37 |
  38 | fileprivate extension ForeignBytes {
     |                       `- error: cannot find type 'ForeignBytes' in scope
  39 |     init(bufferPointer: UnsafeBufferPointer<UInt8>) {
  40 |         self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/Onde/onde.swift:52:22: error: cannot find type 'RustBuffer' in scope
  50 |
  51 | fileprivate extension Data {
  52 |     init(rustBuffer: RustBuffer) {
     |                      `- error: cannot find type 'RustBuffer' in scope
  53 |         self.init(
  54 |             bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/Onde/onde.swift:190:76: error: cannot find type 'RustBuffer' in scope
 188 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
 189 | // Used for complex types where it's hard to write a custom lift/lower.
 190 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
 191 |
 192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/Onde/onde.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/Onde/onde.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/Onde/onde.swift:256:23: error: cannot find type 'RustCallStatus' in scope
 254 | fileprivate let CALL_CANCELLED: Int8 = 3
 255 |
 256 | fileprivate extension RustCallStatus {
     |                       `- error: cannot find type 'RustCallStatus' in scope
 257 |     init() {
 258 |         self.init(
/host/spi-builder-workspace/Sources/Onde/onde.swift:269:60: error: cannot find type 'RustCallStatus' in scope
 267 | }
 268 |
 269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                                            `- error: cannot find type 'RustCallStatus' in scope
 270 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
 271 |     return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/Onde/onde.swift:275:32: error: cannot find type 'RustBuffer' in scope
 273 |
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
     |                                `- error: cannot find type 'RustBuffer' in scope
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/Onde/onde.swift:276:39: error: cannot find type 'RustCallStatus' in scope
 274 | private func rustCallWithError<T, E: Swift.Error>(
 275 |     _ errorHandler: @escaping (RustBuffer) throws -> E,
 276 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 277 |     try makeRustCall(callback, errorHandler: errorHandler)
 278 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:281:39: error: cannot find type 'RustCallStatus' in scope
 279 |
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
     |                                       `- error: cannot find type 'RustCallStatus' in scope
 282 |     errorHandler: ((RustBuffer) throws -> E)?
 283 | ) throws -> T {
/host/spi-builder-workspace/Sources/Onde/onde.swift:282:21: error: cannot find type 'RustBuffer' in scope
 280 | private func makeRustCall<T, E: Swift.Error>(
 281 |     _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
 282 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureOndeInitialized()
/host/spi-builder-workspace/Sources/Onde/onde.swift:292:17: error: cannot find type 'RustCallStatus' in scope
 290 |
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
     |                 `- error: cannot find type 'RustCallStatus' in scope
 293 |     errorHandler: ((RustBuffer) throws -> E)?
 294 | ) throws {
/host/spi-builder-workspace/Sources/Onde/onde.swift:293:21: error: cannot find type 'RustBuffer' in scope
 291 | private func uniffiCheckCallStatus<E: Swift.Error>(
 292 |     callStatus: RustCallStatus,
 293 |     errorHandler: ((RustBuffer) throws -> E)?
     |                     `- error: cannot find type 'RustBuffer' in scope
 294 | ) throws {
 295 |     switch callStatus.code {
/host/spi-builder-workspace/Sources/Onde/onde.swift:327:38: error: cannot find type 'RustCallStatus' in scope
 325 |
 326 | private func uniffiTraitInterfaceCall<T>(
 327 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 328 |     makeCall: () throws -> T,
 329 |     writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/Onde/onde.swift:340:38: error: cannot find type 'RustCallStatus' in scope
 338 |
 339 | private func uniffiTraitInterfaceCallWithError<T, E>(
 340 |     callStatus: UnsafeMutablePointer<RustCallStatus>,
     |                                      `- error: cannot find type 'RustCallStatus' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:343:24: error: cannot find type 'RustBuffer' in scope
 341 |     makeCall: () throws -> T,
 342 |     writeReturn: (T) -> (),
 343 |     lowerError: (E) -> RustBuffer
     |                        `- error: cannot find type 'RustBuffer' in scope
 344 | ) {
 345 |     do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:518:25: error: cannot find type 'RustBuffer' in scope
 516 | fileprivate struct FfiConverterString: FfiConverter {
 517 |     typealias SwiftType = String
 518 |     typealias FfiType = RustBuffer
     |                         `- error: cannot find type 'RustBuffer' in scope
 519 |
 520 |     public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/Onde/onde.swift:520:38: error: cannot find type 'RustBuffer' in scope
 518 |     typealias FfiType = RustBuffer
 519 |
 520 |     public static func lift(_ value: RustBuffer) throws -> String {
     |                                      `- error: cannot find type 'RustBuffer' in scope
 521 |         defer {
 522 |             value.deallocate()
/host/spi-builder-workspace/Sources/Onde/onde.swift:531:50: error: cannot find type 'RustBuffer' in scope
 529 |     }
 530 |
 531 |     public static func lower(_ value: String) -> RustBuffer {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
 532 |         return value.utf8CString.withUnsafeBufferPointer { ptr in
 533 |             // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/Onde/onde.swift:516:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
 514 | @_documentation(visibility: private)
 515 | #endif
 516 | fileprivate struct FfiConverterString: FfiConverter {
     |                    |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
 517 |     typealias SwiftType = String
 518 |     typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/Onde/onde.swift:1130:15: error: type 'FfiConverterTypeChatMessage' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1128 | @_documentation(visibility: private)
1129 | #endif
1130 | public struct FfiConverterTypeChatMessage: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeChatMessage' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1131 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ChatMessage {
1132 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1149:53: error: cannot find type 'RustBuffer' in scope
1147 | @_documentation(visibility: private)
1148 | #endif
1149 | public func FfiConverterTypeChatMessage_lift(_ buf: RustBuffer) throws -> ChatMessage {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1150 |     return try FfiConverterTypeChatMessage.lift(buf)
1151 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1156:72: error: cannot find type 'RustBuffer' in scope
1154 | @_documentation(visibility: private)
1155 | #endif
1156 | public func FfiConverterTypeChatMessage_lower(_ value: ChatMessage) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1157 |     return FfiConverterTypeChatMessage.lower(value)
1158 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1211:15: error: type 'FfiConverterTypeEngineInfo' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1209 | @_documentation(visibility: private)
1210 | #endif
1211 | public struct FfiConverterTypeEngineInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeEngineInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1212 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> EngineInfo {
1213 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1234:52: error: cannot find type 'RustBuffer' in scope
1232 | @_documentation(visibility: private)
1233 | #endif
1234 | public func FfiConverterTypeEngineInfo_lift(_ buf: RustBuffer) throws -> EngineInfo {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1235 |     return try FfiConverterTypeEngineInfo.lift(buf)
1236 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1241:70: error: cannot find type 'RustBuffer' in scope
1239 | @_documentation(visibility: private)
1240 | #endif
1241 | public func FfiConverterTypeEngineInfo_lower(_ value: EngineInfo) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1242 |     return FfiConverterTypeEngineInfo.lower(value)
1243 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1326:15: error: type 'FfiConverterTypeGgufModelConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1324 | @_documentation(visibility: private)
1325 | #endif
1326 | public struct FfiConverterTypeGgufModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeGgufModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1327 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> GgufModelConfig {
1328 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1353:57: error: cannot find type 'RustBuffer' in scope
1351 | @_documentation(visibility: private)
1352 | #endif
1353 | public func FfiConverterTypeGgufModelConfig_lift(_ buf: RustBuffer) throws -> GgufModelConfig {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1354 |     return try FfiConverterTypeGgufModelConfig.lift(buf)
1355 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1360:80: error: cannot find type 'RustBuffer' in scope
1358 | @_documentation(visibility: private)
1359 | #endif
1360 | public func FfiConverterTypeGgufModelConfig_lower(_ value: GgufModelConfig) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1361 |     return FfiConverterTypeGgufModelConfig.lower(value)
1362 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1427:15: error: type 'FfiConverterTypeInferenceResult' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1425 | @_documentation(visibility: private)
1426 | #endif
1427 | public struct FfiConverterTypeInferenceResult: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeInferenceResult' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1428 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> InferenceResult {
1429 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1452:57: error: cannot find type 'RustBuffer' in scope
1450 | @_documentation(visibility: private)
1451 | #endif
1452 | public func FfiConverterTypeInferenceResult_lift(_ buf: RustBuffer) throws -> InferenceResult {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1453 |     return try FfiConverterTypeInferenceResult.lift(buf)
1454 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1459:80: error: cannot find type 'RustBuffer' in scope
1457 | @_documentation(visibility: private)
1458 | #endif
1459 | public func FfiConverterTypeInferenceResult_lower(_ value: InferenceResult) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1460 |     return FfiConverterTypeInferenceResult.lower(value)
1461 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1531:15: error: type 'FfiConverterTypeIsqModelConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1529 | @_documentation(visibility: private)
1530 | #endif
1531 | public struct FfiConverterTypeIsqModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeIsqModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1532 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> IsqModelConfig {
1533 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1554:56: error: cannot find type 'RustBuffer' in scope
1552 | @_documentation(visibility: private)
1553 | #endif
1554 | public func FfiConverterTypeIsqModelConfig_lift(_ buf: RustBuffer) throws -> IsqModelConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1555 |     return try FfiConverterTypeIsqModelConfig.lift(buf)
1556 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1561:78: error: cannot find type 'RustBuffer' in scope
1559 | @_documentation(visibility: private)
1560 | #endif
1561 | public func FfiConverterTypeIsqModelConfig_lower(_ value: IsqModelConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1562 |     return FfiConverterTypeIsqModelConfig.lower(value)
1563 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1648:15: error: type 'FfiConverterTypeSamplingConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1646 | @_documentation(visibility: private)
1647 | #endif
1648 | public struct FfiConverterTypeSamplingConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeSamplingConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1649 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SamplingConfig {
1650 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1677:56: error: cannot find type 'RustBuffer' in scope
1675 | @_documentation(visibility: private)
1676 | #endif
1677 | public func FfiConverterTypeSamplingConfig_lift(_ buf: RustBuffer) throws -> SamplingConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1678 |     return try FfiConverterTypeSamplingConfig.lift(buf)
1679 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1684:78: error: cannot find type 'RustBuffer' in scope
1682 | @_documentation(visibility: private)
1683 | #endif
1684 | public func FfiConverterTypeSamplingConfig_lower(_ value: SamplingConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1685 |     return FfiConverterTypeSamplingConfig.lower(value)
1686 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1735:15: error: type 'FfiConverterTypeStreamChunk' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1733 | @_documentation(visibility: private)
1734 | #endif
1735 | public struct FfiConverterTypeStreamChunk: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeStreamChunk' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1736 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> StreamChunk {
1737 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1756:53: error: cannot find type 'RustBuffer' in scope
1754 | @_documentation(visibility: private)
1755 | #endif
1756 | public func FfiConverterTypeStreamChunk_lift(_ buf: RustBuffer) throws -> StreamChunk {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1757 |     return try FfiConverterTypeStreamChunk.lift(buf)
1758 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1763:72: error: cannot find type 'RustBuffer' in scope
1761 | @_documentation(visibility: private)
1762 | #endif
1763 | public func FfiConverterTypeStreamChunk_lower(_ value: StreamChunk) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1764 |     return FfiConverterTypeStreamChunk.lower(value)
1765 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1814:15: error: type 'FfiConverterTypeToolCallInfo' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1812 | @_documentation(visibility: private)
1813 | #endif
1814 | public struct FfiConverterTypeToolCallInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeToolCallInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1815 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolCallInfo {
1816 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1835:54: error: cannot find type 'RustBuffer' in scope
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public func FfiConverterTypeToolCallInfo_lift(_ buf: RustBuffer) throws -> ToolCallInfo {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
1836 |     return try FfiConverterTypeToolCallInfo.lift(buf)
1837 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1842:74: error: cannot find type 'RustBuffer' in scope
1840 | @_documentation(visibility: private)
1841 | #endif
1842 | public func FfiConverterTypeToolCallInfo_lower(_ value: ToolCallInfo) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
1843 |     return FfiConverterTypeToolCallInfo.lower(value)
1844 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1893:15: error: type 'FfiConverterTypeToolDefinition' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1891 | @_documentation(visibility: private)
1892 | #endif
1893 | public struct FfiConverterTypeToolDefinition: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeToolDefinition' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1894 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolDefinition {
1895 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1914:56: error: cannot find type 'RustBuffer' in scope
1912 | @_documentation(visibility: private)
1913 | #endif
1914 | public func FfiConverterTypeToolDefinition_lift(_ buf: RustBuffer) throws -> ToolDefinition {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1915 |     return try FfiConverterTypeToolDefinition.lift(buf)
1916 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1921:78: error: cannot find type 'RustBuffer' in scope
1919 | @_documentation(visibility: private)
1920 | #endif
1921 | public func FfiConverterTypeToolDefinition_lower(_ value: ToolDefinition) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1922 |     return FfiConverterTypeToolDefinition.lower(value)
1923 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1964:15: error: type 'FfiConverterTypeToolResult' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
     |                    `- note: protocol requires nested type 'SwiftType'
 162 |
 163 |     static func lift(_ value: FfiType) throws -> SwiftType
     :
1962 | @_documentation(visibility: private)
1963 | #endif
1964 | public struct FfiConverterTypeToolResult: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeToolResult' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1965 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolResult {
1966 |         return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1983:52: error: cannot find type 'RustBuffer' in scope
1981 | @_documentation(visibility: private)
1982 | #endif
1983 | public func FfiConverterTypeToolResult_lift(_ buf: RustBuffer) throws -> ToolResult {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1984 |     return try FfiConverterTypeToolResult.lift(buf)
1985 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1990:70: error: cannot find type 'RustBuffer' in scope
1988 | @_documentation(visibility: private)
1989 | #endif
1990 | public func FfiConverterTypeToolResult_lower(_ value: ToolResult) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1991 |     return FfiConverterTypeToolResult.lower(value)
1992 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2023:15: error: type 'FfiConverterTypeChatRole' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2021 | @_documentation(visibility: private)
2022 | #endif
2023 | public struct FfiConverterTypeChatRole: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeChatRole' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2024 |     typealias SwiftType = ChatRole
2025 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2063:50: error: cannot find type 'RustBuffer' in scope
2061 | @_documentation(visibility: private)
2062 | #endif
2063 | public func FfiConverterTypeChatRole_lift(_ buf: RustBuffer) throws -> ChatRole {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
2064 |     return try FfiConverterTypeChatRole.lift(buf)
2065 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2070:66: error: cannot find type 'RustBuffer' in scope
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | public func FfiConverterTypeChatRole_lower(_ value: ChatRole) -> RustBuffer {
     |                                                                  `- error: cannot find type 'RustBuffer' in scope
2071 |     return FfiConverterTypeChatRole.lower(value)
2072 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2117:15: error: type 'FfiConverterTypeEngineStatus' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2115 | @_documentation(visibility: private)
2116 | #endif
2117 | public struct FfiConverterTypeEngineStatus: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeEngineStatus' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2118 |     typealias SwiftType = EngineStatus
2119 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2169:54: error: cannot find type 'RustBuffer' in scope
2167 | @_documentation(visibility: private)
2168 | #endif
2169 | public func FfiConverterTypeEngineStatus_lift(_ buf: RustBuffer) throws -> EngineStatus {
     |                                                      `- error: cannot find type 'RustBuffer' in scope
2170 |     return try FfiConverterTypeEngineStatus.lift(buf)
2171 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2176:74: error: cannot find type 'RustBuffer' in scope
2174 | @_documentation(visibility: private)
2175 | #endif
2176 | public func FfiConverterTypeEngineStatus_lower(_ value: EngineStatus) -> RustBuffer {
     |                                                                          `- error: cannot find type 'RustBuffer' in scope
2177 |     return FfiConverterTypeEngineStatus.lower(value)
2178 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2220:15: error: type 'FfiConverterTypeInferenceError' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2218 | @_documentation(visibility: private)
2219 | #endif
2220 | public struct FfiConverterTypeInferenceError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeInferenceError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2221 |     typealias SwiftType = InferenceError
2222 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2291:56: error: cannot find type 'RustBuffer' in scope
2289 | @_documentation(visibility: private)
2290 | #endif
2291 | public func FfiConverterTypeInferenceError_lift(_ buf: RustBuffer) throws -> InferenceError {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
2292 |     return try FfiConverterTypeInferenceError.lift(buf)
2293 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2298:78: error: cannot find type 'RustBuffer' in scope
2296 | @_documentation(visibility: private)
2297 | #endif
2298 | public func FfiConverterTypeInferenceError_lower(_ value: InferenceError) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
2299 |     return FfiConverterTypeInferenceError.lower(value)
2300 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2341:25: error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2339 |     // This creates 1-element array, since this seems to be the only way to construct a const
2340 |     // pointer that we can pass to the Rust code.
2341 |     static let vtable: [UniffiVTableCallbackInterfaceStreamChunkListener] = [UniffiVTableCallbackInterfaceStreamChunkListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2342 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2343 |             do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2341:78: error: cannot find 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2339 |     // This creates 1-element array, since this seems to be the only way to construct a const
2340 |     // pointer that we can pass to the Rust code.
2341 |     static let vtable: [UniffiVTableCallbackInterfaceStreamChunkListener] = [UniffiVTableCallbackInterfaceStreamChunkListener(
     |                                                                              `- error: cannot find 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2342 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2343 |             do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2358:20: error: cannot find type 'RustBuffer' in scope
2356 |         onChunk: { (
2357 |             uniffiHandle: UInt64,
2358 |             chunk: RustBuffer,
     |                    `- error: cannot find type 'RustBuffer' in scope
2359 |             uniffiOutReturn: UnsafeMutablePointer<Int8>,
2360 |             uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
/host/spi-builder-workspace/Sources/Onde/onde.swift:2360:52: error: cannot find type 'RustCallStatus' in scope
2358 |             chunk: RustBuffer,
2359 |             uniffiOutReturn: UnsafeMutablePointer<Int8>,
2360 |             uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
     |                                                    `- error: cannot find type 'RustCallStatus' in scope
2361 |         ) in
2362 |             let makeCall = {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2450:20: error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2448 | @_documentation(visibility: private)
2449 | #endif
2450 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2451 |     typealias SwiftType = UInt64?
2452 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2474:20: error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2472 | @_documentation(visibility: private)
2473 | #endif
2474 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2475 |     typealias SwiftType = Float?
2476 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2498:20: error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2496 | @_documentation(visibility: private)
2497 | #endif
2498 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2499 |     typealias SwiftType = Double?
2500 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2522:20: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2520 | @_documentation(visibility: private)
2521 | #endif
2522 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2523 |     typealias SwiftType = String?
2524 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2546:20: error: type 'FfiConverterOptionTypeSamplingConfig' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2544 | @_documentation(visibility: private)
2545 | #endif
2546 | fileprivate struct FfiConverterOptionTypeSamplingConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeSamplingConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2547 |     typealias SwiftType = SamplingConfig?
2548 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2570:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2568 | @_documentation(visibility: private)
2569 | #endif
2570 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2571 |     typealias SwiftType = [String]
2572 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2595:20: error: type 'FfiConverterSequenceTypeChatMessage' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2593 | @_documentation(visibility: private)
2594 | #endif
2595 | fileprivate struct FfiConverterSequenceTypeChatMessage: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeChatMessage' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2596 |     typealias SwiftType = [ChatMessage]
2597 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2620:20: error: type 'FfiConverterSequenceTypeToolCallInfo' does not conform to protocol 'FfiConverter'
 158 | // analogous to the Rust trait of the same name.
 159 | fileprivate protocol FfiConverter {
 160 |     associatedtype FfiType
     |                    `- note: protocol requires nested type 'FfiType'
 161 |     associatedtype SwiftType
 162 |
     :
2618 | @_documentation(visibility: private)
2619 | #endif
2620 | fileprivate struct FfiConverterSequenceTypeToolCallInfo: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeToolCallInfo' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2621 |     typealias SwiftType = [ToolCallInfo]
2622 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2648:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2646 | fileprivate func uniffiRustCallAsync<F, T>(
2647 |     rustFutureFunc: () -> UInt64,
2648 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2649 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2650 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2648:24: error: '@escaping' only applies to function types
2646 | fileprivate func uniffiRustCallAsync<F, T>(
2647 |     rustFutureFunc: () -> UInt64,
2648 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: '@escaping' only applies to function types
2649 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2650 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2649:49: error: cannot find type 'RustCallStatus' in scope
2647 |     rustFutureFunc: () -> UInt64,
2648 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
2649 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
2650 |     freeFunc: (UInt64) -> (),
2651 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Onde/onde.swift:2652:21: error: cannot find type 'RustBuffer' in scope
2650 |     freeFunc: (UInt64) -> (),
2651 |     liftFunc: (F) throws -> T,
2652 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
2653 | ) async throws -> T {
2654 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/Onde/onde.swift:2831:40: error: cannot find 'ffi_onde_uniffi_contract_version' in scope
2829 |     let bindings_contract_version = 30
2830 |     // Get the scaffolding contract version by calling the into the dylib
2831 |     let scaffolding_contract_version = ffi_onde_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_onde_uniffi_contract_version' in scope
2832 |     if bindings_contract_version != scaffolding_contract_version {
2833 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Onde/onde.swift:2835:9: error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
2833 |         return InitializationResult.contractVersionMismatch
2834 |     }
2835 |     if (uniffi_onde_checksum_func_assistant_message() != 47135) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
2836 |         return InitializationResult.apiChecksumMismatch
2837 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2838:9: error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
2836 |         return InitializationResult.apiChecksumMismatch
2837 |     }
2838 |     if (uniffi_onde_checksum_func_default_model_config() != 34766) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
2839 |         return InitializationResult.apiChecksumMismatch
2840 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2841:9: error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
2839 |         return InitializationResult.apiChecksumMismatch
2840 |     }
2841 |     if (uniffi_onde_checksum_func_default_sampling_config() != 57358) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
2842 |         return InitializationResult.apiChecksumMismatch
2843 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2844:9: error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
2842 |         return InitializationResult.apiChecksumMismatch
2843 |     }
2844 |     if (uniffi_onde_checksum_func_deterministic_sampling_config() != 3003) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
2845 |         return InitializationResult.apiChecksumMismatch
2846 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2847:9: error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
2845 |         return InitializationResult.apiChecksumMismatch
2846 |     }
2847 |     if (uniffi_onde_checksum_func_mobile_sampling_config() != 46137) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
2848 |         return InitializationResult.apiChecksumMismatch
2849 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2850:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
2848 |         return InitializationResult.apiChecksumMismatch
2849 |     }
2850 |     if (uniffi_onde_checksum_func_qwen25_1_5b_config() != 41668) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
2851 |         return InitializationResult.apiChecksumMismatch
2852 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2853:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
2851 |         return InitializationResult.apiChecksumMismatch
2852 |     }
2853 |     if (uniffi_onde_checksum_func_qwen25_3b_config() != 36458) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
2854 |         return InitializationResult.apiChecksumMismatch
2855 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2856:9: error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
2854 |         return InitializationResult.apiChecksumMismatch
2855 |     }
2856 |     if (uniffi_onde_checksum_func_stream_chat_message() != 5168) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
2857 |         return InitializationResult.apiChecksumMismatch
2858 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2859:9: error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
2857 |         return InitializationResult.apiChecksumMismatch
2858 |     }
2859 |     if (uniffi_onde_checksum_func_system_message() != 55655) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
2860 |         return InitializationResult.apiChecksumMismatch
2861 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2862:9: error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
2860 |         return InitializationResult.apiChecksumMismatch
2861 |     }
2862 |     if (uniffi_onde_checksum_func_user_message() != 23108) {
     |         `- error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
2863 |         return InitializationResult.apiChecksumMismatch
2864 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2865:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
2863 |         return InitializationResult.apiChecksumMismatch
2864 |     }
2865 |     if (uniffi_onde_checksum_method_ondechatengine_clear_history() != 5662) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
2866 |         return InitializationResult.apiChecksumMismatch
2867 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2868:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
2866 |         return InitializationResult.apiChecksumMismatch
2867 |     }
2868 |     if (uniffi_onde_checksum_method_ondechatengine_clear_system_prompt() != 46275) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
2869 |         return InitializationResult.apiChecksumMismatch
2870 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2871:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
2869 |         return InitializationResult.apiChecksumMismatch
2870 |     }
2871 |     if (uniffi_onde_checksum_method_ondechatengine_generate() != 63069) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
2872 |         return InitializationResult.apiChecksumMismatch
2873 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2874:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
2872 |         return InitializationResult.apiChecksumMismatch
2873 |     }
2874 |     if (uniffi_onde_checksum_method_ondechatengine_history() != 45301) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
2875 |         return InitializationResult.apiChecksumMismatch
2876 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2877:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
2875 |         return InitializationResult.apiChecksumMismatch
2876 |     }
2877 |     if (uniffi_onde_checksum_method_ondechatengine_info() != 42415) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
2878 |         return InitializationResult.apiChecksumMismatch
2879 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2880:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
2878 |         return InitializationResult.apiChecksumMismatch
2879 |     }
2880 |     if (uniffi_onde_checksum_method_ondechatengine_is_loaded() != 59838) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
2881 |         return InitializationResult.apiChecksumMismatch
2882 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2883:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
2881 |         return InitializationResult.apiChecksumMismatch
2882 |     }
2883 |     if (uniffi_onde_checksum_method_ondechatengine_load_assigned_model() != 25824) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
2884 |         return InitializationResult.apiChecksumMismatch
2885 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2886:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
2884 |         return InitializationResult.apiChecksumMismatch
2885 |     }
2886 |     if (uniffi_onde_checksum_method_ondechatengine_load_default_model() != 32187) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
2887 |         return InitializationResult.apiChecksumMismatch
2888 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2889:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
2887 |         return InitializationResult.apiChecksumMismatch
2888 |     }
2889 |     if (uniffi_onde_checksum_method_ondechatengine_load_gguf_model() != 6873) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
2890 |         return InitializationResult.apiChecksumMismatch
2891 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2892:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
2890 |         return InitializationResult.apiChecksumMismatch
2891 |     }
2892 |     if (uniffi_onde_checksum_method_ondechatengine_push_history() != 61696) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
2893 |         return InitializationResult.apiChecksumMismatch
2894 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2895:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
2893 |         return InitializationResult.apiChecksumMismatch
2894 |     }
2895 |     if (uniffi_onde_checksum_method_ondechatengine_send_message() != 23695) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
2896 |         return InitializationResult.apiChecksumMismatch
2897 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2898:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
2896 |         return InitializationResult.apiChecksumMismatch
2897 |     }
2898 |     if (uniffi_onde_checksum_method_ondechatengine_set_sampling() != 10759) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
2899 |         return InitializationResult.apiChecksumMismatch
2900 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2901:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
2899 |         return InitializationResult.apiChecksumMismatch
2900 |     }
2901 |     if (uniffi_onde_checksum_method_ondechatengine_set_system_prompt() != 63168) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
2902 |         return InitializationResult.apiChecksumMismatch
2903 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2904:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
2902 |         return InitializationResult.apiChecksumMismatch
2903 |     }
2904 |     if (uniffi_onde_checksum_method_ondechatengine_unload_model() != 33799) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
2905 |         return InitializationResult.apiChecksumMismatch
2906 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2907:9: error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
2905 |         return InitializationResult.apiChecksumMismatch
2906 |     }
2907 |     if (uniffi_onde_checksum_constructor_ondechatengine_new() != 39683) {
     |         `- error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
2908 |         return InitializationResult.apiChecksumMismatch
2909 |     }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2910:9: error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
2908 |         return InitializationResult.apiChecksumMismatch
2909 |     }
2910 |     if (uniffi_onde_checksum_method_streamchunklistener_on_chunk() != 33920) {
     |         `- error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
2911 |         return InitializationResult.apiChecksumMismatch
2912 |     }
/host/spi-builder-workspace/Sources/Onde/onde.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/Onde/onde.swift:212:18: error: cannot find 'RustBuffer' in scope
 210 |           var writer = createWriter()
 211 |           write(value, into: &writer)
 212 |           return RustBuffer(bytes: writer)
     |                  `- error: cannot find 'RustBuffer' in scope
 213 |     }
 214 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:270:23: error: cannot find type 'RustBuffer' in scope
 268 |
 269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
 270 |     let neverThrow: ((RustBuffer) throws -> Never)? = nil
     |                       `- error: cannot find type 'RustBuffer' in scope
 271 |     return try makeRustCall(callback, errorHandler: neverThrow)
 272 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:285:22: error: cannot find 'RustCallStatus' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureOndeInitialized()
 285 |     var callStatus = RustCallStatus.init()
     |                      `- error: cannot find 'RustCallStatus' in scope
 286 |     let returnedVal = callback(&callStatus)
 287 |     try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/Onde/onde.swift:537:24: error: cannot find 'RustBuffer' in scope
 535 |                 // The swift string gives us a trailing null byte, we don't want it.
 536 |                 let buf = UnsafeBufferPointer(rebasing: ptr.prefix(upTo: ptr.count - 1))
 537 |                 return RustBuffer.from(buf)
     |                        `- error: cannot find 'RustBuffer' in scope
 538 |             }
 539 |         }
/host/spi-builder-workspace/Sources/Onde/onde.swift:714:32: error: cannot find 'uniffi_onde_fn_clone_ondechatengine' in scope
 712 | #endif
 713 |     public func uniffiCloneHandle() -> UInt64 {
 714 |         return try! rustCall { uniffi_onde_fn_clone_ondechatengine(self.handle, $0) }
     |                                `- error: cannot find 'uniffi_onde_fn_clone_ondechatengine' in scope
 715 |     }
 716 |     /**
/host/spi-builder-workspace/Sources/Onde/onde.swift:722:5: error: cannot find 'uniffi_onde_fn_constructor_ondechatengine_new' in scope
 720 |     let handle =
 721 |         try! rustCall() {
 722 |     uniffi_onde_fn_constructor_ondechatengine_new($0
     |     `- error: cannot find 'uniffi_onde_fn_constructor_ondechatengine_new' in scope
 723 |     )
 724 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:734:25: error: cannot find 'uniffi_onde_fn_free_ondechatengine' in scope
 732 |         }
 733 |
 734 |         try! rustCall { uniffi_onde_fn_free_ondechatengine(handle, $0) }
     |                         `- error: cannot find 'uniffi_onde_fn_free_ondechatengine' in scope
 735 |     }
 736 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:749:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_history' in scope
 747 |         try!  await uniffiRustCallAsync(
 748 |             rustFutureFunc: {
 749 |                 uniffi_onde_fn_method_ondechatengine_clear_history(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_history' in scope
 750 |                     self.uniffiCloneHandle()
 751 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:754:23: error: cannot find 'ffi_onde_rust_future_poll_u64' in scope
 752 |                 )
 753 |             },
 754 |             pollFunc: ffi_onde_rust_future_poll_u64,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_u64' in scope
 755 |             completeFunc: ffi_onde_rust_future_complete_u64,
 756 |             freeFunc: ffi_onde_rust_future_free_u64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:755:27: error: cannot find 'ffi_onde_rust_future_complete_u64' in scope
 753 |             },
 754 |             pollFunc: ffi_onde_rust_future_poll_u64,
 755 |             completeFunc: ffi_onde_rust_future_complete_u64,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_u64' in scope
 756 |             freeFunc: ffi_onde_rust_future_free_u64,
 757 |             liftFunc: FfiConverterUInt64.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:756:23: error: cannot find 'ffi_onde_rust_future_free_u64' in scope
 754 |             pollFunc: ffi_onde_rust_future_poll_u64,
 755 |             completeFunc: ffi_onde_rust_future_complete_u64,
 756 |             freeFunc: ffi_onde_rust_future_free_u64,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_u64' in scope
 757 |             liftFunc: FfiConverterUInt64.lift,
 758 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:758:27: error: 'nil' requires a contextual type
 756 |             freeFunc: ffi_onde_rust_future_free_u64,
 757 |             liftFunc: FfiConverterUInt64.lift,
 758 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 759 |
 760 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:770:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_system_prompt' in scope
 768 |         try!  await uniffiRustCallAsync(
 769 |             rustFutureFunc: {
 770 |                 uniffi_onde_fn_method_ondechatengine_clear_system_prompt(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_system_prompt' in scope
 771 |                     self.uniffiCloneHandle()
 772 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:775:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
 773 |                 )
 774 |             },
 775 |             pollFunc: ffi_onde_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
 776 |             completeFunc: ffi_onde_rust_future_complete_void,
 777 |             freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:776:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
 774 |             },
 775 |             pollFunc: ffi_onde_rust_future_poll_void,
 776 |             completeFunc: ffi_onde_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
 777 |             freeFunc: ffi_onde_rust_future_free_void,
 778 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:777:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
 775 |             pollFunc: ffi_onde_rust_future_poll_void,
 776 |             completeFunc: ffi_onde_rust_future_complete_void,
 777 |             freeFunc: ffi_onde_rust_future_free_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
 778 |             liftFunc: { $0 },
 779 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:779:27: error: 'nil' requires a contextual type
 777 |             freeFunc: ffi_onde_rust_future_free_void,
 778 |             liftFunc: { $0 },
 779 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 780 |
 781 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:794:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_generate' in scope
 792 |         try  await uniffiRustCallAsync(
 793 |             rustFutureFunc: {
 794 |                 uniffi_onde_fn_method_ondechatengine_generate(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_generate' in scope
 795 |                     self.uniffiCloneHandle(),
 796 |                     FfiConverterSequenceTypeChatMessage.lower(messages),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:799:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 797 |                 )
 798 |             },
 799 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 800 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 801 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:800:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 798 |             },
 799 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 800 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 801 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
 802 |             liftFunc: FfiConverterTypeInferenceResult_lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:801:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 799 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 800 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 801 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 802 |             liftFunc: FfiConverterTypeInferenceResult_lift,
 803 |             errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:814:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_history' in scope
 812 |         try!  await uniffiRustCallAsync(
 813 |             rustFutureFunc: {
 814 |                 uniffi_onde_fn_method_ondechatengine_history(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_history' in scope
 815 |                     self.uniffiCloneHandle()
 816 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:819:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 817 |                 )
 818 |             },
 819 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 820 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 821 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:820:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 818 |             },
 819 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 820 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 821 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
 822 |             liftFunc: FfiConverterSequenceTypeChatMessage.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:821:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 819 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 820 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 821 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 822 |             liftFunc: FfiConverterSequenceTypeChatMessage.lift,
 823 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:823:27: error: 'nil' requires a contextual type
 821 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
 822 |             liftFunc: FfiConverterSequenceTypeChatMessage.lift,
 823 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 824 |
 825 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:835:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_info' in scope
 833 |         try!  await uniffiRustCallAsync(
 834 |             rustFutureFunc: {
 835 |                 uniffi_onde_fn_method_ondechatengine_info(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_info' in scope
 836 |                     self.uniffiCloneHandle()
 837 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:840:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 838 |                 )
 839 |             },
 840 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 841 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 842 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:841:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 839 |             },
 840 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 841 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 842 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
 843 |             liftFunc: FfiConverterTypeEngineInfo_lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:842:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 840 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 841 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 842 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 843 |             liftFunc: FfiConverterTypeEngineInfo_lift,
 844 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:844:27: error: 'nil' requires a contextual type
 842 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
 843 |             liftFunc: FfiConverterTypeEngineInfo_lift,
 844 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 845 |
 846 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:856:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_is_loaded' in scope
 854 |         try!  await uniffiRustCallAsync(
 855 |             rustFutureFunc: {
 856 |                 uniffi_onde_fn_method_ondechatengine_is_loaded(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_is_loaded' in scope
 857 |                     self.uniffiCloneHandle()
 858 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:861:23: error: cannot find 'ffi_onde_rust_future_poll_i8' in scope
 859 |                 )
 860 |             },
 861 |             pollFunc: ffi_onde_rust_future_poll_i8,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_i8' in scope
 862 |             completeFunc: ffi_onde_rust_future_complete_i8,
 863 |             freeFunc: ffi_onde_rust_future_free_i8,
/host/spi-builder-workspace/Sources/Onde/onde.swift:862:27: error: cannot find 'ffi_onde_rust_future_complete_i8' in scope
 860 |             },
 861 |             pollFunc: ffi_onde_rust_future_poll_i8,
 862 |             completeFunc: ffi_onde_rust_future_complete_i8,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_i8' in scope
 863 |             freeFunc: ffi_onde_rust_future_free_i8,
 864 |             liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:863:23: error: cannot find 'ffi_onde_rust_future_free_i8' in scope
 861 |             pollFunc: ffi_onde_rust_future_poll_i8,
 862 |             completeFunc: ffi_onde_rust_future_complete_i8,
 863 |             freeFunc: ffi_onde_rust_future_free_i8,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_i8' in scope
 864 |             liftFunc: FfiConverterBool.lift,
 865 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:865:27: error: 'nil' requires a contextual type
 863 |             freeFunc: ffi_onde_rust_future_free_i8,
 864 |             liftFunc: FfiConverterBool.lift,
 865 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 866 |
 867 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:884:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_assigned_model' in scope
 882 |         try  await uniffiRustCallAsync(
 883 |             rustFutureFunc: {
 884 |                 uniffi_onde_fn_method_ondechatengine_load_assigned_model(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_assigned_model' in scope
 885 |                     self.uniffiCloneHandle(),
 886 |                     FfiConverterString.lower(appId),FfiConverterString.lower(appSecret),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:889:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
 887 |                 )
 888 |             },
 889 |             pollFunc: ffi_onde_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
 890 |             completeFunc: ffi_onde_rust_future_complete_f64,
 891 |             freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:890:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
 888 |             },
 889 |             pollFunc: ffi_onde_rust_future_poll_f64,
 890 |             completeFunc: ffi_onde_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
 891 |             freeFunc: ffi_onde_rust_future_free_f64,
 892 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:891:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
 889 |             pollFunc: ffi_onde_rust_future_poll_f64,
 890 |             completeFunc: ffi_onde_rust_future_complete_f64,
 891 |             freeFunc: ffi_onde_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
 892 |             liftFunc: FfiConverterDouble.lift,
 893 |             errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:909:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_default_model' in scope
 907 |         try  await uniffiRustCallAsync(
 908 |             rustFutureFunc: {
 909 |                 uniffi_onde_fn_method_ondechatengine_load_default_model(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_default_model' in scope
 910 |                     self.uniffiCloneHandle(),
 911 |                     FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:914:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
 912 |                 )
 913 |             },
 914 |             pollFunc: ffi_onde_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
 915 |             completeFunc: ffi_onde_rust_future_complete_f64,
 916 |             freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:915:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
 913 |             },
 914 |             pollFunc: ffi_onde_rust_future_poll_f64,
 915 |             completeFunc: ffi_onde_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
 916 |             freeFunc: ffi_onde_rust_future_free_f64,
 917 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:916:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
 914 |             pollFunc: ffi_onde_rust_future_poll_f64,
 915 |             completeFunc: ffi_onde_rust_future_complete_f64,
 916 |             freeFunc: ffi_onde_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
 917 |             liftFunc: FfiConverterDouble.lift,
 918 |             errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:933:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_gguf_model' in scope
 931 |         try  await uniffiRustCallAsync(
 932 |             rustFutureFunc: {
 933 |                 uniffi_onde_fn_method_ondechatengine_load_gguf_model(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_gguf_model' in scope
 934 |                     self.uniffiCloneHandle(),
 935 |                     FfiConverterTypeGgufModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:938:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
 936 |                 )
 937 |             },
 938 |             pollFunc: ffi_onde_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
 939 |             completeFunc: ffi_onde_rust_future_complete_f64,
 940 |             freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:939:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
 937 |             },
 938 |             pollFunc: ffi_onde_rust_future_poll_f64,
 939 |             completeFunc: ffi_onde_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
 940 |             freeFunc: ffi_onde_rust_future_free_f64,
 941 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:940:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
 938 |             pollFunc: ffi_onde_rust_future_poll_f64,
 939 |             completeFunc: ffi_onde_rust_future_complete_f64,
 940 |             freeFunc: ffi_onde_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
 941 |             liftFunc: FfiConverterDouble.lift,
 942 |             errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:953:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_push_history' in scope
 951 |         try!  await uniffiRustCallAsync(
 952 |             rustFutureFunc: {
 953 |                 uniffi_onde_fn_method_ondechatengine_push_history(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_push_history' in scope
 954 |                     self.uniffiCloneHandle(),
 955 |                     FfiConverterTypeChatMessage_lower(message)
/host/spi-builder-workspace/Sources/Onde/onde.swift:958:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
 956 |                 )
 957 |             },
 958 |             pollFunc: ffi_onde_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
 959 |             completeFunc: ffi_onde_rust_future_complete_void,
 960 |             freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:959:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
 957 |             },
 958 |             pollFunc: ffi_onde_rust_future_poll_void,
 959 |             completeFunc: ffi_onde_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
 960 |             freeFunc: ffi_onde_rust_future_free_void,
 961 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:960:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
 958 |             pollFunc: ffi_onde_rust_future_poll_void,
 959 |             completeFunc: ffi_onde_rust_future_complete_void,
 960 |             freeFunc: ffi_onde_rust_future_free_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
 961 |             liftFunc: { $0 },
 962 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:962:27: error: 'nil' requires a contextual type
 960 |             freeFunc: ffi_onde_rust_future_free_void,
 961 |             liftFunc: { $0 },
 962 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 963 |
 964 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:977:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_send_message' in scope
 975 |         try  await uniffiRustCallAsync(
 976 |             rustFutureFunc: {
 977 |                 uniffi_onde_fn_method_ondechatengine_send_message(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_send_message' in scope
 978 |                     self.uniffiCloneHandle(),
 979 |                     FfiConverterString.lower(message)
/host/spi-builder-workspace/Sources/Onde/onde.swift:982:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 980 |                 )
 981 |             },
 982 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
 983 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 984 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:983:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 981 |             },
 982 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 983 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
 984 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
 985 |             liftFunc: FfiConverterTypeInferenceResult_lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:984:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 982 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
 983 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
 984 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
 985 |             liftFunc: FfiConverterTypeInferenceResult_lift,
 986 |             errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:997:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_sampling' in scope
 995 |         try!  await uniffiRustCallAsync(
 996 |             rustFutureFunc: {
 997 |                 uniffi_onde_fn_method_ondechatengine_set_sampling(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_sampling' in scope
 998 |                     self.uniffiCloneHandle(),
 999 |                     FfiConverterTypeSamplingConfig_lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:1002:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1000 |                 )
1001 |             },
1002 |             pollFunc: ffi_onde_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1003 |             completeFunc: ffi_onde_rust_future_complete_void,
1004 |             freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1003:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1001 |             },
1002 |             pollFunc: ffi_onde_rust_future_poll_void,
1003 |             completeFunc: ffi_onde_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1004 |             freeFunc: ffi_onde_rust_future_free_void,
1005 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:1004:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
1002 |             pollFunc: ffi_onde_rust_future_poll_void,
1003 |             completeFunc: ffi_onde_rust_future_complete_void,
1004 |             freeFunc: ffi_onde_rust_future_free_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
1005 |             liftFunc: { $0 },
1006 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1006:27: error: 'nil' requires a contextual type
1004 |             freeFunc: ffi_onde_rust_future_free_void,
1005 |             liftFunc: { $0 },
1006 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1007 |
1008 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:1018:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_system_prompt' in scope
1016 |         try!  await uniffiRustCallAsync(
1017 |             rustFutureFunc: {
1018 |                 uniffi_onde_fn_method_ondechatengine_set_system_prompt(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_system_prompt' in scope
1019 |                     self.uniffiCloneHandle(),
1020 |                     FfiConverterString.lower(prompt)
/host/spi-builder-workspace/Sources/Onde/onde.swift:1023:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1021 |                 )
1022 |             },
1023 |             pollFunc: ffi_onde_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1024 |             completeFunc: ffi_onde_rust_future_complete_void,
1025 |             freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1024:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1022 |             },
1023 |             pollFunc: ffi_onde_rust_future_poll_void,
1024 |             completeFunc: ffi_onde_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1025 |             freeFunc: ffi_onde_rust_future_free_void,
1026 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:1025:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
1023 |             pollFunc: ffi_onde_rust_future_poll_void,
1024 |             completeFunc: ffi_onde_rust_future_complete_void,
1025 |             freeFunc: ffi_onde_rust_future_free_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
1026 |             liftFunc: { $0 },
1027 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1027:27: error: 'nil' requires a contextual type
1025 |             freeFunc: ffi_onde_rust_future_free_void,
1026 |             liftFunc: { $0 },
1027 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1028 |
1029 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:1042:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_unload_model' in scope
1040 |         try!  await uniffiRustCallAsync(
1041 |             rustFutureFunc: {
1042 |                 uniffi_onde_fn_method_ondechatengine_unload_model(
     |                 `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_unload_model' in scope
1043 |                     self.uniffiCloneHandle()
1044 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:1047:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
1045 |                 )
1046 |             },
1047 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
1048 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
1049 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1048:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
1046 |             },
1047 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
1048 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
1049 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
1050 |             liftFunc: FfiConverterOptionString.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1049:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
1047 |             pollFunc: ffi_onde_rust_future_poll_rust_buffer,
1048 |             completeFunc: ffi_onde_rust_future_complete_rust_buffer,
1049 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
1050 |             liftFunc: FfiConverterOptionString.lift,
1051 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1051:27: error: 'nil' requires a contextual type
1049 |             freeFunc: ffi_onde_rust_future_free_rust_buffer,
1050 |             liftFunc: FfiConverterOptionString.lift,
1051 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1052 |
1053 |         )
/host/spi-builder-workspace/Sources/Onde/onde.swift:2384:5: error: cannot find 'uniffi_onde_fn_init_callback_vtable_streamchunklistener' in scope
2382 |
2383 | private func uniffiCallbackInitStreamChunkListener() {
2384 |     uniffi_onde_fn_init_callback_vtable_streamchunklistener(UniffiCallbackInterfaceStreamChunkListener.vtable)
     |     `- error: cannot find 'uniffi_onde_fn_init_callback_vtable_streamchunklistener' in scope
2385 | }
2386 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2694:5: error: cannot find 'uniffi_onde_fn_func_assistant_message' in scope
2692 | public func assistantMessage(content: String) -> ChatMessage  {
2693 |     return try!  FfiConverterTypeChatMessage_lift(try! rustCall() {
2694 |     uniffi_onde_fn_func_assistant_message(
     |     `- error: cannot find 'uniffi_onde_fn_func_assistant_message' in scope
2695 |         FfiConverterString.lower(content),$0
2696 |     )
/host/spi-builder-workspace/Sources/Onde/onde.swift:2707:5: error: cannot find 'uniffi_onde_fn_func_default_model_config' in scope
2705 | public func defaultModelConfig() -> GgufModelConfig  {
2706 |     return try!  FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2707 |     uniffi_onde_fn_func_default_model_config($0
     |     `- error: cannot find 'uniffi_onde_fn_func_default_model_config' in scope
2708 |     )
2709 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2716:5: error: cannot find 'uniffi_onde_fn_func_default_sampling_config' in scope
2714 | public func defaultSamplingConfig() -> SamplingConfig  {
2715 |     return try!  FfiConverterTypeSamplingConfig_lift(try! rustCall() {
2716 |     uniffi_onde_fn_func_default_sampling_config($0
     |     `- error: cannot find 'uniffi_onde_fn_func_default_sampling_config' in scope
2717 |     )
2718 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2725:5: error: cannot find 'uniffi_onde_fn_func_deterministic_sampling_config' in scope
2723 | public func deterministicSamplingConfig() -> SamplingConfig  {
2724 |     return try!  FfiConverterTypeSamplingConfig_lift(try! rustCall() {
2725 |     uniffi_onde_fn_func_deterministic_sampling_config($0
     |     `- error: cannot find 'uniffi_onde_fn_func_deterministic_sampling_config' in scope
2726 |     )
2727 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2734:5: error: cannot find 'uniffi_onde_fn_func_mobile_sampling_config' in scope
2732 | public func mobileSamplingConfig() -> SamplingConfig  {
2733 |     return try!  FfiConverterTypeSamplingConfig_lift(try! rustCall() {
2734 |     uniffi_onde_fn_func_mobile_sampling_config($0
     |     `- error: cannot find 'uniffi_onde_fn_func_mobile_sampling_config' in scope
2735 |     )
2736 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2743:5: error: cannot find 'uniffi_onde_fn_func_qwen25_1_5b_config' in scope
2741 | public func qwen2515bConfig() -> GgufModelConfig  {
2742 |     return try!  FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2743 |     uniffi_onde_fn_func_qwen25_1_5b_config($0
     |     `- error: cannot find 'uniffi_onde_fn_func_qwen25_1_5b_config' in scope
2744 |     )
2745 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2752:5: error: cannot find 'uniffi_onde_fn_func_qwen25_3b_config' in scope
2750 | public func qwen253bConfig() -> GgufModelConfig  {
2751 |     return try!  FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2752 |     uniffi_onde_fn_func_qwen25_3b_config($0
     |     `- error: cannot find 'uniffi_onde_fn_func_qwen25_3b_config' in scope
2753 |     )
2754 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2789:17: error: cannot find 'uniffi_onde_fn_func_stream_chat_message' in scope
2787 |         try  await uniffiRustCallAsync(
2788 |             rustFutureFunc: {
2789 |                 uniffi_onde_fn_func_stream_chat_message(FfiConverterTypeOndeChatEngine_lower(engine),FfiConverterString.lower(message),FfiConverterCallbackInterfaceStreamChunkListener_lower(listener)
     |                 `- error: cannot find 'uniffi_onde_fn_func_stream_chat_message' in scope
2790 |                 )
2791 |             },
/host/spi-builder-workspace/Sources/Onde/onde.swift:2792:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
2790 |                 )
2791 |             },
2792 |             pollFunc: ffi_onde_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
2793 |             completeFunc: ffi_onde_rust_future_complete_void,
2794 |             freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:2793:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
2791 |             },
2792 |             pollFunc: ffi_onde_rust_future_poll_void,
2793 |             completeFunc: ffi_onde_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
2794 |             freeFunc: ffi_onde_rust_future_free_void,
2795 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:2794:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
2792 |             pollFunc: ffi_onde_rust_future_poll_void,
2793 |             completeFunc: ffi_onde_rust_future_complete_void,
2794 |             freeFunc: ffi_onde_rust_future_free_void,
     |                       `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
2795 |             liftFunc: { $0 },
2796 |             errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:2804:5: error: cannot find 'uniffi_onde_fn_func_system_message' in scope
2802 | public func systemMessage(content: String) -> ChatMessage  {
2803 |     return try!  FfiConverterTypeChatMessage_lift(try! rustCall() {
2804 |     uniffi_onde_fn_func_system_message(
     |     `- error: cannot find 'uniffi_onde_fn_func_system_message' in scope
2805 |         FfiConverterString.lower(content),$0
2806 |     )
/host/spi-builder-workspace/Sources/Onde/onde.swift:2814:5: error: cannot find 'uniffi_onde_fn_func_user_message' in scope
2812 | public func userMessage(content: String) -> ChatMessage  {
2813 |     return try!  FfiConverterTypeChatMessage_lift(try! rustCall() {
2814 |     uniffi_onde_fn_func_user_message(
     |     `- error: cannot find 'uniffi_onde_fn_func_user_message' in scope
2815 |         FfiConverterString.lower(content),$0
2816 |     )
/host/spi-builder-workspace/Sources/Onde/onde.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/Onde/onde.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_onde_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
  29 |     }
BUILD FAILURE 6.3 android