Build Information
Failed to build Onde, reference 1.3.2 (16d39c), with Swift 6.2 for Wasm on 12 Oct 2026 23:34:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ondeinference/onde-swift.git
Reference: 1.3.2
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
* tag 1.3.2 -> FETCH_HEAD
HEAD is now at 16d39c9 Release 1.3.2
Cloned https://github.com/ondeinference/onde-swift.git
Revision (git rev-parse @):
16d39c9bf18fe6619d13bffaf7e06c4e60dd33c5
SUCCESS checkout https://github.com/ondeinference/onde-swift.git at 1.3.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ondeinference/onde-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Downloading binary artifact https://github.com/ondeinference/onde/releases/download/1.3.2/OndeFramework.xcframework.zip
[16375/573561213] Downloading https://github.com/ondeinference/onde/releases/download/1.3.2/OndeFramework.xcframework.zip
Downloaded https://github.com/ondeinference/onde/releases/download/1.3.2/OndeFramework.xcframework.zip (31.82s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
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:1169: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
:
1167 | @_documentation(visibility: private)
1168 | #endif
1169 | public struct FfiConverterTypeChatMessage: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeChatMessage' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1170 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ChatMessage {
1171 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1188:53: error: cannot find type 'RustBuffer' in scope
1186 | @_documentation(visibility: private)
1187 | #endif
1188 | public func FfiConverterTypeChatMessage_lift(_ buf: RustBuffer) throws -> ChatMessage {
| `- error: cannot find type 'RustBuffer' in scope
1189 | return try FfiConverterTypeChatMessage.lift(buf)
1190 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1195:72: error: cannot find type 'RustBuffer' in scope
1193 | @_documentation(visibility: private)
1194 | #endif
1195 | public func FfiConverterTypeChatMessage_lower(_ value: ChatMessage) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1196 | return FfiConverterTypeChatMessage.lower(value)
1197 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1250: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
:
1248 | @_documentation(visibility: private)
1249 | #endif
1250 | public struct FfiConverterTypeEngineInfo: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEngineInfo' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1251 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> EngineInfo {
1252 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1273:52: error: cannot find type 'RustBuffer' in scope
1271 | @_documentation(visibility: private)
1272 | #endif
1273 | public func FfiConverterTypeEngineInfo_lift(_ buf: RustBuffer) throws -> EngineInfo {
| `- error: cannot find type 'RustBuffer' in scope
1274 | return try FfiConverterTypeEngineInfo.lift(buf)
1275 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1280:70: error: cannot find type 'RustBuffer' in scope
1278 | @_documentation(visibility: private)
1279 | #endif
1280 | public func FfiConverterTypeEngineInfo_lower(_ value: EngineInfo) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1281 | return FfiConverterTypeEngineInfo.lower(value)
1282 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1365: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
:
1363 | @_documentation(visibility: private)
1364 | #endif
1365 | public struct FfiConverterTypeGgufModelConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeGgufModelConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1366 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> GgufModelConfig {
1367 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1392:57: error: cannot find type 'RustBuffer' in scope
1390 | @_documentation(visibility: private)
1391 | #endif
1392 | public func FfiConverterTypeGgufModelConfig_lift(_ buf: RustBuffer) throws -> GgufModelConfig {
| `- error: cannot find type 'RustBuffer' in scope
1393 | return try FfiConverterTypeGgufModelConfig.lift(buf)
1394 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1399:80: error: cannot find type 'RustBuffer' in scope
1397 | @_documentation(visibility: private)
1398 | #endif
1399 | public func FfiConverterTypeGgufModelConfig_lower(_ value: GgufModelConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1400 | return FfiConverterTypeGgufModelConfig.lower(value)
1401 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1466: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
:
1464 | @_documentation(visibility: private)
1465 | #endif
1466 | public struct FfiConverterTypeInferenceResult: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeInferenceResult' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1467 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> InferenceResult {
1468 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1491:57: error: cannot find type 'RustBuffer' in scope
1489 | @_documentation(visibility: private)
1490 | #endif
1491 | public func FfiConverterTypeInferenceResult_lift(_ buf: RustBuffer) throws -> InferenceResult {
| `- error: cannot find type 'RustBuffer' in scope
1492 | return try FfiConverterTypeInferenceResult.lift(buf)
1493 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1498:80: error: cannot find type 'RustBuffer' in scope
1496 | @_documentation(visibility: private)
1497 | #endif
1498 | public func FfiConverterTypeInferenceResult_lower(_ value: InferenceResult) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1499 | return FfiConverterTypeInferenceResult.lower(value)
1500 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1570: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
:
1568 | @_documentation(visibility: private)
1569 | #endif
1570 | public struct FfiConverterTypeIsqModelConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIsqModelConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1571 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> IsqModelConfig {
1572 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1593:56: error: cannot find type 'RustBuffer' in scope
1591 | @_documentation(visibility: private)
1592 | #endif
1593 | public func FfiConverterTypeIsqModelConfig_lift(_ buf: RustBuffer) throws -> IsqModelConfig {
| `- error: cannot find type 'RustBuffer' in scope
1594 | return try FfiConverterTypeIsqModelConfig.lift(buf)
1595 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1600:78: error: cannot find type 'RustBuffer' in scope
1598 | @_documentation(visibility: private)
1599 | #endif
1600 | public func FfiConverterTypeIsqModelConfig_lower(_ value: IsqModelConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1601 | return FfiConverterTypeIsqModelConfig.lower(value)
1602 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1687: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
:
1685 | @_documentation(visibility: private)
1686 | #endif
1687 | public struct FfiConverterTypeSamplingConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeSamplingConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1688 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SamplingConfig {
1689 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1716:56: error: cannot find type 'RustBuffer' in scope
1714 | @_documentation(visibility: private)
1715 | #endif
1716 | public func FfiConverterTypeSamplingConfig_lift(_ buf: RustBuffer) throws -> SamplingConfig {
| `- error: cannot find type 'RustBuffer' in scope
1717 | return try FfiConverterTypeSamplingConfig.lift(buf)
1718 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1723:78: error: cannot find type 'RustBuffer' in scope
1721 | @_documentation(visibility: private)
1722 | #endif
1723 | public func FfiConverterTypeSamplingConfig_lower(_ value: SamplingConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1724 | return FfiConverterTypeSamplingConfig.lower(value)
1725 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1774: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
:
1772 | @_documentation(visibility: private)
1773 | #endif
1774 | public struct FfiConverterTypeStreamChunk: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStreamChunk' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1775 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> StreamChunk {
1776 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1795:53: error: cannot find type 'RustBuffer' in scope
1793 | @_documentation(visibility: private)
1794 | #endif
1795 | public func FfiConverterTypeStreamChunk_lift(_ buf: RustBuffer) throws -> StreamChunk {
| `- error: cannot find type 'RustBuffer' in scope
1796 | return try FfiConverterTypeStreamChunk.lift(buf)
1797 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1802:72: error: cannot find type 'RustBuffer' in scope
1800 | @_documentation(visibility: private)
1801 | #endif
1802 | public func FfiConverterTypeStreamChunk_lower(_ value: StreamChunk) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1803 | return FfiConverterTypeStreamChunk.lower(value)
1804 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1853: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
:
1851 | @_documentation(visibility: private)
1852 | #endif
1853 | public struct FfiConverterTypeToolCallInfo: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolCallInfo' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1854 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolCallInfo {
1855 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1874:54: error: cannot find type 'RustBuffer' in scope
1872 | @_documentation(visibility: private)
1873 | #endif
1874 | public func FfiConverterTypeToolCallInfo_lift(_ buf: RustBuffer) throws -> ToolCallInfo {
| `- error: cannot find type 'RustBuffer' in scope
1875 | return try FfiConverterTypeToolCallInfo.lift(buf)
1876 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1881:74: error: cannot find type 'RustBuffer' in scope
1879 | @_documentation(visibility: private)
1880 | #endif
1881 | public func FfiConverterTypeToolCallInfo_lower(_ value: ToolCallInfo) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1882 | return FfiConverterTypeToolCallInfo.lower(value)
1883 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1932: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
:
1930 | @_documentation(visibility: private)
1931 | #endif
1932 | public struct FfiConverterTypeToolDefinition: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolDefinition' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1933 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolDefinition {
1934 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1953:56: error: cannot find type 'RustBuffer' in scope
1951 | @_documentation(visibility: private)
1952 | #endif
1953 | public func FfiConverterTypeToolDefinition_lift(_ buf: RustBuffer) throws -> ToolDefinition {
| `- error: cannot find type 'RustBuffer' in scope
1954 | return try FfiConverterTypeToolDefinition.lift(buf)
1955 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1960:78: error: cannot find type 'RustBuffer' in scope
1958 | @_documentation(visibility: private)
1959 | #endif
1960 | public func FfiConverterTypeToolDefinition_lower(_ value: ToolDefinition) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1961 | return FfiConverterTypeToolDefinition.lower(value)
1962 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2003: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
:
2001 | @_documentation(visibility: private)
2002 | #endif
2003 | public struct FfiConverterTypeToolResult: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolResult' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2004 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolResult {
2005 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:2022:52: error: cannot find type 'RustBuffer' in scope
2020 | @_documentation(visibility: private)
2021 | #endif
2022 | public func FfiConverterTypeToolResult_lift(_ buf: RustBuffer) throws -> ToolResult {
| `- error: cannot find type 'RustBuffer' in scope
2023 | return try FfiConverterTypeToolResult.lift(buf)
2024 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2029:70: error: cannot find type 'RustBuffer' in scope
2027 | @_documentation(visibility: private)
2028 | #endif
2029 | public func FfiConverterTypeToolResult_lower(_ value: ToolResult) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2030 | return FfiConverterTypeToolResult.lower(value)
2031 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2118:15: error: type 'FfiConverterTypeUqffModelConfig' 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
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | public struct FfiConverterTypeUqffModelConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeUqffModelConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> UqffModelConfig {
2120 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:2143:57: error: cannot find type 'RustBuffer' in scope
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | public func FfiConverterTypeUqffModelConfig_lift(_ buf: RustBuffer) throws -> UqffModelConfig {
| `- error: cannot find type 'RustBuffer' in scope
2144 | return try FfiConverterTypeUqffModelConfig.lift(buf)
2145 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2150:80: error: cannot find type 'RustBuffer' in scope
2148 | @_documentation(visibility: private)
2149 | #endif
2150 | public func FfiConverterTypeUqffModelConfig_lower(_ value: UqffModelConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2151 | return FfiConverterTypeUqffModelConfig.lower(value)
2152 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2183: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 |
:
2181 | @_documentation(visibility: private)
2182 | #endif
2183 | public struct FfiConverterTypeChatRole: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeChatRole' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2184 | typealias SwiftType = ChatRole
2185 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2223:50: error: cannot find type 'RustBuffer' in scope
2221 | @_documentation(visibility: private)
2222 | #endif
2223 | public func FfiConverterTypeChatRole_lift(_ buf: RustBuffer) throws -> ChatRole {
| `- error: cannot find type 'RustBuffer' in scope
2224 | return try FfiConverterTypeChatRole.lift(buf)
2225 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2230:66: error: cannot find type 'RustBuffer' in scope
2228 | @_documentation(visibility: private)
2229 | #endif
2230 | public func FfiConverterTypeChatRole_lower(_ value: ChatRole) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2231 | return FfiConverterTypeChatRole.lower(value)
2232 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2277: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 |
:
2275 | @_documentation(visibility: private)
2276 | #endif
2277 | public struct FfiConverterTypeEngineStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEngineStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2278 | typealias SwiftType = EngineStatus
2279 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2329:54: error: cannot find type 'RustBuffer' in scope
2327 | @_documentation(visibility: private)
2328 | #endif
2329 | public func FfiConverterTypeEngineStatus_lift(_ buf: RustBuffer) throws -> EngineStatus {
| `- error: cannot find type 'RustBuffer' in scope
2330 | return try FfiConverterTypeEngineStatus.lift(buf)
2331 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2336:74: error: cannot find type 'RustBuffer' in scope
2334 | @_documentation(visibility: private)
2335 | #endif
2336 | public func FfiConverterTypeEngineStatus_lower(_ value: EngineStatus) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2337 | return FfiConverterTypeEngineStatus.lower(value)
2338 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2380: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 |
:
2378 | @_documentation(visibility: private)
2379 | #endif
2380 | public struct FfiConverterTypeInferenceError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeInferenceError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2381 | typealias SwiftType = InferenceError
2382 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2451:56: error: cannot find type 'RustBuffer' in scope
2449 | @_documentation(visibility: private)
2450 | #endif
2451 | public func FfiConverterTypeInferenceError_lift(_ buf: RustBuffer) throws -> InferenceError {
| `- error: cannot find type 'RustBuffer' in scope
2452 | return try FfiConverterTypeInferenceError.lift(buf)
2453 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2458:78: error: cannot find type 'RustBuffer' in scope
2456 | @_documentation(visibility: private)
2457 | #endif
2458 | public func FfiConverterTypeInferenceError_lower(_ value: InferenceError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2459 | return FfiConverterTypeInferenceError.lower(value)
2460 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2491:15: error: type 'FfiConverterTypeToolCallingSupport' 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 |
:
2489 | @_documentation(visibility: private)
2490 | #endif
2491 | public struct FfiConverterTypeToolCallingSupport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolCallingSupport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2492 | typealias SwiftType = ToolCallingSupport
2493 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2531:60: error: cannot find type 'RustBuffer' in scope
2529 | @_documentation(visibility: private)
2530 | #endif
2531 | public func FfiConverterTypeToolCallingSupport_lift(_ buf: RustBuffer) throws -> ToolCallingSupport {
| `- error: cannot find type 'RustBuffer' in scope
2532 | return try FfiConverterTypeToolCallingSupport.lift(buf)
2533 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2538:86: error: cannot find type 'RustBuffer' in scope
2536 | @_documentation(visibility: private)
2537 | #endif
2538 | public func FfiConverterTypeToolCallingSupport_lower(_ value: ToolCallingSupport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2539 | return FfiConverterTypeToolCallingSupport.lower(value)
2540 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2582:25: error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2580 | // This creates 1-element array, since this seems to be the only way to construct a const
2581 | // pointer that we can pass to the Rust code.
2582 | static let vtable: [UniffiVTableCallbackInterfaceStreamChunkListener] = [UniffiVTableCallbackInterfaceStreamChunkListener(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2583 | uniffiFree: { (uniffiHandle: UInt64) -> () in
2584 | do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2691: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 |
:
2689 | @_documentation(visibility: private)
2690 | #endif
2691 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2692 | typealias SwiftType = UInt64?
2693 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2715: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 |
:
2713 | @_documentation(visibility: private)
2714 | #endif
2715 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2716 | typealias SwiftType = Float?
2717 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2739: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 |
:
2737 | @_documentation(visibility: private)
2738 | #endif
2739 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2740 | typealias SwiftType = Double?
2741 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2763: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 |
:
2761 | @_documentation(visibility: private)
2762 | #endif
2763 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2764 | typealias SwiftType = String?
2765 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2787: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 |
:
2785 | @_documentation(visibility: private)
2786 | #endif
2787 | fileprivate struct FfiConverterOptionTypeSamplingConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSamplingConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2788 | typealias SwiftType = SamplingConfig?
2789 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2811: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 |
:
2809 | @_documentation(visibility: private)
2810 | #endif
2811 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2812 | typealias SwiftType = [String]
2813 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2836: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 |
:
2834 | @_documentation(visibility: private)
2835 | #endif
2836 | fileprivate struct FfiConverterSequenceTypeChatMessage: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeChatMessage' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2837 | typealias SwiftType = [ChatMessage]
2838 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2861: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 |
:
2859 | @_documentation(visibility: private)
2860 | #endif
2861 | fileprivate struct FfiConverterSequenceTypeToolCallInfo: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeToolCallInfo' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2862 | typealias SwiftType = [ToolCallInfo]
2863 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2889:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2887 | fileprivate func uniffiRustCallAsync<F, T>(
2888 | rustFutureFunc: () -> UInt64,
2889 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
| `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2890 | completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2891 | freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2889:24: error: @escaping attribute only applies to function types
2887 | fileprivate func uniffiRustCallAsync<F, T>(
2888 | rustFutureFunc: () -> UInt64,
2889 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
| `- error: @escaping attribute only applies to function types
2890 | completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2891 | freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2890:49: error: cannot find type 'RustCallStatus' in scope
2888 | rustFutureFunc: () -> UInt64,
2889 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
2890 | completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
| `- error: cannot find type 'RustCallStatus' in scope
2891 | freeFunc: (UInt64) -> (),
2892 | liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Onde/onde.swift:2893:21: error: cannot find type 'RustBuffer' in scope
2891 | freeFunc: (UInt64) -> (),
2892 | liftFunc: (F) throws -> T,
2893 | errorHandler: ((RustBuffer) throws -> Swift.Error)?
| `- error: cannot find type 'RustBuffer' in scope
2894 | ) async throws -> T {
2895 | // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/Onde/onde.swift:3205:40: error: cannot find 'ffi_onde_uniffi_contract_version' in scope
3203 | let bindings_contract_version = 30
3204 | // Get the scaffolding contract version by calling the into the dylib
3205 | let scaffolding_contract_version = ffi_onde_uniffi_contract_version()
| `- error: cannot find 'ffi_onde_uniffi_contract_version' in scope
3206 | if bindings_contract_version != scaffolding_contract_version {
3207 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Onde/onde.swift:3209:9: error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
3207 | return InitializationResult.contractVersionMismatch
3208 | }
3209 | if (uniffi_onde_checksum_func_assistant_message() != 47135) {
| `- error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
3210 | return InitializationResult.apiChecksumMismatch
3211 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3212:9: error: cannot find 'uniffi_onde_checksum_func_configure_cache_dir' in scope
3210 | return InitializationResult.apiChecksumMismatch
3211 | }
3212 | if (uniffi_onde_checksum_func_configure_cache_dir() != 6269) {
| `- error: cannot find 'uniffi_onde_checksum_func_configure_cache_dir' in scope
3213 | return InitializationResult.apiChecksumMismatch
3214 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3215:9: error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
3213 | return InitializationResult.apiChecksumMismatch
3214 | }
3215 | if (uniffi_onde_checksum_func_default_model_config() != 34766) {
| `- error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
3216 | return InitializationResult.apiChecksumMismatch
3217 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3218:9: error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
3216 | return InitializationResult.apiChecksumMismatch
3217 | }
3218 | if (uniffi_onde_checksum_func_default_sampling_config() != 57358) {
| `- error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
3219 | return InitializationResult.apiChecksumMismatch
3220 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3221:9: error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
3219 | return InitializationResult.apiChecksumMismatch
3220 | }
3221 | if (uniffi_onde_checksum_func_deterministic_sampling_config() != 3003) {
| `- error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
3222 | return InitializationResult.apiChecksumMismatch
3223 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3224:9: error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
3222 | return InitializationResult.apiChecksumMismatch
3223 | }
3224 | if (uniffi_onde_checksum_func_mobile_sampling_config() != 46137) {
| `- error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
3225 | return InitializationResult.apiChecksumMismatch
3226 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3227:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_0_5b_config' in scope
3225 | return InitializationResult.apiChecksumMismatch
3226 | }
3227 | if (uniffi_onde_checksum_func_qwen25_0_5b_config() != 53289) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen25_0_5b_config' in scope
3228 | return InitializationResult.apiChecksumMismatch
3229 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3230:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
3228 | return InitializationResult.apiChecksumMismatch
3229 | }
3230 | if (uniffi_onde_checksum_func_qwen25_1_5b_config() != 41668) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
3231 | return InitializationResult.apiChecksumMismatch
3232 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3233:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
3231 | return InitializationResult.apiChecksumMismatch
3232 | }
3233 | if (uniffi_onde_checksum_func_qwen25_3b_config() != 36458) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
3234 | return InitializationResult.apiChecksumMismatch
3235 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3236:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_0_6b_config' in scope
3234 | return InitializationResult.apiChecksumMismatch
3235 | }
3236 | if (uniffi_onde_checksum_func_qwen3_0_6b_config() != 20653) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_0_6b_config' in scope
3237 | return InitializationResult.apiChecksumMismatch
3238 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3239:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_14b_config' in scope
3237 | return InitializationResult.apiChecksumMismatch
3238 | }
3239 | if (uniffi_onde_checksum_func_qwen3_14b_config() != 44701) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_14b_config' in scope
3240 | return InitializationResult.apiChecksumMismatch
3241 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3242:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_1_7b_config' in scope
3240 | return InitializationResult.apiChecksumMismatch
3241 | }
3242 | if (uniffi_onde_checksum_func_qwen3_1_7b_config() != 32382) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_1_7b_config' in scope
3243 | return InitializationResult.apiChecksumMismatch
3244 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3245:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config' in scope
3243 | return InitializationResult.apiChecksumMismatch
3244 | }
3245 | if (uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config() != 55315) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config' in scope
3246 | return InitializationResult.apiChecksumMismatch
3247 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3248:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_32b_config' in scope
3246 | return InitializationResult.apiChecksumMismatch
3247 | }
3248 | if (uniffi_onde_checksum_func_qwen3_32b_config() != 20244) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_32b_config' in scope
3249 | return InitializationResult.apiChecksumMismatch
3250 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3251:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_config' in scope
3249 | return InitializationResult.apiChecksumMismatch
3250 | }
3251 | if (uniffi_onde_checksum_func_qwen3_4b_config() != 44102) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_config' in scope
3252 | return InitializationResult.apiChecksumMismatch
3253 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3254:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config' in scope
3252 | return InitializationResult.apiChecksumMismatch
3253 | }
3254 | if (uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config() != 20415) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config' in scope
3255 | return InitializationResult.apiChecksumMismatch
3256 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3257:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config' in scope
3255 | return InitializationResult.apiChecksumMismatch
3256 | }
3257 | if (uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config() != 9987) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config' in scope
3258 | return InitializationResult.apiChecksumMismatch
3259 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3260:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_8b_config' in scope
3258 | return InitializationResult.apiChecksumMismatch
3259 | }
3260 | if (uniffi_onde_checksum_func_qwen3_8b_config() != 16355) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_8b_config' in scope
3261 | return InitializationResult.apiChecksumMismatch
3262 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3263:9: error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
3261 | return InitializationResult.apiChecksumMismatch
3262 | }
3263 | if (uniffi_onde_checksum_func_stream_chat_message() != 5168) {
| `- error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
3264 | return InitializationResult.apiChecksumMismatch
3265 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3266:9: error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
3264 | return InitializationResult.apiChecksumMismatch
3265 | }
3266 | if (uniffi_onde_checksum_func_system_message() != 55655) {
| `- error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
3267 | return InitializationResult.apiChecksumMismatch
3268 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3269:9: error: cannot find 'uniffi_onde_checksum_func_uqff_model_config' in scope
3267 | return InitializationResult.apiChecksumMismatch
3268 | }
3269 | if (uniffi_onde_checksum_func_uqff_model_config() != 61694) {
| `- error: cannot find 'uniffi_onde_checksum_func_uqff_model_config' in scope
3270 | return InitializationResult.apiChecksumMismatch
3271 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3272:9: error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
3270 | return InitializationResult.apiChecksumMismatch
3271 | }
3272 | if (uniffi_onde_checksum_func_user_message() != 23108) {
| `- error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
3273 | return InitializationResult.apiChecksumMismatch
3274 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3275:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
3273 | return InitializationResult.apiChecksumMismatch
3274 | }
3275 | if (uniffi_onde_checksum_method_ondechatengine_clear_history() != 5662) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
3276 | return InitializationResult.apiChecksumMismatch
3277 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3278:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
3276 | return InitializationResult.apiChecksumMismatch
3277 | }
3278 | if (uniffi_onde_checksum_method_ondechatengine_clear_system_prompt() != 46275) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
3279 | return InitializationResult.apiChecksumMismatch
3280 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3281:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
3279 | return InitializationResult.apiChecksumMismatch
3280 | }
3281 | if (uniffi_onde_checksum_method_ondechatengine_generate() != 63069) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
3282 | return InitializationResult.apiChecksumMismatch
3283 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3284:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
3282 | return InitializationResult.apiChecksumMismatch
3283 | }
3284 | if (uniffi_onde_checksum_method_ondechatengine_history() != 45301) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
3285 | return InitializationResult.apiChecksumMismatch
3286 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3287:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
3285 | return InitializationResult.apiChecksumMismatch
3286 | }
3287 | if (uniffi_onde_checksum_method_ondechatengine_info() != 42415) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
3288 | return InitializationResult.apiChecksumMismatch
3289 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3290:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
3288 | return InitializationResult.apiChecksumMismatch
3289 | }
3290 | if (uniffi_onde_checksum_method_ondechatengine_is_loaded() != 59838) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
3291 | return InitializationResult.apiChecksumMismatch
3292 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3293:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
3291 | return InitializationResult.apiChecksumMismatch
3292 | }
3293 | if (uniffi_onde_checksum_method_ondechatengine_load_assigned_model() != 25824) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
3294 | return InitializationResult.apiChecksumMismatch
3295 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3296:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
3294 | return InitializationResult.apiChecksumMismatch
3295 | }
3296 | if (uniffi_onde_checksum_method_ondechatengine_load_default_model() != 32187) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
3297 | return InitializationResult.apiChecksumMismatch
3298 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3299:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
3297 | return InitializationResult.apiChecksumMismatch
3298 | }
3299 | if (uniffi_onde_checksum_method_ondechatengine_load_gguf_model() != 6873) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
3300 | return InitializationResult.apiChecksumMismatch
3301 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3302:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_uqff_model' in scope
3300 | return InitializationResult.apiChecksumMismatch
3301 | }
3302 | if (uniffi_onde_checksum_method_ondechatengine_load_uqff_model() != 18211) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_uqff_model' in scope
3303 | return InitializationResult.apiChecksumMismatch
3304 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3305:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
3303 | return InitializationResult.apiChecksumMismatch
3304 | }
3305 | if (uniffi_onde_checksum_method_ondechatengine_push_history() != 61696) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
3306 | return InitializationResult.apiChecksumMismatch
3307 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3308:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
3306 | return InitializationResult.apiChecksumMismatch
3307 | }
3308 | if (uniffi_onde_checksum_method_ondechatengine_send_message() != 23695) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
3309 | return InitializationResult.apiChecksumMismatch
3310 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3311:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
3309 | return InitializationResult.apiChecksumMismatch
3310 | }
3311 | if (uniffi_onde_checksum_method_ondechatengine_set_sampling() != 10759) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
3312 | return InitializationResult.apiChecksumMismatch
3313 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3314:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
3312 | return InitializationResult.apiChecksumMismatch
3313 | }
3314 | if (uniffi_onde_checksum_method_ondechatengine_set_system_prompt() != 63168) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
3315 | return InitializationResult.apiChecksumMismatch
3316 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3317:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
3315 | return InitializationResult.apiChecksumMismatch
3316 | }
3317 | if (uniffi_onde_checksum_method_ondechatengine_unload_model() != 33799) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
3318 | return InitializationResult.apiChecksumMismatch
3319 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3320:9: error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
3318 | return InitializationResult.apiChecksumMismatch
3319 | }
3320 | if (uniffi_onde_checksum_constructor_ondechatengine_new() != 39683) {
| `- error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
3321 | return InitializationResult.apiChecksumMismatch
3322 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3323:9: error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
3321 | return InitializationResult.apiChecksumMismatch
3322 | }
3323 | if (uniffi_onde_checksum_method_streamchunklistener_on_chunk() != 33920) {
| `- error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
3324 | return InitializationResult.apiChecksumMismatch
3325 | }
[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:1169: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
:
1167 | @_documentation(visibility: private)
1168 | #endif
1169 | public struct FfiConverterTypeChatMessage: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeChatMessage' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1170 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ChatMessage {
1171 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1188:53: error: cannot find type 'RustBuffer' in scope
1186 | @_documentation(visibility: private)
1187 | #endif
1188 | public func FfiConverterTypeChatMessage_lift(_ buf: RustBuffer) throws -> ChatMessage {
| `- error: cannot find type 'RustBuffer' in scope
1189 | return try FfiConverterTypeChatMessage.lift(buf)
1190 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1195:72: error: cannot find type 'RustBuffer' in scope
1193 | @_documentation(visibility: private)
1194 | #endif
1195 | public func FfiConverterTypeChatMessage_lower(_ value: ChatMessage) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1196 | return FfiConverterTypeChatMessage.lower(value)
1197 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1250: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
:
1248 | @_documentation(visibility: private)
1249 | #endif
1250 | public struct FfiConverterTypeEngineInfo: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEngineInfo' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1251 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> EngineInfo {
1252 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1273:52: error: cannot find type 'RustBuffer' in scope
1271 | @_documentation(visibility: private)
1272 | #endif
1273 | public func FfiConverterTypeEngineInfo_lift(_ buf: RustBuffer) throws -> EngineInfo {
| `- error: cannot find type 'RustBuffer' in scope
1274 | return try FfiConverterTypeEngineInfo.lift(buf)
1275 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1280:70: error: cannot find type 'RustBuffer' in scope
1278 | @_documentation(visibility: private)
1279 | #endif
1280 | public func FfiConverterTypeEngineInfo_lower(_ value: EngineInfo) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1281 | return FfiConverterTypeEngineInfo.lower(value)
1282 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1365: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
:
1363 | @_documentation(visibility: private)
1364 | #endif
1365 | public struct FfiConverterTypeGgufModelConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeGgufModelConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1366 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> GgufModelConfig {
1367 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1392:57: error: cannot find type 'RustBuffer' in scope
1390 | @_documentation(visibility: private)
1391 | #endif
1392 | public func FfiConverterTypeGgufModelConfig_lift(_ buf: RustBuffer) throws -> GgufModelConfig {
| `- error: cannot find type 'RustBuffer' in scope
1393 | return try FfiConverterTypeGgufModelConfig.lift(buf)
1394 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1399:80: error: cannot find type 'RustBuffer' in scope
1397 | @_documentation(visibility: private)
1398 | #endif
1399 | public func FfiConverterTypeGgufModelConfig_lower(_ value: GgufModelConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1400 | return FfiConverterTypeGgufModelConfig.lower(value)
1401 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1466: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
:
1464 | @_documentation(visibility: private)
1465 | #endif
1466 | public struct FfiConverterTypeInferenceResult: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeInferenceResult' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1467 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> InferenceResult {
1468 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1491:57: error: cannot find type 'RustBuffer' in scope
1489 | @_documentation(visibility: private)
1490 | #endif
1491 | public func FfiConverterTypeInferenceResult_lift(_ buf: RustBuffer) throws -> InferenceResult {
| `- error: cannot find type 'RustBuffer' in scope
1492 | return try FfiConverterTypeInferenceResult.lift(buf)
1493 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1498:80: error: cannot find type 'RustBuffer' in scope
1496 | @_documentation(visibility: private)
1497 | #endif
1498 | public func FfiConverterTypeInferenceResult_lower(_ value: InferenceResult) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1499 | return FfiConverterTypeInferenceResult.lower(value)
1500 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1570: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
:
1568 | @_documentation(visibility: private)
1569 | #endif
1570 | public struct FfiConverterTypeIsqModelConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIsqModelConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1571 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> IsqModelConfig {
1572 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1593:56: error: cannot find type 'RustBuffer' in scope
1591 | @_documentation(visibility: private)
1592 | #endif
1593 | public func FfiConverterTypeIsqModelConfig_lift(_ buf: RustBuffer) throws -> IsqModelConfig {
| `- error: cannot find type 'RustBuffer' in scope
1594 | return try FfiConverterTypeIsqModelConfig.lift(buf)
1595 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1600:78: error: cannot find type 'RustBuffer' in scope
1598 | @_documentation(visibility: private)
1599 | #endif
1600 | public func FfiConverterTypeIsqModelConfig_lower(_ value: IsqModelConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1601 | return FfiConverterTypeIsqModelConfig.lower(value)
1602 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1687: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
:
1685 | @_documentation(visibility: private)
1686 | #endif
1687 | public struct FfiConverterTypeSamplingConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeSamplingConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1688 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SamplingConfig {
1689 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1716:56: error: cannot find type 'RustBuffer' in scope
1714 | @_documentation(visibility: private)
1715 | #endif
1716 | public func FfiConverterTypeSamplingConfig_lift(_ buf: RustBuffer) throws -> SamplingConfig {
| `- error: cannot find type 'RustBuffer' in scope
1717 | return try FfiConverterTypeSamplingConfig.lift(buf)
1718 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1723:78: error: cannot find type 'RustBuffer' in scope
1721 | @_documentation(visibility: private)
1722 | #endif
1723 | public func FfiConverterTypeSamplingConfig_lower(_ value: SamplingConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1724 | return FfiConverterTypeSamplingConfig.lower(value)
1725 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1774: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
:
1772 | @_documentation(visibility: private)
1773 | #endif
1774 | public struct FfiConverterTypeStreamChunk: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStreamChunk' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1775 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> StreamChunk {
1776 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1795:53: error: cannot find type 'RustBuffer' in scope
1793 | @_documentation(visibility: private)
1794 | #endif
1795 | public func FfiConverterTypeStreamChunk_lift(_ buf: RustBuffer) throws -> StreamChunk {
| `- error: cannot find type 'RustBuffer' in scope
1796 | return try FfiConverterTypeStreamChunk.lift(buf)
1797 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1802:72: error: cannot find type 'RustBuffer' in scope
1800 | @_documentation(visibility: private)
1801 | #endif
1802 | public func FfiConverterTypeStreamChunk_lower(_ value: StreamChunk) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1803 | return FfiConverterTypeStreamChunk.lower(value)
1804 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1853: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
:
1851 | @_documentation(visibility: private)
1852 | #endif
1853 | public struct FfiConverterTypeToolCallInfo: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolCallInfo' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1854 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolCallInfo {
1855 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1874:54: error: cannot find type 'RustBuffer' in scope
1872 | @_documentation(visibility: private)
1873 | #endif
1874 | public func FfiConverterTypeToolCallInfo_lift(_ buf: RustBuffer) throws -> ToolCallInfo {
| `- error: cannot find type 'RustBuffer' in scope
1875 | return try FfiConverterTypeToolCallInfo.lift(buf)
1876 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1881:74: error: cannot find type 'RustBuffer' in scope
1879 | @_documentation(visibility: private)
1880 | #endif
1881 | public func FfiConverterTypeToolCallInfo_lower(_ value: ToolCallInfo) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1882 | return FfiConverterTypeToolCallInfo.lower(value)
1883 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1932: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
:
1930 | @_documentation(visibility: private)
1931 | #endif
1932 | public struct FfiConverterTypeToolDefinition: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolDefinition' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1933 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolDefinition {
1934 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:1953:56: error: cannot find type 'RustBuffer' in scope
1951 | @_documentation(visibility: private)
1952 | #endif
1953 | public func FfiConverterTypeToolDefinition_lift(_ buf: RustBuffer) throws -> ToolDefinition {
| `- error: cannot find type 'RustBuffer' in scope
1954 | return try FfiConverterTypeToolDefinition.lift(buf)
1955 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:1960:78: error: cannot find type 'RustBuffer' in scope
1958 | @_documentation(visibility: private)
1959 | #endif
1960 | public func FfiConverterTypeToolDefinition_lower(_ value: ToolDefinition) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1961 | return FfiConverterTypeToolDefinition.lower(value)
1962 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2003: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
:
2001 | @_documentation(visibility: private)
2002 | #endif
2003 | public struct FfiConverterTypeToolResult: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolResult' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2004 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ToolResult {
2005 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:2022:52: error: cannot find type 'RustBuffer' in scope
2020 | @_documentation(visibility: private)
2021 | #endif
2022 | public func FfiConverterTypeToolResult_lift(_ buf: RustBuffer) throws -> ToolResult {
| `- error: cannot find type 'RustBuffer' in scope
2023 | return try FfiConverterTypeToolResult.lift(buf)
2024 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2029:70: error: cannot find type 'RustBuffer' in scope
2027 | @_documentation(visibility: private)
2028 | #endif
2029 | public func FfiConverterTypeToolResult_lower(_ value: ToolResult) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2030 | return FfiConverterTypeToolResult.lower(value)
2031 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2118:15: error: type 'FfiConverterTypeUqffModelConfig' 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
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | public struct FfiConverterTypeUqffModelConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeUqffModelConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> UqffModelConfig {
2120 | return
/host/spi-builder-workspace/Sources/Onde/onde.swift:2143:57: error: cannot find type 'RustBuffer' in scope
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | public func FfiConverterTypeUqffModelConfig_lift(_ buf: RustBuffer) throws -> UqffModelConfig {
| `- error: cannot find type 'RustBuffer' in scope
2144 | return try FfiConverterTypeUqffModelConfig.lift(buf)
2145 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2150:80: error: cannot find type 'RustBuffer' in scope
2148 | @_documentation(visibility: private)
2149 | #endif
2150 | public func FfiConverterTypeUqffModelConfig_lower(_ value: UqffModelConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2151 | return FfiConverterTypeUqffModelConfig.lower(value)
2152 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2183: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 |
:
2181 | @_documentation(visibility: private)
2182 | #endif
2183 | public struct FfiConverterTypeChatRole: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeChatRole' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2184 | typealias SwiftType = ChatRole
2185 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2223:50: error: cannot find type 'RustBuffer' in scope
2221 | @_documentation(visibility: private)
2222 | #endif
2223 | public func FfiConverterTypeChatRole_lift(_ buf: RustBuffer) throws -> ChatRole {
| `- error: cannot find type 'RustBuffer' in scope
2224 | return try FfiConverterTypeChatRole.lift(buf)
2225 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2230:66: error: cannot find type 'RustBuffer' in scope
2228 | @_documentation(visibility: private)
2229 | #endif
2230 | public func FfiConverterTypeChatRole_lower(_ value: ChatRole) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2231 | return FfiConverterTypeChatRole.lower(value)
2232 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2277: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 |
:
2275 | @_documentation(visibility: private)
2276 | #endif
2277 | public struct FfiConverterTypeEngineStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEngineStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2278 | typealias SwiftType = EngineStatus
2279 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2329:54: error: cannot find type 'RustBuffer' in scope
2327 | @_documentation(visibility: private)
2328 | #endif
2329 | public func FfiConverterTypeEngineStatus_lift(_ buf: RustBuffer) throws -> EngineStatus {
| `- error: cannot find type 'RustBuffer' in scope
2330 | return try FfiConverterTypeEngineStatus.lift(buf)
2331 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2336:74: error: cannot find type 'RustBuffer' in scope
2334 | @_documentation(visibility: private)
2335 | #endif
2336 | public func FfiConverterTypeEngineStatus_lower(_ value: EngineStatus) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2337 | return FfiConverterTypeEngineStatus.lower(value)
2338 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2380: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 |
:
2378 | @_documentation(visibility: private)
2379 | #endif
2380 | public struct FfiConverterTypeInferenceError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeInferenceError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2381 | typealias SwiftType = InferenceError
2382 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2451:56: error: cannot find type 'RustBuffer' in scope
2449 | @_documentation(visibility: private)
2450 | #endif
2451 | public func FfiConverterTypeInferenceError_lift(_ buf: RustBuffer) throws -> InferenceError {
| `- error: cannot find type 'RustBuffer' in scope
2452 | return try FfiConverterTypeInferenceError.lift(buf)
2453 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2458:78: error: cannot find type 'RustBuffer' in scope
2456 | @_documentation(visibility: private)
2457 | #endif
2458 | public func FfiConverterTypeInferenceError_lower(_ value: InferenceError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2459 | return FfiConverterTypeInferenceError.lower(value)
2460 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2491:15: error: type 'FfiConverterTypeToolCallingSupport' 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 |
:
2489 | @_documentation(visibility: private)
2490 | #endif
2491 | public struct FfiConverterTypeToolCallingSupport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeToolCallingSupport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2492 | typealias SwiftType = ToolCallingSupport
2493 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2531:60: error: cannot find type 'RustBuffer' in scope
2529 | @_documentation(visibility: private)
2530 | #endif
2531 | public func FfiConverterTypeToolCallingSupport_lift(_ buf: RustBuffer) throws -> ToolCallingSupport {
| `- error: cannot find type 'RustBuffer' in scope
2532 | return try FfiConverterTypeToolCallingSupport.lift(buf)
2533 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2538:86: error: cannot find type 'RustBuffer' in scope
2536 | @_documentation(visibility: private)
2537 | #endif
2538 | public func FfiConverterTypeToolCallingSupport_lower(_ value: ToolCallingSupport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2539 | return FfiConverterTypeToolCallingSupport.lower(value)
2540 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:2582:25: error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2580 | // This creates 1-element array, since this seems to be the only way to construct a const
2581 | // pointer that we can pass to the Rust code.
2582 | static let vtable: [UniffiVTableCallbackInterfaceStreamChunkListener] = [UniffiVTableCallbackInterfaceStreamChunkListener(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceStreamChunkListener' in scope
2583 | uniffiFree: { (uniffiHandle: UInt64) -> () in
2584 | do {
/host/spi-builder-workspace/Sources/Onde/onde.swift:2691: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 |
:
2689 | @_documentation(visibility: private)
2690 | #endif
2691 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2692 | typealias SwiftType = UInt64?
2693 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2715: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 |
:
2713 | @_documentation(visibility: private)
2714 | #endif
2715 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2716 | typealias SwiftType = Float?
2717 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2739: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 |
:
2737 | @_documentation(visibility: private)
2738 | #endif
2739 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2740 | typealias SwiftType = Double?
2741 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2763: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 |
:
2761 | @_documentation(visibility: private)
2762 | #endif
2763 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2764 | typealias SwiftType = String?
2765 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2787: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 |
:
2785 | @_documentation(visibility: private)
2786 | #endif
2787 | fileprivate struct FfiConverterOptionTypeSamplingConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSamplingConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2788 | typealias SwiftType = SamplingConfig?
2789 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2811: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 |
:
2809 | @_documentation(visibility: private)
2810 | #endif
2811 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2812 | typealias SwiftType = [String]
2813 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2836: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 |
:
2834 | @_documentation(visibility: private)
2835 | #endif
2836 | fileprivate struct FfiConverterSequenceTypeChatMessage: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeChatMessage' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2837 | typealias SwiftType = [ChatMessage]
2838 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2861: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 |
:
2859 | @_documentation(visibility: private)
2860 | #endif
2861 | fileprivate struct FfiConverterSequenceTypeToolCallInfo: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeToolCallInfo' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2862 | typealias SwiftType = [ToolCallInfo]
2863 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2889:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2887 | fileprivate func uniffiRustCallAsync<F, T>(
2888 | rustFutureFunc: () -> UInt64,
2889 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
| `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2890 | completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2891 | freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2889:24: error: @escaping attribute only applies to function types
2887 | fileprivate func uniffiRustCallAsync<F, T>(
2888 | rustFutureFunc: () -> UInt64,
2889 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
| `- error: @escaping attribute only applies to function types
2890 | completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2891 | freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Onde/onde.swift:2890:49: error: cannot find type 'RustCallStatus' in scope
2888 | rustFutureFunc: () -> UInt64,
2889 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
2890 | completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
| `- error: cannot find type 'RustCallStatus' in scope
2891 | freeFunc: (UInt64) -> (),
2892 | liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Onde/onde.swift:2893:21: error: cannot find type 'RustBuffer' in scope
2891 | freeFunc: (UInt64) -> (),
2892 | liftFunc: (F) throws -> T,
2893 | errorHandler: ((RustBuffer) throws -> Swift.Error)?
| `- error: cannot find type 'RustBuffer' in scope
2894 | ) async throws -> T {
2895 | // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/Onde/onde.swift:3205:40: error: cannot find 'ffi_onde_uniffi_contract_version' in scope
3203 | let bindings_contract_version = 30
3204 | // Get the scaffolding contract version by calling the into the dylib
3205 | let scaffolding_contract_version = ffi_onde_uniffi_contract_version()
| `- error: cannot find 'ffi_onde_uniffi_contract_version' in scope
3206 | if bindings_contract_version != scaffolding_contract_version {
3207 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Onde/onde.swift:3209:9: error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
3207 | return InitializationResult.contractVersionMismatch
3208 | }
3209 | if (uniffi_onde_checksum_func_assistant_message() != 47135) {
| `- error: cannot find 'uniffi_onde_checksum_func_assistant_message' in scope
3210 | return InitializationResult.apiChecksumMismatch
3211 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3212:9: error: cannot find 'uniffi_onde_checksum_func_configure_cache_dir' in scope
3210 | return InitializationResult.apiChecksumMismatch
3211 | }
3212 | if (uniffi_onde_checksum_func_configure_cache_dir() != 6269) {
| `- error: cannot find 'uniffi_onde_checksum_func_configure_cache_dir' in scope
3213 | return InitializationResult.apiChecksumMismatch
3214 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3215:9: error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
3213 | return InitializationResult.apiChecksumMismatch
3214 | }
3215 | if (uniffi_onde_checksum_func_default_model_config() != 34766) {
| `- error: cannot find 'uniffi_onde_checksum_func_default_model_config' in scope
3216 | return InitializationResult.apiChecksumMismatch
3217 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3218:9: error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
3216 | return InitializationResult.apiChecksumMismatch
3217 | }
3218 | if (uniffi_onde_checksum_func_default_sampling_config() != 57358) {
| `- error: cannot find 'uniffi_onde_checksum_func_default_sampling_config' in scope
3219 | return InitializationResult.apiChecksumMismatch
3220 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3221:9: error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
3219 | return InitializationResult.apiChecksumMismatch
3220 | }
3221 | if (uniffi_onde_checksum_func_deterministic_sampling_config() != 3003) {
| `- error: cannot find 'uniffi_onde_checksum_func_deterministic_sampling_config' in scope
3222 | return InitializationResult.apiChecksumMismatch
3223 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3224:9: error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
3222 | return InitializationResult.apiChecksumMismatch
3223 | }
3224 | if (uniffi_onde_checksum_func_mobile_sampling_config() != 46137) {
| `- error: cannot find 'uniffi_onde_checksum_func_mobile_sampling_config' in scope
3225 | return InitializationResult.apiChecksumMismatch
3226 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3227:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_0_5b_config' in scope
3225 | return InitializationResult.apiChecksumMismatch
3226 | }
3227 | if (uniffi_onde_checksum_func_qwen25_0_5b_config() != 53289) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen25_0_5b_config' in scope
3228 | return InitializationResult.apiChecksumMismatch
3229 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3230:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
3228 | return InitializationResult.apiChecksumMismatch
3229 | }
3230 | if (uniffi_onde_checksum_func_qwen25_1_5b_config() != 41668) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen25_1_5b_config' in scope
3231 | return InitializationResult.apiChecksumMismatch
3232 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3233:9: error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
3231 | return InitializationResult.apiChecksumMismatch
3232 | }
3233 | if (uniffi_onde_checksum_func_qwen25_3b_config() != 36458) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen25_3b_config' in scope
3234 | return InitializationResult.apiChecksumMismatch
3235 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3236:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_0_6b_config' in scope
3234 | return InitializationResult.apiChecksumMismatch
3235 | }
3236 | if (uniffi_onde_checksum_func_qwen3_0_6b_config() != 20653) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_0_6b_config' in scope
3237 | return InitializationResult.apiChecksumMismatch
3238 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3239:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_14b_config' in scope
3237 | return InitializationResult.apiChecksumMismatch
3238 | }
3239 | if (uniffi_onde_checksum_func_qwen3_14b_config() != 44701) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_14b_config' in scope
3240 | return InitializationResult.apiChecksumMismatch
3241 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3242:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_1_7b_config' in scope
3240 | return InitializationResult.apiChecksumMismatch
3241 | }
3242 | if (uniffi_onde_checksum_func_qwen3_1_7b_config() != 32382) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_1_7b_config' in scope
3243 | return InitializationResult.apiChecksumMismatch
3244 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3245:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config' in scope
3243 | return InitializationResult.apiChecksumMismatch
3244 | }
3245 | if (uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config() != 55315) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_30b_a3b_instruct_2507_config' in scope
3246 | return InitializationResult.apiChecksumMismatch
3247 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3248:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_32b_config' in scope
3246 | return InitializationResult.apiChecksumMismatch
3247 | }
3248 | if (uniffi_onde_checksum_func_qwen3_32b_config() != 20244) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_32b_config' in scope
3249 | return InitializationResult.apiChecksumMismatch
3250 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3251:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_config' in scope
3249 | return InitializationResult.apiChecksumMismatch
3250 | }
3251 | if (uniffi_onde_checksum_func_qwen3_4b_config() != 44102) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_config' in scope
3252 | return InitializationResult.apiChecksumMismatch
3253 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3254:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config' in scope
3252 | return InitializationResult.apiChecksumMismatch
3253 | }
3254 | if (uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config() != 20415) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_instruct_2507_config' in scope
3255 | return InitializationResult.apiChecksumMismatch
3256 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3257:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config' in scope
3255 | return InitializationResult.apiChecksumMismatch
3256 | }
3257 | if (uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config() != 9987) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_4b_thinking_2507_config' in scope
3258 | return InitializationResult.apiChecksumMismatch
3259 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3260:9: error: cannot find 'uniffi_onde_checksum_func_qwen3_8b_config' in scope
3258 | return InitializationResult.apiChecksumMismatch
3259 | }
3260 | if (uniffi_onde_checksum_func_qwen3_8b_config() != 16355) {
| `- error: cannot find 'uniffi_onde_checksum_func_qwen3_8b_config' in scope
3261 | return InitializationResult.apiChecksumMismatch
3262 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3263:9: error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
3261 | return InitializationResult.apiChecksumMismatch
3262 | }
3263 | if (uniffi_onde_checksum_func_stream_chat_message() != 5168) {
| `- error: cannot find 'uniffi_onde_checksum_func_stream_chat_message' in scope
3264 | return InitializationResult.apiChecksumMismatch
3265 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3266:9: error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
3264 | return InitializationResult.apiChecksumMismatch
3265 | }
3266 | if (uniffi_onde_checksum_func_system_message() != 55655) {
| `- error: cannot find 'uniffi_onde_checksum_func_system_message' in scope
3267 | return InitializationResult.apiChecksumMismatch
3268 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3269:9: error: cannot find 'uniffi_onde_checksum_func_uqff_model_config' in scope
3267 | return InitializationResult.apiChecksumMismatch
3268 | }
3269 | if (uniffi_onde_checksum_func_uqff_model_config() != 61694) {
| `- error: cannot find 'uniffi_onde_checksum_func_uqff_model_config' in scope
3270 | return InitializationResult.apiChecksumMismatch
3271 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3272:9: error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
3270 | return InitializationResult.apiChecksumMismatch
3271 | }
3272 | if (uniffi_onde_checksum_func_user_message() != 23108) {
| `- error: cannot find 'uniffi_onde_checksum_func_user_message' in scope
3273 | return InitializationResult.apiChecksumMismatch
3274 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3275:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
3273 | return InitializationResult.apiChecksumMismatch
3274 | }
3275 | if (uniffi_onde_checksum_method_ondechatengine_clear_history() != 5662) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_history' in scope
3276 | return InitializationResult.apiChecksumMismatch
3277 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3278:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
3276 | return InitializationResult.apiChecksumMismatch
3277 | }
3278 | if (uniffi_onde_checksum_method_ondechatengine_clear_system_prompt() != 46275) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_clear_system_prompt' in scope
3279 | return InitializationResult.apiChecksumMismatch
3280 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3281:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
3279 | return InitializationResult.apiChecksumMismatch
3280 | }
3281 | if (uniffi_onde_checksum_method_ondechatengine_generate() != 63069) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_generate' in scope
3282 | return InitializationResult.apiChecksumMismatch
3283 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3284:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
3282 | return InitializationResult.apiChecksumMismatch
3283 | }
3284 | if (uniffi_onde_checksum_method_ondechatengine_history() != 45301) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_history' in scope
3285 | return InitializationResult.apiChecksumMismatch
3286 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3287:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
3285 | return InitializationResult.apiChecksumMismatch
3286 | }
3287 | if (uniffi_onde_checksum_method_ondechatengine_info() != 42415) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_info' in scope
3288 | return InitializationResult.apiChecksumMismatch
3289 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3290:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
3288 | return InitializationResult.apiChecksumMismatch
3289 | }
3290 | if (uniffi_onde_checksum_method_ondechatengine_is_loaded() != 59838) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_is_loaded' in scope
3291 | return InitializationResult.apiChecksumMismatch
3292 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3293:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
3291 | return InitializationResult.apiChecksumMismatch
3292 | }
3293 | if (uniffi_onde_checksum_method_ondechatengine_load_assigned_model() != 25824) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_assigned_model' in scope
3294 | return InitializationResult.apiChecksumMismatch
3295 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3296:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
3294 | return InitializationResult.apiChecksumMismatch
3295 | }
3296 | if (uniffi_onde_checksum_method_ondechatengine_load_default_model() != 32187) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_default_model' in scope
3297 | return InitializationResult.apiChecksumMismatch
3298 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3299:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
3297 | return InitializationResult.apiChecksumMismatch
3298 | }
3299 | if (uniffi_onde_checksum_method_ondechatengine_load_gguf_model() != 6873) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_gguf_model' in scope
3300 | return InitializationResult.apiChecksumMismatch
3301 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3302:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_uqff_model' in scope
3300 | return InitializationResult.apiChecksumMismatch
3301 | }
3302 | if (uniffi_onde_checksum_method_ondechatengine_load_uqff_model() != 18211) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_load_uqff_model' in scope
3303 | return InitializationResult.apiChecksumMismatch
3304 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3305:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
3303 | return InitializationResult.apiChecksumMismatch
3304 | }
3305 | if (uniffi_onde_checksum_method_ondechatengine_push_history() != 61696) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_push_history' in scope
3306 | return InitializationResult.apiChecksumMismatch
3307 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3308:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
3306 | return InitializationResult.apiChecksumMismatch
3307 | }
3308 | if (uniffi_onde_checksum_method_ondechatengine_send_message() != 23695) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_send_message' in scope
3309 | return InitializationResult.apiChecksumMismatch
3310 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3311:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
3309 | return InitializationResult.apiChecksumMismatch
3310 | }
3311 | if (uniffi_onde_checksum_method_ondechatengine_set_sampling() != 10759) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_sampling' in scope
3312 | return InitializationResult.apiChecksumMismatch
3313 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3314:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
3312 | return InitializationResult.apiChecksumMismatch
3313 | }
3314 | if (uniffi_onde_checksum_method_ondechatengine_set_system_prompt() != 63168) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_set_system_prompt' in scope
3315 | return InitializationResult.apiChecksumMismatch
3316 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3317:9: error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
3315 | return InitializationResult.apiChecksumMismatch
3316 | }
3317 | if (uniffi_onde_checksum_method_ondechatengine_unload_model() != 33799) {
| `- error: cannot find 'uniffi_onde_checksum_method_ondechatengine_unload_model' in scope
3318 | return InitializationResult.apiChecksumMismatch
3319 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3320:9: error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
3318 | return InitializationResult.apiChecksumMismatch
3319 | }
3320 | if (uniffi_onde_checksum_constructor_ondechatengine_new() != 39683) {
| `- error: cannot find 'uniffi_onde_checksum_constructor_ondechatengine_new' in scope
3321 | return InitializationResult.apiChecksumMismatch
3322 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:3323:9: error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
3321 | return InitializationResult.apiChecksumMismatch
3322 | }
3323 | if (uniffi_onde_checksum_method_streamchunklistener_on_chunk() != 33920) {
| `- error: cannot find 'uniffi_onde_checksum_method_streamchunklistener_on_chunk' in scope
3324 | return InitializationResult.apiChecksumMismatch
3325 | }
/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: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:726:32: error: cannot find 'uniffi_onde_fn_clone_ondechatengine' in scope
724 | #endif
725 | public func uniffiCloneHandle() -> UInt64 {
726 | return try! rustCall { uniffi_onde_fn_clone_ondechatengine(self.handle, $0) }
| `- error: cannot find 'uniffi_onde_fn_clone_ondechatengine' in scope
727 | }
728 | /**
/host/spi-builder-workspace/Sources/Onde/onde.swift:734:5: error: cannot find 'uniffi_onde_fn_constructor_ondechatengine_new' in scope
732 | let handle =
733 | try! rustCall() {
734 | uniffi_onde_fn_constructor_ondechatengine_new($0
| `- error: cannot find 'uniffi_onde_fn_constructor_ondechatengine_new' in scope
735 | )
736 | }
/host/spi-builder-workspace/Sources/Onde/onde.swift:746:25: error: cannot find 'uniffi_onde_fn_free_ondechatengine' in scope
744 | }
745 |
746 | try! rustCall { uniffi_onde_fn_free_ondechatengine(handle, $0) }
| `- error: cannot find 'uniffi_onde_fn_free_ondechatengine' in scope
747 | }
748 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:761:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_history' in scope
759 | try! await uniffiRustCallAsync(
760 | rustFutureFunc: {
761 | uniffi_onde_fn_method_ondechatengine_clear_history(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_history' in scope
762 | self.uniffiCloneHandle()
763 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:766:23: error: cannot find 'ffi_onde_rust_future_poll_u64' in scope
764 | )
765 | },
766 | pollFunc: ffi_onde_rust_future_poll_u64,
| `- error: cannot find 'ffi_onde_rust_future_poll_u64' in scope
767 | completeFunc: ffi_onde_rust_future_complete_u64,
768 | freeFunc: ffi_onde_rust_future_free_u64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:767:27: error: cannot find 'ffi_onde_rust_future_complete_u64' in scope
765 | },
766 | pollFunc: ffi_onde_rust_future_poll_u64,
767 | completeFunc: ffi_onde_rust_future_complete_u64,
| `- error: cannot find 'ffi_onde_rust_future_complete_u64' in scope
768 | freeFunc: ffi_onde_rust_future_free_u64,
769 | liftFunc: FfiConverterUInt64.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:768:23: error: cannot find 'ffi_onde_rust_future_free_u64' in scope
766 | pollFunc: ffi_onde_rust_future_poll_u64,
767 | completeFunc: ffi_onde_rust_future_complete_u64,
768 | freeFunc: ffi_onde_rust_future_free_u64,
| `- error: cannot find 'ffi_onde_rust_future_free_u64' in scope
769 | liftFunc: FfiConverterUInt64.lift,
770 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:770:27: error: 'nil' requires a contextual type
768 | freeFunc: ffi_onde_rust_future_free_u64,
769 | liftFunc: FfiConverterUInt64.lift,
770 | errorHandler: nil
| `- error: 'nil' requires a contextual type
771 |
772 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:782:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_system_prompt' in scope
780 | try! await uniffiRustCallAsync(
781 | rustFutureFunc: {
782 | uniffi_onde_fn_method_ondechatengine_clear_system_prompt(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_clear_system_prompt' in scope
783 | self.uniffiCloneHandle()
784 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:787:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
785 | )
786 | },
787 | pollFunc: ffi_onde_rust_future_poll_void,
| `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
788 | completeFunc: ffi_onde_rust_future_complete_void,
789 | freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:788:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
786 | },
787 | pollFunc: ffi_onde_rust_future_poll_void,
788 | completeFunc: ffi_onde_rust_future_complete_void,
| `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
789 | freeFunc: ffi_onde_rust_future_free_void,
790 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:789:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
787 | pollFunc: ffi_onde_rust_future_poll_void,
788 | completeFunc: ffi_onde_rust_future_complete_void,
789 | freeFunc: ffi_onde_rust_future_free_void,
| `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
790 | liftFunc: { $0 },
791 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:791:27: error: 'nil' requires a contextual type
789 | freeFunc: ffi_onde_rust_future_free_void,
790 | liftFunc: { $0 },
791 | errorHandler: nil
| `- error: 'nil' requires a contextual type
792 |
793 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:806:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_generate' in scope
804 | try await uniffiRustCallAsync(
805 | rustFutureFunc: {
806 | uniffi_onde_fn_method_ondechatengine_generate(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_generate' in scope
807 | self.uniffiCloneHandle(),
808 | FfiConverterSequenceTypeChatMessage.lower(messages),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:811:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
809 | )
810 | },
811 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
812 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
813 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:812:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
810 | },
811 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
812 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
813 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
814 | liftFunc: FfiConverterTypeInferenceResult_lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:813:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
811 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
812 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
813 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
814 | liftFunc: FfiConverterTypeInferenceResult_lift,
815 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:826:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_history' in scope
824 | try! await uniffiRustCallAsync(
825 | rustFutureFunc: {
826 | uniffi_onde_fn_method_ondechatengine_history(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_history' in scope
827 | self.uniffiCloneHandle()
828 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:831:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
829 | )
830 | },
831 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
832 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
833 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:832:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
830 | },
831 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
832 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
833 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
834 | liftFunc: FfiConverterSequenceTypeChatMessage.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:833:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
831 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
832 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
833 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
834 | liftFunc: FfiConverterSequenceTypeChatMessage.lift,
835 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:835:27: error: 'nil' requires a contextual type
833 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
834 | liftFunc: FfiConverterSequenceTypeChatMessage.lift,
835 | errorHandler: nil
| `- error: 'nil' requires a contextual type
836 |
837 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:847:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_info' in scope
845 | try! await uniffiRustCallAsync(
846 | rustFutureFunc: {
847 | uniffi_onde_fn_method_ondechatengine_info(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_info' in scope
848 | self.uniffiCloneHandle()
849 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:852:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
850 | )
851 | },
852 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
853 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
854 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:853:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
851 | },
852 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
853 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
854 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
855 | liftFunc: FfiConverterTypeEngineInfo_lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:854:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
852 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
853 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
854 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
855 | liftFunc: FfiConverterTypeEngineInfo_lift,
856 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:856:27: error: 'nil' requires a contextual type
854 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
855 | liftFunc: FfiConverterTypeEngineInfo_lift,
856 | errorHandler: nil
| `- error: 'nil' requires a contextual type
857 |
858 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:868:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_is_loaded' in scope
866 | try! await uniffiRustCallAsync(
867 | rustFutureFunc: {
868 | uniffi_onde_fn_method_ondechatengine_is_loaded(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_is_loaded' in scope
869 | self.uniffiCloneHandle()
870 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:873:23: error: cannot find 'ffi_onde_rust_future_poll_i8' in scope
871 | )
872 | },
873 | pollFunc: ffi_onde_rust_future_poll_i8,
| `- error: cannot find 'ffi_onde_rust_future_poll_i8' in scope
874 | completeFunc: ffi_onde_rust_future_complete_i8,
875 | freeFunc: ffi_onde_rust_future_free_i8,
/host/spi-builder-workspace/Sources/Onde/onde.swift:874:27: error: cannot find 'ffi_onde_rust_future_complete_i8' in scope
872 | },
873 | pollFunc: ffi_onde_rust_future_poll_i8,
874 | completeFunc: ffi_onde_rust_future_complete_i8,
| `- error: cannot find 'ffi_onde_rust_future_complete_i8' in scope
875 | freeFunc: ffi_onde_rust_future_free_i8,
876 | liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:875:23: error: cannot find 'ffi_onde_rust_future_free_i8' in scope
873 | pollFunc: ffi_onde_rust_future_poll_i8,
874 | completeFunc: ffi_onde_rust_future_complete_i8,
875 | freeFunc: ffi_onde_rust_future_free_i8,
| `- error: cannot find 'ffi_onde_rust_future_free_i8' in scope
876 | liftFunc: FfiConverterBool.lift,
877 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:877:27: error: 'nil' requires a contextual type
875 | freeFunc: ffi_onde_rust_future_free_i8,
876 | liftFunc: FfiConverterBool.lift,
877 | errorHandler: nil
| `- error: 'nil' requires a contextual type
878 |
879 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:896:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_assigned_model' in scope
894 | try await uniffiRustCallAsync(
895 | rustFutureFunc: {
896 | uniffi_onde_fn_method_ondechatengine_load_assigned_model(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_assigned_model' in scope
897 | self.uniffiCloneHandle(),
898 | FfiConverterString.lower(appId),FfiConverterString.lower(appSecret),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:901:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
899 | )
900 | },
901 | pollFunc: ffi_onde_rust_future_poll_f64,
| `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
902 | completeFunc: ffi_onde_rust_future_complete_f64,
903 | freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:902:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
900 | },
901 | pollFunc: ffi_onde_rust_future_poll_f64,
902 | completeFunc: ffi_onde_rust_future_complete_f64,
| `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
903 | freeFunc: ffi_onde_rust_future_free_f64,
904 | liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:903:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
901 | pollFunc: ffi_onde_rust_future_poll_f64,
902 | completeFunc: ffi_onde_rust_future_complete_f64,
903 | freeFunc: ffi_onde_rust_future_free_f64,
| `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
904 | liftFunc: FfiConverterDouble.lift,
905 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:921:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_default_model' in scope
919 | try await uniffiRustCallAsync(
920 | rustFutureFunc: {
921 | uniffi_onde_fn_method_ondechatengine_load_default_model(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_default_model' in scope
922 | self.uniffiCloneHandle(),
923 | FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:926:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
924 | )
925 | },
926 | pollFunc: ffi_onde_rust_future_poll_f64,
| `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
927 | completeFunc: ffi_onde_rust_future_complete_f64,
928 | freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:927:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
925 | },
926 | pollFunc: ffi_onde_rust_future_poll_f64,
927 | completeFunc: ffi_onde_rust_future_complete_f64,
| `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
928 | freeFunc: ffi_onde_rust_future_free_f64,
929 | liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:928:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
926 | pollFunc: ffi_onde_rust_future_poll_f64,
927 | completeFunc: ffi_onde_rust_future_complete_f64,
928 | freeFunc: ffi_onde_rust_future_free_f64,
| `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
929 | liftFunc: FfiConverterDouble.lift,
930 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:945:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_gguf_model' in scope
943 | try await uniffiRustCallAsync(
944 | rustFutureFunc: {
945 | uniffi_onde_fn_method_ondechatengine_load_gguf_model(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_gguf_model' in scope
946 | self.uniffiCloneHandle(),
947 | FfiConverterTypeGgufModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:950:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
948 | )
949 | },
950 | pollFunc: ffi_onde_rust_future_poll_f64,
| `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
951 | completeFunc: ffi_onde_rust_future_complete_f64,
952 | freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:951:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
949 | },
950 | pollFunc: ffi_onde_rust_future_poll_f64,
951 | completeFunc: ffi_onde_rust_future_complete_f64,
| `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
952 | freeFunc: ffi_onde_rust_future_free_f64,
953 | liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:952:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
950 | pollFunc: ffi_onde_rust_future_poll_f64,
951 | completeFunc: ffi_onde_rust_future_complete_f64,
952 | freeFunc: ffi_onde_rust_future_free_f64,
| `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
953 | liftFunc: FfiConverterDouble.lift,
954 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:972:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_uqff_model' in scope
970 | try await uniffiRustCallAsync(
971 | rustFutureFunc: {
972 | uniffi_onde_fn_method_ondechatengine_load_uqff_model(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_load_uqff_model' in scope
973 | self.uniffiCloneHandle(),
974 | FfiConverterTypeUqffModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:977:23: error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
975 | )
976 | },
977 | pollFunc: ffi_onde_rust_future_poll_f64,
| `- error: cannot find 'ffi_onde_rust_future_poll_f64' in scope
978 | completeFunc: ffi_onde_rust_future_complete_f64,
979 | freeFunc: ffi_onde_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Onde/onde.swift:978:27: error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
976 | },
977 | pollFunc: ffi_onde_rust_future_poll_f64,
978 | completeFunc: ffi_onde_rust_future_complete_f64,
| `- error: cannot find 'ffi_onde_rust_future_complete_f64' in scope
979 | freeFunc: ffi_onde_rust_future_free_f64,
980 | liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:979:23: error: cannot find 'ffi_onde_rust_future_free_f64' in scope
977 | pollFunc: ffi_onde_rust_future_poll_f64,
978 | completeFunc: ffi_onde_rust_future_complete_f64,
979 | freeFunc: ffi_onde_rust_future_free_f64,
| `- error: cannot find 'ffi_onde_rust_future_free_f64' in scope
980 | liftFunc: FfiConverterDouble.lift,
981 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:992:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_push_history' in scope
990 | try! await uniffiRustCallAsync(
991 | rustFutureFunc: {
992 | uniffi_onde_fn_method_ondechatengine_push_history(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_push_history' in scope
993 | self.uniffiCloneHandle(),
994 | FfiConverterTypeChatMessage_lower(message)
/host/spi-builder-workspace/Sources/Onde/onde.swift:997:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
995 | )
996 | },
997 | pollFunc: ffi_onde_rust_future_poll_void,
| `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
998 | completeFunc: ffi_onde_rust_future_complete_void,
999 | freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:998:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
996 | },
997 | pollFunc: ffi_onde_rust_future_poll_void,
998 | completeFunc: ffi_onde_rust_future_complete_void,
| `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
999 | freeFunc: ffi_onde_rust_future_free_void,
1000 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:999:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
997 | pollFunc: ffi_onde_rust_future_poll_void,
998 | completeFunc: ffi_onde_rust_future_complete_void,
999 | freeFunc: ffi_onde_rust_future_free_void,
| `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
1000 | liftFunc: { $0 },
1001 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1001:27: error: 'nil' requires a contextual type
999 | freeFunc: ffi_onde_rust_future_free_void,
1000 | liftFunc: { $0 },
1001 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1002 |
1003 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:1016:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_send_message' in scope
1014 | try await uniffiRustCallAsync(
1015 | rustFutureFunc: {
1016 | uniffi_onde_fn_method_ondechatengine_send_message(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_send_message' in scope
1017 | self.uniffiCloneHandle(),
1018 | FfiConverterString.lower(message)
/host/spi-builder-workspace/Sources/Onde/onde.swift:1021:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
1019 | )
1020 | },
1021 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
1022 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
1023 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1022:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
1020 | },
1021 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
1022 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
1023 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
1024 | liftFunc: FfiConverterTypeInferenceResult_lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1023:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
1021 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
1022 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
1023 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
1024 | liftFunc: FfiConverterTypeInferenceResult_lift,
1025 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:1036:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_sampling' in scope
1034 | try! await uniffiRustCallAsync(
1035 | rustFutureFunc: {
1036 | uniffi_onde_fn_method_ondechatengine_set_sampling(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_sampling' in scope
1037 | self.uniffiCloneHandle(),
1038 | FfiConverterTypeSamplingConfig_lower(sampling)
/host/spi-builder-workspace/Sources/Onde/onde.swift:1041:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1039 | )
1040 | },
1041 | pollFunc: ffi_onde_rust_future_poll_void,
| `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1042 | completeFunc: ffi_onde_rust_future_complete_void,
1043 | freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1042:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1040 | },
1041 | pollFunc: ffi_onde_rust_future_poll_void,
1042 | completeFunc: ffi_onde_rust_future_complete_void,
| `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1043 | freeFunc: ffi_onde_rust_future_free_void,
1044 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:1043:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
1041 | pollFunc: ffi_onde_rust_future_poll_void,
1042 | completeFunc: ffi_onde_rust_future_complete_void,
1043 | freeFunc: ffi_onde_rust_future_free_void,
| `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
1044 | liftFunc: { $0 },
1045 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1045:27: error: 'nil' requires a contextual type
1043 | freeFunc: ffi_onde_rust_future_free_void,
1044 | liftFunc: { $0 },
1045 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1046 |
1047 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:1057:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_system_prompt' in scope
1055 | try! await uniffiRustCallAsync(
1056 | rustFutureFunc: {
1057 | uniffi_onde_fn_method_ondechatengine_set_system_prompt(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_set_system_prompt' in scope
1058 | self.uniffiCloneHandle(),
1059 | FfiConverterString.lower(prompt)
/host/spi-builder-workspace/Sources/Onde/onde.swift:1062:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1060 | )
1061 | },
1062 | pollFunc: ffi_onde_rust_future_poll_void,
| `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
1063 | completeFunc: ffi_onde_rust_future_complete_void,
1064 | freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1063:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1061 | },
1062 | pollFunc: ffi_onde_rust_future_poll_void,
1063 | completeFunc: ffi_onde_rust_future_complete_void,
| `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
1064 | freeFunc: ffi_onde_rust_future_free_void,
1065 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:1064:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
1062 | pollFunc: ffi_onde_rust_future_poll_void,
1063 | completeFunc: ffi_onde_rust_future_complete_void,
1064 | freeFunc: ffi_onde_rust_future_free_void,
| `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
1065 | liftFunc: { $0 },
1066 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1066:27: error: 'nil' requires a contextual type
1064 | freeFunc: ffi_onde_rust_future_free_void,
1065 | liftFunc: { $0 },
1066 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1067 |
1068 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:1081:17: error: cannot find 'uniffi_onde_fn_method_ondechatengine_unload_model' in scope
1079 | try! await uniffiRustCallAsync(
1080 | rustFutureFunc: {
1081 | uniffi_onde_fn_method_ondechatengine_unload_model(
| `- error: cannot find 'uniffi_onde_fn_method_ondechatengine_unload_model' in scope
1082 | self.uniffiCloneHandle()
1083 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:1086:23: error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
1084 | )
1085 | },
1086 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_poll_rust_buffer' in scope
1087 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
1088 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1087:27: error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
1085 | },
1086 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
1087 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_complete_rust_buffer' in scope
1088 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
1089 | liftFunc: FfiConverterOptionString.lift,
/host/spi-builder-workspace/Sources/Onde/onde.swift:1088:23: error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
1086 | pollFunc: ffi_onde_rust_future_poll_rust_buffer,
1087 | completeFunc: ffi_onde_rust_future_complete_rust_buffer,
1088 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
| `- error: cannot find 'ffi_onde_rust_future_free_rust_buffer' in scope
1089 | liftFunc: FfiConverterOptionString.lift,
1090 | errorHandler: nil
/host/spi-builder-workspace/Sources/Onde/onde.swift:1090:27: error: 'nil' requires a contextual type
1088 | freeFunc: ffi_onde_rust_future_free_rust_buffer,
1089 | liftFunc: FfiConverterOptionString.lift,
1090 | errorHandler: nil
| `- error: 'nil' requires a contextual type
1091 |
1092 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:2625:5: error: cannot find 'uniffi_onde_fn_init_callback_vtable_streamchunklistener' in scope
2623 |
2624 | private func uniffiCallbackInitStreamChunkListener() {
2625 | uniffi_onde_fn_init_callback_vtable_streamchunklistener(UniffiCallbackInterfaceStreamChunkListener.vtable)
| `- error: cannot find 'uniffi_onde_fn_init_callback_vtable_streamchunklistener' in scope
2626 | }
2627 |
/host/spi-builder-workspace/Sources/Onde/onde.swift:2935:5: error: cannot find 'uniffi_onde_fn_func_assistant_message' in scope
2933 | public func assistantMessage(content: String) -> ChatMessage {
2934 | return try! FfiConverterTypeChatMessage_lift(try! rustCall() {
2935 | uniffi_onde_fn_func_assistant_message(
| `- error: cannot find 'uniffi_onde_fn_func_assistant_message' in scope
2936 | FfiConverterString.lower(content),$0
2937 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:2954:5: error: cannot find 'uniffi_onde_fn_func_configure_cache_dir' in scope
2952 | */
2953 | public func configureCacheDir(path: String) {try! rustCall() {
2954 | uniffi_onde_fn_func_configure_cache_dir(
| `- error: cannot find 'uniffi_onde_fn_func_configure_cache_dir' in scope
2955 | FfiConverterString.lower(path),$0
2956 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:2967:5: error: cannot find 'uniffi_onde_fn_func_default_model_config' in scope
2965 | public func defaultModelConfig() -> GgufModelConfig {
2966 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
2967 | uniffi_onde_fn_func_default_model_config($0
| `- error: cannot find 'uniffi_onde_fn_func_default_model_config' in scope
2968 | )
2969 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2976:5: error: cannot find 'uniffi_onde_fn_func_default_sampling_config' in scope
2974 | public func defaultSamplingConfig() -> SamplingConfig {
2975 | return try! FfiConverterTypeSamplingConfig_lift(try! rustCall() {
2976 | uniffi_onde_fn_func_default_sampling_config($0
| `- error: cannot find 'uniffi_onde_fn_func_default_sampling_config' in scope
2977 | )
2978 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2985:5: error: cannot find 'uniffi_onde_fn_func_deterministic_sampling_config' in scope
2983 | public func deterministicSamplingConfig() -> SamplingConfig {
2984 | return try! FfiConverterTypeSamplingConfig_lift(try! rustCall() {
2985 | uniffi_onde_fn_func_deterministic_sampling_config($0
| `- error: cannot find 'uniffi_onde_fn_func_deterministic_sampling_config' in scope
2986 | )
2987 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:2994:5: error: cannot find 'uniffi_onde_fn_func_mobile_sampling_config' in scope
2992 | public func mobileSamplingConfig() -> SamplingConfig {
2993 | return try! FfiConverterTypeSamplingConfig_lift(try! rustCall() {
2994 | uniffi_onde_fn_func_mobile_sampling_config($0
| `- error: cannot find 'uniffi_onde_fn_func_mobile_sampling_config' in scope
2995 | )
2996 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3003:5: error: cannot find 'uniffi_onde_fn_func_qwen25_0_5b_config' in scope
3001 | public func qwen2505bConfig() -> GgufModelConfig {
3002 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3003 | uniffi_onde_fn_func_qwen25_0_5b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen25_0_5b_config' in scope
3004 | )
3005 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3012:5: error: cannot find 'uniffi_onde_fn_func_qwen25_1_5b_config' in scope
3010 | public func qwen2515bConfig() -> GgufModelConfig {
3011 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3012 | uniffi_onde_fn_func_qwen25_1_5b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen25_1_5b_config' in scope
3013 | )
3014 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3021:5: error: cannot find 'uniffi_onde_fn_func_qwen25_3b_config' in scope
3019 | public func qwen253bConfig() -> GgufModelConfig {
3020 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3021 | uniffi_onde_fn_func_qwen25_3b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen25_3b_config' in scope
3022 | )
3023 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3030:5: error: cannot find 'uniffi_onde_fn_func_qwen3_0_6b_config' in scope
3028 | public func qwen306bConfig() -> GgufModelConfig {
3029 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3030 | uniffi_onde_fn_func_qwen3_0_6b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_0_6b_config' in scope
3031 | )
3032 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3039:5: error: cannot find 'uniffi_onde_fn_func_qwen3_14b_config' in scope
3037 | public func qwen314bConfig() -> GgufModelConfig {
3038 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3039 | uniffi_onde_fn_func_qwen3_14b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_14b_config' in scope
3040 | )
3041 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3048:5: error: cannot find 'uniffi_onde_fn_func_qwen3_1_7b_config' in scope
3046 | public func qwen317bConfig() -> GgufModelConfig {
3047 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3048 | uniffi_onde_fn_func_qwen3_1_7b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_1_7b_config' in scope
3049 | )
3050 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3057:5: error: cannot find 'uniffi_onde_fn_func_qwen3_30b_a3b_instruct_2507_config' in scope
3055 | public func qwen330bA3bInstruct2507Config() -> GgufModelConfig {
3056 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3057 | uniffi_onde_fn_func_qwen3_30b_a3b_instruct_2507_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_30b_a3b_instruct_2507_config' in scope
3058 | )
3059 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3066:5: error: cannot find 'uniffi_onde_fn_func_qwen3_32b_config' in scope
3064 | public func qwen332bConfig() -> GgufModelConfig {
3065 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3066 | uniffi_onde_fn_func_qwen3_32b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_32b_config' in scope
3067 | )
3068 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3075:5: error: cannot find 'uniffi_onde_fn_func_qwen3_4b_config' in scope
3073 | public func qwen34bConfig() -> GgufModelConfig {
3074 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3075 | uniffi_onde_fn_func_qwen3_4b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_4b_config' in scope
3076 | )
3077 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3086:5: error: cannot find 'uniffi_onde_fn_func_qwen3_4b_instruct_2507_config' in scope
3084 | public func qwen34bInstruct2507Config() -> GgufModelConfig {
3085 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3086 | uniffi_onde_fn_func_qwen3_4b_instruct_2507_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_4b_instruct_2507_config' in scope
3087 | )
3088 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3097:5: error: cannot find 'uniffi_onde_fn_func_qwen3_4b_thinking_2507_config' in scope
3095 | public func qwen34bThinking2507Config() -> GgufModelConfig {
3096 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3097 | uniffi_onde_fn_func_qwen3_4b_thinking_2507_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_4b_thinking_2507_config' in scope
3098 | )
3099 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3106:5: error: cannot find 'uniffi_onde_fn_func_qwen3_8b_config' in scope
3104 | public func qwen38bConfig() -> GgufModelConfig {
3105 | return try! FfiConverterTypeGgufModelConfig_lift(try! rustCall() {
3106 | uniffi_onde_fn_func_qwen3_8b_config($0
| `- error: cannot find 'uniffi_onde_fn_func_qwen3_8b_config' in scope
3107 | )
3108 | })
/host/spi-builder-workspace/Sources/Onde/onde.swift:3143:17: error: cannot find 'uniffi_onde_fn_func_stream_chat_message' in scope
3141 | try await uniffiRustCallAsync(
3142 | rustFutureFunc: {
3143 | 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
3144 | )
3145 | },
/host/spi-builder-workspace/Sources/Onde/onde.swift:3146:23: error: cannot find 'ffi_onde_rust_future_poll_void' in scope
3144 | )
3145 | },
3146 | pollFunc: ffi_onde_rust_future_poll_void,
| `- error: cannot find 'ffi_onde_rust_future_poll_void' in scope
3147 | completeFunc: ffi_onde_rust_future_complete_void,
3148 | freeFunc: ffi_onde_rust_future_free_void,
/host/spi-builder-workspace/Sources/Onde/onde.swift:3147:27: error: cannot find 'ffi_onde_rust_future_complete_void' in scope
3145 | },
3146 | pollFunc: ffi_onde_rust_future_poll_void,
3147 | completeFunc: ffi_onde_rust_future_complete_void,
| `- error: cannot find 'ffi_onde_rust_future_complete_void' in scope
3148 | freeFunc: ffi_onde_rust_future_free_void,
3149 | liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Onde/onde.swift:3148:23: error: cannot find 'ffi_onde_rust_future_free_void' in scope
3146 | pollFunc: ffi_onde_rust_future_poll_void,
3147 | completeFunc: ffi_onde_rust_future_complete_void,
3148 | freeFunc: ffi_onde_rust_future_free_void,
| `- error: cannot find 'ffi_onde_rust_future_free_void' in scope
3149 | liftFunc: { $0 },
3150 | errorHandler: FfiConverterTypeInferenceError_lift
/host/spi-builder-workspace/Sources/Onde/onde.swift:3158:5: error: cannot find 'uniffi_onde_fn_func_system_message' in scope
3156 | public func systemMessage(content: String) -> ChatMessage {
3157 | return try! FfiConverterTypeChatMessage_lift(try! rustCall() {
3158 | uniffi_onde_fn_func_system_message(
| `- error: cannot find 'uniffi_onde_fn_func_system_message' in scope
3159 | FfiConverterString.lower(content),$0
3160 | )
/host/spi-builder-workspace/Sources/Onde/onde.swift:3174:5: error: cannot find 'uniffi_onde_fn_func_uqff_model_config' in scope
3172 | public func uqffModelConfig(modelId: String, files: [String], displayName: String, approxMemory: String, chatTemplate: String?) -> UqffModelConfig {
3173 | return try! FfiConverterTypeUqffModelConfig_lift(try! rustCall() {
3174 | uniffi_onde_fn_func_uqff_model_config(
| `- error: cannot find 'uniffi_onde_fn_func_uqff_model_config' in scope
3175 | FfiConverterString.lower(modelId),
3176 | FfiConverterSequenceString.lower(files),
/host/spi-builder-workspace/Sources/Onde/onde.swift:3188:5: error: cannot find 'uniffi_onde_fn_func_user_message' in scope
3186 | public func userMessage(content: String) -> ChatMessage {
3187 | return try! FfiConverterTypeChatMessage_lift(try! rustCall() {
3188 | uniffi_onde_fn_func_user_message(
| `- error: cannot find 'uniffi_onde_fn_func_user_message' in scope
3189 | FfiConverterString.lower(content),$0
3190 | )
/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.2 wasm