The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ed, reference v1.0.2 (62a542), with Swift 6.2 for Linux on 5 Oct 2026 18:13:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ondeinference/ed-swift.git
Reference: v1.0.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/ed-swift
 * tag               v1.0.2     -> FETCH_HEAD
HEAD is now at 62a5426 Add GitHub workflows and update approval FFI shim (#1)
Cloned https://github.com/ondeinference/ed-swift.git
Revision (git rev-parse @):
62a5426fc3b0a689ee51f8622085b082059cb1bd
SUCCESS checkout https://github.com/ondeinference/ed-swift.git at v1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ondeinference/ed-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:24009fa1488c01937630ee3297a7a7a1872c773069724929dff85071fefc3743
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Downloading binary artifact https://github.com/ondeinference/ed/releases/download/v1.0.1/EdFramework.xcframework.zip
[16375/459436031] Downloading https://github.com/ondeinference/ed/releases/download/v1.0.1/EdFramework.xcframework.zip
Downloaded https://github.com/ondeinference/ed/releases/download/v1.0.1/EdFramework.xcframework.zip (34.60s)
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/5] Compiling Ed EdAgent.swift
[4/5] Emitting module Ed
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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 |     uniffiEnsureEdAgentFfiInitialized()
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.swift:977:15: error: type 'FfiConverterTypeFfiAgentConfig' 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
     :
 975 | @_documentation(visibility: private)
 976 | #endif
 977 | public struct FfiConverterTypeFfiAgentConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 978 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiAgentConfig {
 979 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:996:56: error: cannot find type 'RustBuffer' in scope
 994 | @_documentation(visibility: private)
 995 | #endif
 996 | public func FfiConverterTypeFfiAgentConfig_lift(_ buf: RustBuffer) throws -> FfiAgentConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
 997 |     return try FfiConverterTypeFfiAgentConfig.lift(buf)
 998 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1003:78: error: cannot find type 'RustBuffer' in scope
1001 | @_documentation(visibility: private)
1002 | #endif
1003 | public func FfiConverterTypeFfiAgentConfig_lower(_ value: FfiAgentConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1004 |     return FfiConverterTypeFfiAgentConfig.lower(value)
1005 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1035:15: error: type 'FfiConverterTypeFfiAgentReply' 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
     :
1033 | @_documentation(visibility: private)
1034 | #endif
1035 | public struct FfiConverterTypeFfiAgentReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiAgentReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1036 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiAgentReply {
1037 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1058:55: error: cannot find type 'RustBuffer' in scope
1056 | @_documentation(visibility: private)
1057 | #endif
1058 | public func FfiConverterTypeFfiAgentReply_lift(_ buf: RustBuffer) throws -> FfiAgentReply {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1059 |     return try FfiConverterTypeFfiAgentReply.lift(buf)
1060 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1065:76: error: cannot find type 'RustBuffer' in scope
1063 | @_documentation(visibility: private)
1064 | #endif
1065 | public func FfiConverterTypeFfiAgentReply_lower(_ value: FfiAgentReply) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1066 |     return FfiConverterTypeFfiAgentReply.lower(value)
1067 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1100:15: error: type 'FfiConverterTypeFfiApprovalRequest' 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
     :
1098 | @_documentation(visibility: private)
1099 | #endif
1100 | public struct FfiConverterTypeFfiApprovalRequest: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalRequest' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1101 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiApprovalRequest {
1102 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1119:60: error: cannot find type 'RustBuffer' in scope
1117 | @_documentation(visibility: private)
1118 | #endif
1119 | public func FfiConverterTypeFfiApprovalRequest_lift(_ buf: RustBuffer) throws -> FfiApprovalRequest {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1120 |     return try FfiConverterTypeFfiApprovalRequest.lift(buf)
1121 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1126:86: error: cannot find type 'RustBuffer' in scope
1124 | @_documentation(visibility: private)
1125 | #endif
1126 | public func FfiConverterTypeFfiApprovalRequest_lower(_ value: FfiApprovalRequest) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1127 |     return FfiConverterTypeFfiApprovalRequest.lower(value)
1128 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1154:15: error: type 'FfiConverterTypeFfiChatMessage' 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
     :
1152 | @_documentation(visibility: private)
1153 | #endif
1154 | public struct FfiConverterTypeFfiChatMessage: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1155 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiChatMessage {
1156 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1173:56: error: cannot find type 'RustBuffer' in scope
1171 | @_documentation(visibility: private)
1172 | #endif
1173 | public func FfiConverterTypeFfiChatMessage_lift(_ buf: RustBuffer) throws -> FfiChatMessage {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1174 |     return try FfiConverterTypeFfiChatMessage.lift(buf)
1175 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1180:78: error: cannot find type 'RustBuffer' in scope
1178 | @_documentation(visibility: private)
1179 | #endif
1180 | public func FfiConverterTypeFfiChatMessage_lower(_ value: FfiChatMessage) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1181 |     return FfiConverterTypeFfiChatMessage.lower(value)
1182 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1212:15: error: type 'FfiConverterTypeFfiEngineInfo' 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
     :
1210 | @_documentation(visibility: private)
1211 | #endif
1212 | public struct FfiConverterTypeFfiEngineInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1213 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiEngineInfo {
1214 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1235:55: error: cannot find type 'RustBuffer' in scope
1233 | @_documentation(visibility: private)
1234 | #endif
1235 | public func FfiConverterTypeFfiEngineInfo_lift(_ buf: RustBuffer) throws -> FfiEngineInfo {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1236 |     return try FfiConverterTypeFfiEngineInfo.lift(buf)
1237 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1242:76: error: cannot find type 'RustBuffer' in scope
1240 | @_documentation(visibility: private)
1241 | #endif
1242 | public func FfiConverterTypeFfiEngineInfo_lower(_ value: FfiEngineInfo) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1243 |     return FfiConverterTypeFfiEngineInfo.lower(value)
1244 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1278:15: error: type 'FfiConverterTypeFfiGgufModelConfig' 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
     :
1276 | @_documentation(visibility: private)
1277 | #endif
1278 | public struct FfiConverterTypeFfiGgufModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiGgufModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1279 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiGgufModelConfig {
1280 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1305:60: error: cannot find type 'RustBuffer' in scope
1303 | @_documentation(visibility: private)
1304 | #endif
1305 | public func FfiConverterTypeFfiGgufModelConfig_lift(_ buf: RustBuffer) throws -> FfiGgufModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1306 |     return try FfiConverterTypeFfiGgufModelConfig.lift(buf)
1307 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1312:86: error: cannot find type 'RustBuffer' in scope
1310 | @_documentation(visibility: private)
1311 | #endif
1312 | public func FfiConverterTypeFfiGgufModelConfig_lower(_ value: FfiGgufModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1313 |     return FfiConverterTypeFfiGgufModelConfig.lower(value)
1314 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1340:15: error: type 'FfiConverterTypeFfiReply' 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
     :
1338 | @_documentation(visibility: private)
1339 | #endif
1340 | public struct FfiConverterTypeFfiReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1341 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiReply {
1342 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1359:50: error: cannot find type 'RustBuffer' in scope
1357 | @_documentation(visibility: private)
1358 | #endif
1359 | public func FfiConverterTypeFfiReply_lift(_ buf: RustBuffer) throws -> FfiReply {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
1360 |     return try FfiConverterTypeFfiReply.lift(buf)
1361 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1366:66: error: cannot find type 'RustBuffer' in scope
1364 | @_documentation(visibility: private)
1365 | #endif
1366 | public func FfiConverterTypeFfiReply_lower(_ value: FfiReply) -> RustBuffer {
     |                                                                  `- error: cannot find type 'RustBuffer' in scope
1367 |     return FfiConverterTypeFfiReply.lower(value)
1368 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1404:15: error: type 'FfiConverterTypeFfiSamplingConfig' 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
     :
1402 | @_documentation(visibility: private)
1403 | #endif
1404 | public struct FfiConverterTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1405 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiSamplingConfig {
1406 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1433:59: error: cannot find type 'RustBuffer' in scope
1431 | @_documentation(visibility: private)
1432 | #endif
1433 | public func FfiConverterTypeFfiSamplingConfig_lift(_ buf: RustBuffer) throws -> FfiSamplingConfig {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1434 |     return try FfiConverterTypeFfiSamplingConfig.lift(buf)
1435 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1440:84: error: cannot find type 'RustBuffer' in scope
1438 | @_documentation(visibility: private)
1439 | #endif
1440 | public func FfiConverterTypeFfiSamplingConfig_lower(_ value: FfiSamplingConfig) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1441 |     return FfiConverterTypeFfiSamplingConfig.lower(value)
1442 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1470:15: error: type 'FfiConverterTypeFfiStatusUpdate' 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
     :
1468 | @_documentation(visibility: private)
1469 | #endif
1470 | public struct FfiConverterTypeFfiStatusUpdate: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiStatusUpdate' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1471 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiStatusUpdate {
1472 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1491:57: error: cannot find type 'RustBuffer' in scope
1489 | @_documentation(visibility: private)
1490 | #endif
1491 | public func FfiConverterTypeFfiStatusUpdate_lift(_ buf: RustBuffer) throws -> FfiStatusUpdate {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1492 |     return try FfiConverterTypeFfiStatusUpdate.lift(buf)
1493 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1498:80: error: cannot find type 'RustBuffer' in scope
1496 | @_documentation(visibility: private)
1497 | #endif
1498 | public func FfiConverterTypeFfiStatusUpdate_lower(_ value: FfiStatusUpdate) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1499 |     return FfiConverterTypeFfiStatusUpdate.lower(value)
1500 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1528:15: error: type 'FfiConverterTypeFfiToolCall' 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
     :
1526 | @_documentation(visibility: private)
1527 | #endif
1528 | public struct FfiConverterTypeFfiToolCall: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolCall' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1529 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolCall {
1530 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1549:53: error: cannot find type 'RustBuffer' in scope
1547 | @_documentation(visibility: private)
1548 | #endif
1549 | public func FfiConverterTypeFfiToolCall_lift(_ buf: RustBuffer) throws -> FfiToolCall {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1550 |     return try FfiConverterTypeFfiToolCall.lift(buf)
1551 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1556:72: error: cannot find type 'RustBuffer' in scope
1554 | @_documentation(visibility: private)
1555 | #endif
1556 | public func FfiConverterTypeFfiToolCall_lower(_ value: FfiToolCall) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1557 |     return FfiConverterTypeFfiToolCall.lower(value)
1558 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1588:15: error: type 'FfiConverterTypeFfiToolDefinition' 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
     :
1586 | @_documentation(visibility: private)
1587 | #endif
1588 | public struct FfiConverterTypeFfiToolDefinition: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolDefinition' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1589 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolDefinition {
1590 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1611:59: error: cannot find type 'RustBuffer' in scope
1609 | @_documentation(visibility: private)
1610 | #endif
1611 | public func FfiConverterTypeFfiToolDefinition_lift(_ buf: RustBuffer) throws -> FfiToolDefinition {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1612 |     return try FfiConverterTypeFfiToolDefinition.lift(buf)
1613 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1618:84: error: cannot find type 'RustBuffer' in scope
1616 | @_documentation(visibility: private)
1617 | #endif
1618 | public func FfiConverterTypeFfiToolDefinition_lower(_ value: FfiToolDefinition) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1619 |     return FfiConverterTypeFfiToolDefinition.lower(value)
1620 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1646:15: error: type 'FfiConverterTypeFfiToolOutput' 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
     :
1644 | @_documentation(visibility: private)
1645 | #endif
1646 | public struct FfiConverterTypeFfiToolOutput: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolOutput' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1647 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolOutput {
1648 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1665:55: error: cannot find type 'RustBuffer' in scope
1663 | @_documentation(visibility: private)
1664 | #endif
1665 | public func FfiConverterTypeFfiToolOutput_lift(_ buf: RustBuffer) throws -> FfiToolOutput {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1666 |     return try FfiConverterTypeFfiToolOutput.lift(buf)
1667 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1672:76: error: cannot find type 'RustBuffer' in scope
1670 | @_documentation(visibility: private)
1671 | #endif
1672 | public func FfiConverterTypeFfiToolOutput_lower(_ value: FfiToolOutput) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1673 |     return FfiConverterTypeFfiToolOutput.lower(value)
1674 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1706:15: error: type 'FfiConverterTypeFfiUqffModelConfig' 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
     :
1704 | @_documentation(visibility: private)
1705 | #endif
1706 | public struct FfiConverterTypeFfiUqffModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiUqffModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1707 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiUqffModelConfig {
1708 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1731:60: error: cannot find type 'RustBuffer' in scope
1729 | @_documentation(visibility: private)
1730 | #endif
1731 | public func FfiConverterTypeFfiUqffModelConfig_lift(_ buf: RustBuffer) throws -> FfiUqffModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1732 |     return try FfiConverterTypeFfiUqffModelConfig.lift(buf)
1733 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1738:86: error: cannot find type 'RustBuffer' in scope
1736 | @_documentation(visibility: private)
1737 | #endif
1738 | public func FfiConverterTypeFfiUqffModelConfig_lower(_ value: FfiUqffModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1739 |     return FfiConverterTypeFfiUqffModelConfig.lower(value)
1740 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1764:15: error: type 'FfiConverterTypeFfiApprovalDecision' 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 |
     :
1762 | @_documentation(visibility: private)
1763 | #endif
1764 | public struct FfiConverterTypeFfiApprovalDecision: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalDecision' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1765 |     typealias SwiftType = FfiApprovalDecision
1766 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1804:61: error: cannot find type 'RustBuffer' in scope
1802 | @_documentation(visibility: private)
1803 | #endif
1804 | public func FfiConverterTypeFfiApprovalDecision_lift(_ buf: RustBuffer) throws -> FfiApprovalDecision {
     |                                                             `- error: cannot find type 'RustBuffer' in scope
1805 |     return try FfiConverterTypeFfiApprovalDecision.lift(buf)
1806 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1811:88: error: cannot find type 'RustBuffer' in scope
1809 | @_documentation(visibility: private)
1810 | #endif
1811 | public func FfiConverterTypeFfiApprovalDecision_lower(_ value: FfiApprovalDecision) -> RustBuffer {
     |                                                                                        `- error: cannot find type 'RustBuffer' in scope
1812 |     return FfiConverterTypeFfiApprovalDecision.lower(value)
1813 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1838:15: error: type 'FfiConverterTypeFfiChatRole' 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 |
     :
1836 | @_documentation(visibility: private)
1837 | #endif
1838 | public struct FfiConverterTypeFfiChatRole: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatRole' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1839 |     typealias SwiftType = FfiChatRole
1840 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1878:53: error: cannot find type 'RustBuffer' in scope
1876 | @_documentation(visibility: private)
1877 | #endif
1878 | public func FfiConverterTypeFfiChatRole_lift(_ buf: RustBuffer) throws -> FfiChatRole {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1879 |     return try FfiConverterTypeFfiChatRole.lift(buf)
1880 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1885:72: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeFfiChatRole_lower(_ value: FfiChatRole) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1886 |     return FfiConverterTypeFfiChatRole.lower(value)
1887 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1916:15: error: type 'FfiConverterTypeFfiEdError' 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 |
     :
1914 | @_documentation(visibility: private)
1915 | #endif
1916 | public struct FfiConverterTypeFfiEdError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEdError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1917 |     typealias SwiftType = FfiEdError
1918 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1953:52: error: cannot find type 'RustBuffer' in scope
1951 | @_documentation(visibility: private)
1952 | #endif
1953 | public func FfiConverterTypeFfiEdError_lift(_ buf: RustBuffer) throws -> FfiEdError {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1954 |     return try FfiConverterTypeFfiEdError.lift(buf)
1955 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1960:70: error: cannot find type 'RustBuffer' in scope
1958 | @_documentation(visibility: private)
1959 | #endif
1960 | public func FfiConverterTypeFfiEdError_lower(_ value: FfiEdError) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1961 |     return FfiConverterTypeFfiEdError.lower(value)
1962 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1988:15: error: type 'FfiConverterTypeFfiEngineStatus' 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 |
     :
1986 | @_documentation(visibility: private)
1987 | #endif
1988 | public struct FfiConverterTypeFfiEngineStatus: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineStatus' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1989 |     typealias SwiftType = FfiEngineStatus
1990 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2040:57: error: cannot find type 'RustBuffer' in scope
2038 | @_documentation(visibility: private)
2039 | #endif
2040 | public func FfiConverterTypeFfiEngineStatus_lift(_ buf: RustBuffer) throws -> FfiEngineStatus {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
2041 |     return try FfiConverterTypeFfiEngineStatus.lift(buf)
2042 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2047:80: error: cannot find type 'RustBuffer' in scope
2045 | @_documentation(visibility: private)
2046 | #endif
2047 | public func FfiConverterTypeFfiEngineStatus_lower(_ value: FfiEngineStatus) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
2048 |     return FfiConverterTypeFfiEngineStatus.lower(value)
2049 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2073:15: error: type 'FfiConverterTypeFfiEnvironment' 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 |
     :
2071 | @_documentation(visibility: private)
2072 | #endif
2073 | public struct FfiConverterTypeFfiEnvironment: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEnvironment' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2074 |     typealias SwiftType = FfiEnvironment
2075 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2107:56: error: cannot find type 'RustBuffer' in scope
2105 | @_documentation(visibility: private)
2106 | #endif
2107 | public func FfiConverterTypeFfiEnvironment_lift(_ buf: RustBuffer) throws -> FfiEnvironment {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
2108 |     return try FfiConverterTypeFfiEnvironment.lift(buf)
2109 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2114:78: error: cannot find type 'RustBuffer' in scope
2112 | @_documentation(visibility: private)
2113 | #endif
2114 | public func FfiConverterTypeFfiEnvironment_lower(_ value: FfiEnvironment) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
2115 |     return FfiConverterTypeFfiEnvironment.lower(value)
2116 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2140:15: error: type 'FfiConverterTypeFfiToolRisk' 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 |
     :
2138 | @_documentation(visibility: private)
2139 | #endif
2140 | public struct FfiConverterTypeFfiToolRisk: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolRisk' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2141 |     typealias SwiftType = FfiToolRisk
2142 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2174:53: error: cannot find type 'RustBuffer' in scope
2172 | @_documentation(visibility: private)
2173 | #endif
2174 | public func FfiConverterTypeFfiToolRisk_lift(_ buf: RustBuffer) throws -> FfiToolRisk {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
2175 |     return try FfiConverterTypeFfiToolRisk.lift(buf)
2176 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2181:72: error: cannot find type 'RustBuffer' in scope
2179 | @_documentation(visibility: private)
2180 | #endif
2181 | public func FfiConverterTypeFfiToolRisk_lower(_ value: FfiToolRisk) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
2182 |     return FfiConverterTypeFfiToolRisk.lower(value)
2183 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2204:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2202 |     // This creates 1-element array, since this seems to be the only way to construct a const
2203 |     // pointer that we can pass to the Rust code.
2204 |     static let vtable: [UniffiVTableCallbackInterfaceFfiApprovalHandler] = [UniffiVTableCallbackInterfaceFfiApprovalHandler(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2205 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2206 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2358:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2356 |     // This creates 1-element array, since this seems to be the only way to construct a const
2357 |     // pointer that we can pass to the Rust code.
2358 |     static let vtable: [UniffiVTableCallbackInterfaceFfiEventListener] = [UniffiVTableCallbackInterfaceFfiEventListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2359 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2360 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2630:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2628 |     // This creates 1-element array, since this seems to be the only way to construct a const
2629 |     // pointer that we can pass to the Rust code.
2630 |     static let vtable: [UniffiVTableCallbackInterfaceFfiToolExecutor] = [UniffiVTableCallbackInterfaceFfiToolExecutor(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2631 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2632 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2759: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 |
     :
2757 | @_documentation(visibility: private)
2758 | #endif
2759 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2760 |     typealias SwiftType = UInt64?
2761 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2783: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 |
     :
2781 | @_documentation(visibility: private)
2782 | #endif
2783 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2784 |     typealias SwiftType = Float?
2785 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2807: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 |
     :
2805 | @_documentation(visibility: private)
2806 | #endif
2807 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2808 |     typealias SwiftType = Double?
2809 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2831: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 |
     :
2829 | @_documentation(visibility: private)
2830 | #endif
2831 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2832 |     typealias SwiftType = String?
2833 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2855:20: error: type 'FfiConverterOptionTypeFfiAgentConfig' 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 |
     :
2853 | @_documentation(visibility: private)
2854 | #endif
2855 | fileprivate struct FfiConverterOptionTypeFfiAgentConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2856 |     typealias SwiftType = FfiAgentConfig?
2857 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2879:20: error: type 'FfiConverterOptionTypeFfiSamplingConfig' 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 |
     :
2877 | @_documentation(visibility: private)
2878 | #endif
2879 | fileprivate struct FfiConverterOptionTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2880 |     typealias SwiftType = FfiSamplingConfig?
2881 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2903: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 |
     :
2901 | @_documentation(visibility: private)
2902 | #endif
2903 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2904 |     typealias SwiftType = [String]
2905 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2928:20: error: type 'FfiConverterSequenceTypeFfiChatMessage' 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 |
     :
2926 | @_documentation(visibility: private)
2927 | #endif
2928 | fileprivate struct FfiConverterSequenceTypeFfiChatMessage: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2929 |     typealias SwiftType = [FfiChatMessage]
2930 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2956:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2954 | fileprivate func uniffiRustCallAsync<F, T>(
2955 |     rustFutureFunc: () -> UInt64,
2956 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2957 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2958 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2956:24: error: @escaping attribute only applies to function types
2954 | fileprivate func uniffiRustCallAsync<F, T>(
2955 |     rustFutureFunc: () -> UInt64,
2956 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: @escaping attribute only applies to function types
2957 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2958 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2957:49: error: cannot find type 'RustCallStatus' in scope
2955 |     rustFutureFunc: () -> UInt64,
2956 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
2957 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
2958 |     freeFunc: (UInt64) -> (),
2959 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2960:21: error: cannot find type 'RustBuffer' in scope
2958 |     freeFunc: (UInt64) -> (),
2959 |     liftFunc: (F) throws -> T,
2960 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
2961 | ) async throws -> T {
2962 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3000:35: error: cannot find type 'RustBuffer' in scope
2998 |     makeCall: @escaping () async throws -> T,
2999 |     handleSuccess: @escaping (T) -> (),
3000 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3001 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3002 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3001:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
2999 |     handleSuccess: @escaping (T) -> (),
3000 |     handleError: @escaping (Int8, RustBuffer) -> (),
3001 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3002 | ) {
3003 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3031:35: error: cannot find type 'RustBuffer' in scope
3029 |     makeCall: @escaping () async throws -> T,
3030 |     handleSuccess: @escaping (T) -> (),
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3032 |     lowerError: @escaping (E) -> RustBuffer,
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3032:34: error: cannot find type 'RustBuffer' in scope
3030 |     handleSuccess: @escaping (T) -> (),
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
3032 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3034 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3032:17: error: @escaping attribute only applies to function types
3030 |     handleSuccess: @escaping (T) -> (),
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
3032 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3034 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3033:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
3032 |     lowerError: @escaping (E) -> RustBuffer,
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3034 | ) {
3035 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3111:40: error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3109 |     let bindings_contract_version = 30
3110 |     // Get the scaffolding contract version by calling the into the dylib
3111 |     let scaffolding_contract_version = ffi_ed_agent_ffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3112 |     if bindings_contract_version != scaffolding_contract_version {
3113 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3115:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_configure_cache_dir' in scope
3113 |         return InitializationResult.contractVersionMismatch
3114 |     }
3115 |     if (uniffi_ed_agent_ffi_checksum_func_configure_cache_dir() != 30620) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_func_configure_cache_dir' in scope
3116 |         return InitializationResult.apiChecksumMismatch
3117 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3118:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_default_agent_model_config' in scope
3116 |         return InitializationResult.apiChecksumMismatch
3117 |     }
3118 |     if (uniffi_ed_agent_ffi_checksum_func_default_agent_model_config() != 44321) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_func_default_agent_model_config' in scope
3119 |         return InitializationResult.apiChecksumMismatch
3120 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3121:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3119 |         return InitializationResult.apiChecksumMismatch
3120 |     }
3121 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel() != 42085) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3122 |         return InitializationResult.apiChecksumMismatch
3123 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3124:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history' in scope
3122 |         return InitializationResult.apiChecksumMismatch
3123 |     }
3124 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history() != 19615) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history' in scope
3125 |         return InitializationResult.apiChecksumMismatch
3126 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3127:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3125 |         return InitializationResult.apiChecksumMismatch
3126 |     }
3127 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_history() != 36014) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3128 |         return InitializationResult.apiChecksumMismatch
3129 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3130:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3128 |         return InitializationResult.apiChecksumMismatch
3129 |     }
3130 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_info() != 9944) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3131 |         return InitializationResult.apiChecksumMismatch
3132 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3133:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded' in scope
3131 |         return InitializationResult.apiChecksumMismatch
3132 |     }
3133 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded() != 28871) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded' in scope
3134 |         return InitializationResult.apiChecksumMismatch
3135 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3136:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model' in scope
3134 |         return InitializationResult.apiChecksumMismatch
3135 |     }
3136 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model() != 60966) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model' in scope
3137 |         return InitializationResult.apiChecksumMismatch
3138 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3139:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model' in scope
3137 |         return InitializationResult.apiChecksumMismatch
3138 |     }
3139 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model() != 47518) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model' in scope
3140 |         return InitializationResult.apiChecksumMismatch
3141 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3142:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model' in scope
3140 |         return InitializationResult.apiChecksumMismatch
3141 |     }
3142 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model() != 17854) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model' in scope
3143 |         return InitializationResult.apiChecksumMismatch
3144 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3145:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model' in scope
3143 |         return InitializationResult.apiChecksumMismatch
3144 |     }
3145 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model() != 11023) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model' in scope
3146 |         return InitializationResult.apiChecksumMismatch
3147 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3148:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool' in scope
3146 |         return InitializationResult.apiChecksumMismatch
3147 |     }
3148 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool() != 34863) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool' in scope
3149 |         return InitializationResult.apiChecksumMismatch
3150 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3151:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools' in scope
3149 |         return InitializationResult.apiChecksumMismatch
3150 |     }
3151 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools() != 36535) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools' in scope
3152 |         return InitializationResult.apiChecksumMismatch
3153 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3154:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3152 |         return InitializationResult.apiChecksumMismatch
3153 |     }
3154 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_run() != 39233) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3155 |         return InitializationResult.apiChecksumMismatch
3156 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3157:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3155 |         return InitializationResult.apiChecksumMismatch
3156 |     }
3157 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_send() != 839) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3158 |         return InitializationResult.apiChecksumMismatch
3159 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3160:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3158 |         return InitializationResult.apiChecksumMismatch
3159 |     }
3160 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload() != 29612) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3161 |         return InitializationResult.apiChecksumMismatch
3162 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3163:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool' in scope
3161 |         return InitializationResult.apiChecksumMismatch
3162 |     }
3163 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool() != 63973) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool' in scope
3164 |         return InitializationResult.apiChecksumMismatch
3165 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3166:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3164 |         return InitializationResult.apiChecksumMismatch
3165 |     }
3166 |     if (uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new() != 19584) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3167 |         return InitializationResult.apiChecksumMismatch
3168 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3169:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3167 |         return InitializationResult.apiChecksumMismatch
3168 |     }
3169 |     if (uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve() != 9982) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3170 |         return InitializationResult.apiChecksumMismatch
3171 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3172:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed' in scope
3170 |         return InitializationResult.apiChecksumMismatch
3171 |     }
3172 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed() != 50680) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed' in scope
3173 |         return InitializationResult.apiChecksumMismatch
3174 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3175:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3173 |         return InitializationResult.apiChecksumMismatch
3174 |     }
3175 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested() != 58928) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3176 |         return InitializationResult.apiChecksumMismatch
3177 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3178:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3176 |         return InitializationResult.apiChecksumMismatch
3177 |     }
3178 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested() != 13081) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3179 |         return InitializationResult.apiChecksumMismatch
3180 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3181:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3179 |         return InitializationResult.apiChecksumMismatch
3180 |     }
3181 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started() != 23754) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3182 |         return InitializationResult.apiChecksumMismatch
3183 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3184:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3182 |         return InitializationResult.apiChecksumMismatch
3183 |     }
3184 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished() != 4350) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3185 |         return InitializationResult.apiChecksumMismatch
3186 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3187:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3185 |         return InitializationResult.apiChecksumMismatch
3186 |     }
3187 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied() != 33842) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3188 |         return InitializationResult.apiChecksumMismatch
3189 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3190:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3188 |         return InitializationResult.apiChecksumMismatch
3189 |     }
3190 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning() != 43170) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3191 |         return InitializationResult.apiChecksumMismatch
3192 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3193:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3191 |         return InitializationResult.apiChecksumMismatch
3192 |     }
3193 |     if (uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute() != 36465) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3194 |         return InitializationResult.apiChecksumMismatch
3195 |     }
[5/5] Compiling Ed ed_agent_ffi.swift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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 |     uniffiEnsureEdAgentFfiInitialized()
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.swift:977:15: error: type 'FfiConverterTypeFfiAgentConfig' 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
     :
 975 | @_documentation(visibility: private)
 976 | #endif
 977 | public struct FfiConverterTypeFfiAgentConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
 978 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiAgentConfig {
 979 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:996:56: error: cannot find type 'RustBuffer' in scope
 994 | @_documentation(visibility: private)
 995 | #endif
 996 | public func FfiConverterTypeFfiAgentConfig_lift(_ buf: RustBuffer) throws -> FfiAgentConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
 997 |     return try FfiConverterTypeFfiAgentConfig.lift(buf)
 998 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1003:78: error: cannot find type 'RustBuffer' in scope
1001 | @_documentation(visibility: private)
1002 | #endif
1003 | public func FfiConverterTypeFfiAgentConfig_lower(_ value: FfiAgentConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1004 |     return FfiConverterTypeFfiAgentConfig.lower(value)
1005 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1035:15: error: type 'FfiConverterTypeFfiAgentReply' 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
     :
1033 | @_documentation(visibility: private)
1034 | #endif
1035 | public struct FfiConverterTypeFfiAgentReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiAgentReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1036 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiAgentReply {
1037 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1058:55: error: cannot find type 'RustBuffer' in scope
1056 | @_documentation(visibility: private)
1057 | #endif
1058 | public func FfiConverterTypeFfiAgentReply_lift(_ buf: RustBuffer) throws -> FfiAgentReply {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1059 |     return try FfiConverterTypeFfiAgentReply.lift(buf)
1060 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1065:76: error: cannot find type 'RustBuffer' in scope
1063 | @_documentation(visibility: private)
1064 | #endif
1065 | public func FfiConverterTypeFfiAgentReply_lower(_ value: FfiAgentReply) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1066 |     return FfiConverterTypeFfiAgentReply.lower(value)
1067 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1100:15: error: type 'FfiConverterTypeFfiApprovalRequest' 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
     :
1098 | @_documentation(visibility: private)
1099 | #endif
1100 | public struct FfiConverterTypeFfiApprovalRequest: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalRequest' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1101 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiApprovalRequest {
1102 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1119:60: error: cannot find type 'RustBuffer' in scope
1117 | @_documentation(visibility: private)
1118 | #endif
1119 | public func FfiConverterTypeFfiApprovalRequest_lift(_ buf: RustBuffer) throws -> FfiApprovalRequest {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1120 |     return try FfiConverterTypeFfiApprovalRequest.lift(buf)
1121 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1126:86: error: cannot find type 'RustBuffer' in scope
1124 | @_documentation(visibility: private)
1125 | #endif
1126 | public func FfiConverterTypeFfiApprovalRequest_lower(_ value: FfiApprovalRequest) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1127 |     return FfiConverterTypeFfiApprovalRequest.lower(value)
1128 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1154:15: error: type 'FfiConverterTypeFfiChatMessage' 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
     :
1152 | @_documentation(visibility: private)
1153 | #endif
1154 | public struct FfiConverterTypeFfiChatMessage: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1155 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiChatMessage {
1156 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1173:56: error: cannot find type 'RustBuffer' in scope
1171 | @_documentation(visibility: private)
1172 | #endif
1173 | public func FfiConverterTypeFfiChatMessage_lift(_ buf: RustBuffer) throws -> FfiChatMessage {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1174 |     return try FfiConverterTypeFfiChatMessage.lift(buf)
1175 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1180:78: error: cannot find type 'RustBuffer' in scope
1178 | @_documentation(visibility: private)
1179 | #endif
1180 | public func FfiConverterTypeFfiChatMessage_lower(_ value: FfiChatMessage) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1181 |     return FfiConverterTypeFfiChatMessage.lower(value)
1182 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1212:15: error: type 'FfiConverterTypeFfiEngineInfo' 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
     :
1210 | @_documentation(visibility: private)
1211 | #endif
1212 | public struct FfiConverterTypeFfiEngineInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1213 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiEngineInfo {
1214 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1235:55: error: cannot find type 'RustBuffer' in scope
1233 | @_documentation(visibility: private)
1234 | #endif
1235 | public func FfiConverterTypeFfiEngineInfo_lift(_ buf: RustBuffer) throws -> FfiEngineInfo {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1236 |     return try FfiConverterTypeFfiEngineInfo.lift(buf)
1237 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1242:76: error: cannot find type 'RustBuffer' in scope
1240 | @_documentation(visibility: private)
1241 | #endif
1242 | public func FfiConverterTypeFfiEngineInfo_lower(_ value: FfiEngineInfo) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1243 |     return FfiConverterTypeFfiEngineInfo.lower(value)
1244 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1278:15: error: type 'FfiConverterTypeFfiGgufModelConfig' 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
     :
1276 | @_documentation(visibility: private)
1277 | #endif
1278 | public struct FfiConverterTypeFfiGgufModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiGgufModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1279 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiGgufModelConfig {
1280 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1305:60: error: cannot find type 'RustBuffer' in scope
1303 | @_documentation(visibility: private)
1304 | #endif
1305 | public func FfiConverterTypeFfiGgufModelConfig_lift(_ buf: RustBuffer) throws -> FfiGgufModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1306 |     return try FfiConverterTypeFfiGgufModelConfig.lift(buf)
1307 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1312:86: error: cannot find type 'RustBuffer' in scope
1310 | @_documentation(visibility: private)
1311 | #endif
1312 | public func FfiConverterTypeFfiGgufModelConfig_lower(_ value: FfiGgufModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1313 |     return FfiConverterTypeFfiGgufModelConfig.lower(value)
1314 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1340:15: error: type 'FfiConverterTypeFfiReply' 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
     :
1338 | @_documentation(visibility: private)
1339 | #endif
1340 | public struct FfiConverterTypeFfiReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1341 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiReply {
1342 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1359:50: error: cannot find type 'RustBuffer' in scope
1357 | @_documentation(visibility: private)
1358 | #endif
1359 | public func FfiConverterTypeFfiReply_lift(_ buf: RustBuffer) throws -> FfiReply {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
1360 |     return try FfiConverterTypeFfiReply.lift(buf)
1361 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1366:66: error: cannot find type 'RustBuffer' in scope
1364 | @_documentation(visibility: private)
1365 | #endif
1366 | public func FfiConverterTypeFfiReply_lower(_ value: FfiReply) -> RustBuffer {
     |                                                                  `- error: cannot find type 'RustBuffer' in scope
1367 |     return FfiConverterTypeFfiReply.lower(value)
1368 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1404:15: error: type 'FfiConverterTypeFfiSamplingConfig' 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
     :
1402 | @_documentation(visibility: private)
1403 | #endif
1404 | public struct FfiConverterTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1405 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiSamplingConfig {
1406 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1433:59: error: cannot find type 'RustBuffer' in scope
1431 | @_documentation(visibility: private)
1432 | #endif
1433 | public func FfiConverterTypeFfiSamplingConfig_lift(_ buf: RustBuffer) throws -> FfiSamplingConfig {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1434 |     return try FfiConverterTypeFfiSamplingConfig.lift(buf)
1435 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1440:84: error: cannot find type 'RustBuffer' in scope
1438 | @_documentation(visibility: private)
1439 | #endif
1440 | public func FfiConverterTypeFfiSamplingConfig_lower(_ value: FfiSamplingConfig) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1441 |     return FfiConverterTypeFfiSamplingConfig.lower(value)
1442 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1470:15: error: type 'FfiConverterTypeFfiStatusUpdate' 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
     :
1468 | @_documentation(visibility: private)
1469 | #endif
1470 | public struct FfiConverterTypeFfiStatusUpdate: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiStatusUpdate' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1471 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiStatusUpdate {
1472 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1491:57: error: cannot find type 'RustBuffer' in scope
1489 | @_documentation(visibility: private)
1490 | #endif
1491 | public func FfiConverterTypeFfiStatusUpdate_lift(_ buf: RustBuffer) throws -> FfiStatusUpdate {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1492 |     return try FfiConverterTypeFfiStatusUpdate.lift(buf)
1493 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1498:80: error: cannot find type 'RustBuffer' in scope
1496 | @_documentation(visibility: private)
1497 | #endif
1498 | public func FfiConverterTypeFfiStatusUpdate_lower(_ value: FfiStatusUpdate) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1499 |     return FfiConverterTypeFfiStatusUpdate.lower(value)
1500 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1528:15: error: type 'FfiConverterTypeFfiToolCall' 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
     :
1526 | @_documentation(visibility: private)
1527 | #endif
1528 | public struct FfiConverterTypeFfiToolCall: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolCall' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1529 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolCall {
1530 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1549:53: error: cannot find type 'RustBuffer' in scope
1547 | @_documentation(visibility: private)
1548 | #endif
1549 | public func FfiConverterTypeFfiToolCall_lift(_ buf: RustBuffer) throws -> FfiToolCall {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1550 |     return try FfiConverterTypeFfiToolCall.lift(buf)
1551 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1556:72: error: cannot find type 'RustBuffer' in scope
1554 | @_documentation(visibility: private)
1555 | #endif
1556 | public func FfiConverterTypeFfiToolCall_lower(_ value: FfiToolCall) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1557 |     return FfiConverterTypeFfiToolCall.lower(value)
1558 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1588:15: error: type 'FfiConverterTypeFfiToolDefinition' 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
     :
1586 | @_documentation(visibility: private)
1587 | #endif
1588 | public struct FfiConverterTypeFfiToolDefinition: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolDefinition' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1589 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolDefinition {
1590 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1611:59: error: cannot find type 'RustBuffer' in scope
1609 | @_documentation(visibility: private)
1610 | #endif
1611 | public func FfiConverterTypeFfiToolDefinition_lift(_ buf: RustBuffer) throws -> FfiToolDefinition {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1612 |     return try FfiConverterTypeFfiToolDefinition.lift(buf)
1613 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1618:84: error: cannot find type 'RustBuffer' in scope
1616 | @_documentation(visibility: private)
1617 | #endif
1618 | public func FfiConverterTypeFfiToolDefinition_lower(_ value: FfiToolDefinition) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1619 |     return FfiConverterTypeFfiToolDefinition.lower(value)
1620 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1646:15: error: type 'FfiConverterTypeFfiToolOutput' 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
     :
1644 | @_documentation(visibility: private)
1645 | #endif
1646 | public struct FfiConverterTypeFfiToolOutput: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolOutput' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1647 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolOutput {
1648 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1665:55: error: cannot find type 'RustBuffer' in scope
1663 | @_documentation(visibility: private)
1664 | #endif
1665 | public func FfiConverterTypeFfiToolOutput_lift(_ buf: RustBuffer) throws -> FfiToolOutput {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1666 |     return try FfiConverterTypeFfiToolOutput.lift(buf)
1667 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1672:76: error: cannot find type 'RustBuffer' in scope
1670 | @_documentation(visibility: private)
1671 | #endif
1672 | public func FfiConverterTypeFfiToolOutput_lower(_ value: FfiToolOutput) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1673 |     return FfiConverterTypeFfiToolOutput.lower(value)
1674 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1706:15: error: type 'FfiConverterTypeFfiUqffModelConfig' 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
     :
1704 | @_documentation(visibility: private)
1705 | #endif
1706 | public struct FfiConverterTypeFfiUqffModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiUqffModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1707 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiUqffModelConfig {
1708 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1731:60: error: cannot find type 'RustBuffer' in scope
1729 | @_documentation(visibility: private)
1730 | #endif
1731 | public func FfiConverterTypeFfiUqffModelConfig_lift(_ buf: RustBuffer) throws -> FfiUqffModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1732 |     return try FfiConverterTypeFfiUqffModelConfig.lift(buf)
1733 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1738:86: error: cannot find type 'RustBuffer' in scope
1736 | @_documentation(visibility: private)
1737 | #endif
1738 | public func FfiConverterTypeFfiUqffModelConfig_lower(_ value: FfiUqffModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1739 |     return FfiConverterTypeFfiUqffModelConfig.lower(value)
1740 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1764:15: error: type 'FfiConverterTypeFfiApprovalDecision' 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 |
     :
1762 | @_documentation(visibility: private)
1763 | #endif
1764 | public struct FfiConverterTypeFfiApprovalDecision: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalDecision' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1765 |     typealias SwiftType = FfiApprovalDecision
1766 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1804:61: error: cannot find type 'RustBuffer' in scope
1802 | @_documentation(visibility: private)
1803 | #endif
1804 | public func FfiConverterTypeFfiApprovalDecision_lift(_ buf: RustBuffer) throws -> FfiApprovalDecision {
     |                                                             `- error: cannot find type 'RustBuffer' in scope
1805 |     return try FfiConverterTypeFfiApprovalDecision.lift(buf)
1806 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1811:88: error: cannot find type 'RustBuffer' in scope
1809 | @_documentation(visibility: private)
1810 | #endif
1811 | public func FfiConverterTypeFfiApprovalDecision_lower(_ value: FfiApprovalDecision) -> RustBuffer {
     |                                                                                        `- error: cannot find type 'RustBuffer' in scope
1812 |     return FfiConverterTypeFfiApprovalDecision.lower(value)
1813 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1838:15: error: type 'FfiConverterTypeFfiChatRole' 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 |
     :
1836 | @_documentation(visibility: private)
1837 | #endif
1838 | public struct FfiConverterTypeFfiChatRole: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatRole' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1839 |     typealias SwiftType = FfiChatRole
1840 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1878:53: error: cannot find type 'RustBuffer' in scope
1876 | @_documentation(visibility: private)
1877 | #endif
1878 | public func FfiConverterTypeFfiChatRole_lift(_ buf: RustBuffer) throws -> FfiChatRole {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1879 |     return try FfiConverterTypeFfiChatRole.lift(buf)
1880 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1885:72: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeFfiChatRole_lower(_ value: FfiChatRole) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1886 |     return FfiConverterTypeFfiChatRole.lower(value)
1887 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1916:15: error: type 'FfiConverterTypeFfiEdError' 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 |
     :
1914 | @_documentation(visibility: private)
1915 | #endif
1916 | public struct FfiConverterTypeFfiEdError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEdError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1917 |     typealias SwiftType = FfiEdError
1918 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1953:52: error: cannot find type 'RustBuffer' in scope
1951 | @_documentation(visibility: private)
1952 | #endif
1953 | public func FfiConverterTypeFfiEdError_lift(_ buf: RustBuffer) throws -> FfiEdError {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
1954 |     return try FfiConverterTypeFfiEdError.lift(buf)
1955 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1960:70: error: cannot find type 'RustBuffer' in scope
1958 | @_documentation(visibility: private)
1959 | #endif
1960 | public func FfiConverterTypeFfiEdError_lower(_ value: FfiEdError) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
1961 |     return FfiConverterTypeFfiEdError.lower(value)
1962 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1988:15: error: type 'FfiConverterTypeFfiEngineStatus' 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 |
     :
1986 | @_documentation(visibility: private)
1987 | #endif
1988 | public struct FfiConverterTypeFfiEngineStatus: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineStatus' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1989 |     typealias SwiftType = FfiEngineStatus
1990 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2040:57: error: cannot find type 'RustBuffer' in scope
2038 | @_documentation(visibility: private)
2039 | #endif
2040 | public func FfiConverterTypeFfiEngineStatus_lift(_ buf: RustBuffer) throws -> FfiEngineStatus {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
2041 |     return try FfiConverterTypeFfiEngineStatus.lift(buf)
2042 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2047:80: error: cannot find type 'RustBuffer' in scope
2045 | @_documentation(visibility: private)
2046 | #endif
2047 | public func FfiConverterTypeFfiEngineStatus_lower(_ value: FfiEngineStatus) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
2048 |     return FfiConverterTypeFfiEngineStatus.lower(value)
2049 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2073:15: error: type 'FfiConverterTypeFfiEnvironment' 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 |
     :
2071 | @_documentation(visibility: private)
2072 | #endif
2073 | public struct FfiConverterTypeFfiEnvironment: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEnvironment' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2074 |     typealias SwiftType = FfiEnvironment
2075 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2107:56: error: cannot find type 'RustBuffer' in scope
2105 | @_documentation(visibility: private)
2106 | #endif
2107 | public func FfiConverterTypeFfiEnvironment_lift(_ buf: RustBuffer) throws -> FfiEnvironment {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
2108 |     return try FfiConverterTypeFfiEnvironment.lift(buf)
2109 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2114:78: error: cannot find type 'RustBuffer' in scope
2112 | @_documentation(visibility: private)
2113 | #endif
2114 | public func FfiConverterTypeFfiEnvironment_lower(_ value: FfiEnvironment) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
2115 |     return FfiConverterTypeFfiEnvironment.lower(value)
2116 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2140:15: error: type 'FfiConverterTypeFfiToolRisk' 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 |
     :
2138 | @_documentation(visibility: private)
2139 | #endif
2140 | public struct FfiConverterTypeFfiToolRisk: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolRisk' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2141 |     typealias SwiftType = FfiToolRisk
2142 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2174:53: error: cannot find type 'RustBuffer' in scope
2172 | @_documentation(visibility: private)
2173 | #endif
2174 | public func FfiConverterTypeFfiToolRisk_lift(_ buf: RustBuffer) throws -> FfiToolRisk {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
2175 |     return try FfiConverterTypeFfiToolRisk.lift(buf)
2176 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2181:72: error: cannot find type 'RustBuffer' in scope
2179 | @_documentation(visibility: private)
2180 | #endif
2181 | public func FfiConverterTypeFfiToolRisk_lower(_ value: FfiToolRisk) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
2182 |     return FfiConverterTypeFfiToolRisk.lower(value)
2183 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2204:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2202 |     // This creates 1-element array, since this seems to be the only way to construct a const
2203 |     // pointer that we can pass to the Rust code.
2204 |     static let vtable: [UniffiVTableCallbackInterfaceFfiApprovalHandler] = [UniffiVTableCallbackInterfaceFfiApprovalHandler(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2205 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2206 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2358:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2356 |     // This creates 1-element array, since this seems to be the only way to construct a const
2357 |     // pointer that we can pass to the Rust code.
2358 |     static let vtable: [UniffiVTableCallbackInterfaceFfiEventListener] = [UniffiVTableCallbackInterfaceFfiEventListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2359 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2360 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2630:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2628 |     // This creates 1-element array, since this seems to be the only way to construct a const
2629 |     // pointer that we can pass to the Rust code.
2630 |     static let vtable: [UniffiVTableCallbackInterfaceFfiToolExecutor] = [UniffiVTableCallbackInterfaceFfiToolExecutor(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2631 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2632 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2759: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 |
     :
2757 | @_documentation(visibility: private)
2758 | #endif
2759 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2760 |     typealias SwiftType = UInt64?
2761 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2783: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 |
     :
2781 | @_documentation(visibility: private)
2782 | #endif
2783 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2784 |     typealias SwiftType = Float?
2785 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2807: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 |
     :
2805 | @_documentation(visibility: private)
2806 | #endif
2807 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2808 |     typealias SwiftType = Double?
2809 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2831: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 |
     :
2829 | @_documentation(visibility: private)
2830 | #endif
2831 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2832 |     typealias SwiftType = String?
2833 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2855:20: error: type 'FfiConverterOptionTypeFfiAgentConfig' 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 |
     :
2853 | @_documentation(visibility: private)
2854 | #endif
2855 | fileprivate struct FfiConverterOptionTypeFfiAgentConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2856 |     typealias SwiftType = FfiAgentConfig?
2857 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2879:20: error: type 'FfiConverterOptionTypeFfiSamplingConfig' 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 |
     :
2877 | @_documentation(visibility: private)
2878 | #endif
2879 | fileprivate struct FfiConverterOptionTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2880 |     typealias SwiftType = FfiSamplingConfig?
2881 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2903: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 |
     :
2901 | @_documentation(visibility: private)
2902 | #endif
2903 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2904 |     typealias SwiftType = [String]
2905 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2928:20: error: type 'FfiConverterSequenceTypeFfiChatMessage' 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 |
     :
2926 | @_documentation(visibility: private)
2927 | #endif
2928 | fileprivate struct FfiConverterSequenceTypeFfiChatMessage: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
2929 |     typealias SwiftType = [FfiChatMessage]
2930 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2956:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2954 | fileprivate func uniffiRustCallAsync<F, T>(
2955 |     rustFutureFunc: () -> UInt64,
2956 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
2957 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2958 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2956:24: error: @escaping attribute only applies to function types
2954 | fileprivate func uniffiRustCallAsync<F, T>(
2955 |     rustFutureFunc: () -> UInt64,
2956 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: @escaping attribute only applies to function types
2957 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
2958 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2957:49: error: cannot find type 'RustCallStatus' in scope
2955 |     rustFutureFunc: () -> UInt64,
2956 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
2957 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
2958 |     freeFunc: (UInt64) -> (),
2959 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2960:21: error: cannot find type 'RustBuffer' in scope
2958 |     freeFunc: (UInt64) -> (),
2959 |     liftFunc: (F) throws -> T,
2960 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
2961 | ) async throws -> T {
2962 |     // Make sure to call the ensure init function since future creation doesn't have a
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3000:35: error: cannot find type 'RustBuffer' in scope
2998 |     makeCall: @escaping () async throws -> T,
2999 |     handleSuccess: @escaping (T) -> (),
3000 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3001 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3002 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3001:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
2999 |     handleSuccess: @escaping (T) -> (),
3000 |     handleError: @escaping (Int8, RustBuffer) -> (),
3001 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3002 | ) {
3003 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3031:35: error: cannot find type 'RustBuffer' in scope
3029 |     makeCall: @escaping () async throws -> T,
3030 |     handleSuccess: @escaping (T) -> (),
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3032 |     lowerError: @escaping (E) -> RustBuffer,
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3032:34: error: cannot find type 'RustBuffer' in scope
3030 |     handleSuccess: @escaping (T) -> (),
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
3032 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3034 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3032:17: error: @escaping attribute only applies to function types
3030 |     handleSuccess: @escaping (T) -> (),
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
3032 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3034 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3033:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3031 |     handleError: @escaping (Int8, RustBuffer) -> (),
3032 |     lowerError: @escaping (E) -> RustBuffer,
3033 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3034 | ) {
3035 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3111:40: error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3109 |     let bindings_contract_version = 30
3110 |     // Get the scaffolding contract version by calling the into the dylib
3111 |     let scaffolding_contract_version = ffi_ed_agent_ffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3112 |     if bindings_contract_version != scaffolding_contract_version {
3113 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3115:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_configure_cache_dir' in scope
3113 |         return InitializationResult.contractVersionMismatch
3114 |     }
3115 |     if (uniffi_ed_agent_ffi_checksum_func_configure_cache_dir() != 30620) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_func_configure_cache_dir' in scope
3116 |         return InitializationResult.apiChecksumMismatch
3117 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3118:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_default_agent_model_config' in scope
3116 |         return InitializationResult.apiChecksumMismatch
3117 |     }
3118 |     if (uniffi_ed_agent_ffi_checksum_func_default_agent_model_config() != 44321) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_func_default_agent_model_config' in scope
3119 |         return InitializationResult.apiChecksumMismatch
3120 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3121:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3119 |         return InitializationResult.apiChecksumMismatch
3120 |     }
3121 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel() != 42085) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3122 |         return InitializationResult.apiChecksumMismatch
3123 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3124:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history' in scope
3122 |         return InitializationResult.apiChecksumMismatch
3123 |     }
3124 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history() != 19615) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history' in scope
3125 |         return InitializationResult.apiChecksumMismatch
3126 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3127:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3125 |         return InitializationResult.apiChecksumMismatch
3126 |     }
3127 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_history() != 36014) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3128 |         return InitializationResult.apiChecksumMismatch
3129 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3130:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3128 |         return InitializationResult.apiChecksumMismatch
3129 |     }
3130 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_info() != 9944) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3131 |         return InitializationResult.apiChecksumMismatch
3132 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3133:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded' in scope
3131 |         return InitializationResult.apiChecksumMismatch
3132 |     }
3133 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded() != 28871) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded' in scope
3134 |         return InitializationResult.apiChecksumMismatch
3135 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3136:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model' in scope
3134 |         return InitializationResult.apiChecksumMismatch
3135 |     }
3136 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model() != 60966) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model' in scope
3137 |         return InitializationResult.apiChecksumMismatch
3138 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3139:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model' in scope
3137 |         return InitializationResult.apiChecksumMismatch
3138 |     }
3139 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model() != 47518) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model' in scope
3140 |         return InitializationResult.apiChecksumMismatch
3141 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3142:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model' in scope
3140 |         return InitializationResult.apiChecksumMismatch
3141 |     }
3142 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model() != 17854) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model' in scope
3143 |         return InitializationResult.apiChecksumMismatch
3144 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3145:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model' in scope
3143 |         return InitializationResult.apiChecksumMismatch
3144 |     }
3145 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model() != 11023) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model' in scope
3146 |         return InitializationResult.apiChecksumMismatch
3147 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3148:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool' in scope
3146 |         return InitializationResult.apiChecksumMismatch
3147 |     }
3148 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool() != 34863) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool' in scope
3149 |         return InitializationResult.apiChecksumMismatch
3150 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3151:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools' in scope
3149 |         return InitializationResult.apiChecksumMismatch
3150 |     }
3151 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools() != 36535) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools' in scope
3152 |         return InitializationResult.apiChecksumMismatch
3153 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3154:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3152 |         return InitializationResult.apiChecksumMismatch
3153 |     }
3154 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_run() != 39233) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3155 |         return InitializationResult.apiChecksumMismatch
3156 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3157:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3155 |         return InitializationResult.apiChecksumMismatch
3156 |     }
3157 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_send() != 839) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3158 |         return InitializationResult.apiChecksumMismatch
3159 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3160:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3158 |         return InitializationResult.apiChecksumMismatch
3159 |     }
3160 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload() != 29612) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3161 |         return InitializationResult.apiChecksumMismatch
3162 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3163:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool' in scope
3161 |         return InitializationResult.apiChecksumMismatch
3162 |     }
3163 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool() != 63973) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool' in scope
3164 |         return InitializationResult.apiChecksumMismatch
3165 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3166:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3164 |         return InitializationResult.apiChecksumMismatch
3165 |     }
3166 |     if (uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new() != 19584) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3167 |         return InitializationResult.apiChecksumMismatch
3168 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3169:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3167 |         return InitializationResult.apiChecksumMismatch
3168 |     }
3169 |     if (uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve() != 9982) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3170 |         return InitializationResult.apiChecksumMismatch
3171 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3172:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed' in scope
3170 |         return InitializationResult.apiChecksumMismatch
3171 |     }
3172 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed() != 50680) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed' in scope
3173 |         return InitializationResult.apiChecksumMismatch
3174 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3175:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3173 |         return InitializationResult.apiChecksumMismatch
3174 |     }
3175 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested() != 58928) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3176 |         return InitializationResult.apiChecksumMismatch
3177 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3178:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3176 |         return InitializationResult.apiChecksumMismatch
3177 |     }
3178 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested() != 13081) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3179 |         return InitializationResult.apiChecksumMismatch
3180 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3181:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3179 |         return InitializationResult.apiChecksumMismatch
3180 |     }
3181 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started() != 23754) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3182 |         return InitializationResult.apiChecksumMismatch
3183 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3184:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3182 |         return InitializationResult.apiChecksumMismatch
3183 |     }
3184 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished() != 4350) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3185 |         return InitializationResult.apiChecksumMismatch
3186 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3187:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3185 |         return InitializationResult.apiChecksumMismatch
3186 |     }
3187 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied() != 33842) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3188 |         return InitializationResult.apiChecksumMismatch
3189 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3190:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3188 |         return InitializationResult.apiChecksumMismatch
3189 |     }
3190 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning() != 43170) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3191 |         return InitializationResult.apiChecksumMismatch
3192 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3193:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3191 |         return InitializationResult.apiChecksumMismatch
3192 |     }
3193 |     if (uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute() != 36465) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3194 |         return InitializationResult.apiChecksumMismatch
3195 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.swift:285:22: error: cannot find 'RustCallStatus' in scope
 283 | ) throws -> T {
 284 |     uniffiEnsureEdAgentFfiInitialized()
 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/Ed/ed_agent_ffi.swift:627:32: error: cannot find 'uniffi_ed_agent_ffi_fn_clone_ffiedagent' in scope
 625 | #endif
 626 |     public func uniffiCloneHandle() -> UInt64 {
 627 |         return try! rustCall { uniffi_ed_agent_ffi_fn_clone_ffiedagent(self.handle, $0) }
     |                                `- error: cannot find 'uniffi_ed_agent_ffi_fn_clone_ffiedagent' in scope
 628 |     }
 629 | public convenience init(executor: FfiToolExecutor, approvals: FfiApprovalHandler, events: FfiEventListener, config: FfiAgentConfig?) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:632:5: error: cannot find 'uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new' in scope
 630 |     let handle =
 631 |         try! rustCall() {
 632 |     uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new' in scope
 633 |         FfiConverterCallbackInterfaceFfiToolExecutor_lower(executor),
 634 |         FfiConverterCallbackInterfaceFfiApprovalHandler_lower(approvals),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:648:25: error: cannot find 'uniffi_ed_agent_ffi_fn_free_ffiedagent' in scope
 646 |         }
 647 |
 648 |         try! rustCall { uniffi_ed_agent_ffi_fn_free_ffiedagent(handle, $0) }
     |                         `- error: cannot find 'uniffi_ed_agent_ffi_fn_free_ffiedagent' in scope
 649 |     }
 650 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:655:5: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel' in scope
 653 |
 654 | open func cancel()  {try! rustCall() {
 655 |     uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel' in scope
 656 |             self.uniffiCloneHandle(),$0
 657 |     )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:665:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_history' in scope
 663 |         try!  await uniffiRustCallAsync(
 664 |             rustFutureFunc: {
 665 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_history(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_history' in scope
 666 |                     self.uniffiCloneHandle()
 667 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:670:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_u64' in scope
 668 |                 )
 669 |             },
 670 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_u64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_u64' in scope
 671 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_u64,
 672 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:671:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_u64' in scope
 669 |             },
 670 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_u64,
 671 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_u64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_u64' in scope
 672 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
 673 |             liftFunc: FfiConverterUInt64.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:672:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_u64' in scope
 670 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_u64,
 671 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_u64,
 672 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_u64' in scope
 673 |             liftFunc: FfiConverterUInt64.lift,
 674 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:674:27: error: 'nil' requires a contextual type
 672 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
 673 |             liftFunc: FfiConverterUInt64.lift,
 674 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 675 |
 676 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:683:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_history' in scope
 681 |         try!  await uniffiRustCallAsync(
 682 |             rustFutureFunc: {
 683 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_history(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_history' in scope
 684 |                     self.uniffiCloneHandle()
 685 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:688:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 686 |                 )
 687 |             },
 688 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 689 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 690 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:689:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 687 |             },
 688 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 689 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 690 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 691 |             liftFunc: FfiConverterSequenceTypeFfiChatMessage.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:690:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 688 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 689 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 690 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 691 |             liftFunc: FfiConverterSequenceTypeFfiChatMessage.lift,
 692 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:692:27: error: 'nil' requires a contextual type
 690 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 691 |             liftFunc: FfiConverterSequenceTypeFfiChatMessage.lift,
 692 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 693 |
 694 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:701:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_info' in scope
 699 |         try!  await uniffiRustCallAsync(
 700 |             rustFutureFunc: {
 701 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_info(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_info' in scope
 702 |                     self.uniffiCloneHandle()
 703 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:706:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 704 |                 )
 705 |             },
 706 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 707 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 708 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:707:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 705 |             },
 706 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 707 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 708 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 709 |             liftFunc: FfiConverterTypeFfiEngineInfo_lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:708:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 706 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 707 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 708 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 709 |             liftFunc: FfiConverterTypeFfiEngineInfo_lift,
 710 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:710:27: error: 'nil' requires a contextual type
 708 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 709 |             liftFunc: FfiConverterTypeFfiEngineInfo_lift,
 710 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 711 |
 712 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:719:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_is_loaded' in scope
 717 |         try!  await uniffiRustCallAsync(
 718 |             rustFutureFunc: {
 719 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_is_loaded(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_is_loaded' in scope
 720 |                     self.uniffiCloneHandle()
 721 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:724:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
 722 |                 )
 723 |             },
 724 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
 725 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
 726 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:725:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
 723 |             },
 724 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
 725 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
 726 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
 727 |             liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:726:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
 724 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
 725 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
 726 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
 727 |             liftFunc: FfiConverterBool.lift,
 728 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:728:27: error: 'nil' requires a contextual type
 726 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
 727 |             liftFunc: FfiConverterBool.lift,
 728 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 729 |
 730 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:737:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_assigned_model' in scope
 735 |         try  await uniffiRustCallAsync(
 736 |             rustFutureFunc: {
 737 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_load_assigned_model(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_assigned_model' in scope
 738 |                     self.uniffiCloneHandle(),
 739 |                     FfiConverterTypeFfiEnvironment_lower(environment),FfiConverterString.lower(appId),FfiConverterString.lower(appSecret),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeFfiSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:742:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 740 |                 )
 741 |             },
 742 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 743 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 744 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:743:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 741 |             },
 742 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 743 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 744 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 745 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:744:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 742 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 743 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 744 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 745 |             liftFunc: FfiConverterDouble.lift,
 746 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:754:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_default_agent_model' in scope
 752 |         try  await uniffiRustCallAsync(
 753 |             rustFutureFunc: {
 754 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_load_default_agent_model(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_default_agent_model' in scope
 755 |                     self.uniffiCloneHandle(),
 756 |                     FfiConverterOptionString.lower(systemPrompt)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:759:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 757 |                 )
 758 |             },
 759 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 760 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 761 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:760:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 758 |             },
 759 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 760 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 761 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 762 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:761:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 759 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 760 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 761 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 762 |             liftFunc: FfiConverterDouble.lift,
 763 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:771:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_gguf_model' in scope
 769 |         try  await uniffiRustCallAsync(
 770 |             rustFutureFunc: {
 771 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_load_gguf_model(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_gguf_model' in scope
 772 |                     self.uniffiCloneHandle(),
 773 |                     FfiConverterTypeFfiGgufModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeFfiSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:776:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 774 |                 )
 775 |             },
 776 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 777 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 778 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:777:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 775 |             },
 776 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 777 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 778 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 779 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:778:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 776 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 777 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 778 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 779 |             liftFunc: FfiConverterDouble.lift,
 780 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:788:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_uqff_model' in scope
 786 |         try  await uniffiRustCallAsync(
 787 |             rustFutureFunc: {
 788 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_load_uqff_model(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_uqff_model' in scope
 789 |                     self.uniffiCloneHandle(),
 790 |                     FfiConverterTypeFfiUqffModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeFfiSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:793:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 791 |                 )
 792 |             },
 793 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 794 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 795 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:794:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 792 |             },
 793 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 794 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 795 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 796 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:795:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 793 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 794 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 795 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 796 |             liftFunc: FfiConverterDouble.lift,
 797 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:805:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_register_tool' in scope
 803 |         try  await uniffiRustCallAsync(
 804 |             rustFutureFunc: {
 805 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_register_tool(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_register_tool' in scope
 806 |                     self.uniffiCloneHandle(),
 807 |                     FfiConverterTypeFfiToolDefinition_lower(tool)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:810:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 808 |                 )
 809 |             },
 810 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 811 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 812 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:811:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 809 |             },
 810 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 811 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 812 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 813 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:812:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 810 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 811 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 812 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 813 |             liftFunc: { $0 },
 814 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:822:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_remove_all_tools' in scope
 820 |         try!  await uniffiRustCallAsync(
 821 |             rustFutureFunc: {
 822 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_remove_all_tools(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_remove_all_tools' in scope
 823 |                     self.uniffiCloneHandle()
 824 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:827:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 825 |                 )
 826 |             },
 827 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 828 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 829 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:828:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 826 |             },
 827 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 828 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 829 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 830 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:829:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 827 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 828 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 829 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 830 |             liftFunc: { $0 },
 831 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:831:27: error: 'nil' requires a contextual type
 829 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 830 |             liftFunc: { $0 },
 831 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 832 |
 833 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:840:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_run' in scope
 838 |         try  await uniffiRustCallAsync(
 839 |             rustFutureFunc: {
 840 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_run(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_run' in scope
 841 |                     self.uniffiCloneHandle(),
 842 |                     FfiConverterString.lower(message)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:845:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 843 |                 )
 844 |             },
 845 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 846 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 847 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:846:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 844 |             },
 845 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 846 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 847 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 848 |             liftFunc: FfiConverterTypeFfiAgentReply_lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:847:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 845 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 846 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 847 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 848 |             liftFunc: FfiConverterTypeFfiAgentReply_lift,
 849 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:857:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_send' in scope
 855 |         try  await uniffiRustCallAsync(
 856 |             rustFutureFunc: {
 857 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_send(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_send' in scope
 858 |                     self.uniffiCloneHandle(),
 859 |                     FfiConverterString.lower(message)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:862:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 860 |                 )
 861 |             },
 862 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 863 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 864 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:863:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 861 |             },
 862 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 863 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 864 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 865 |             liftFunc: FfiConverterTypeFfiReply_lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:864:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 862 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 863 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 864 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 865 |             liftFunc: FfiConverterTypeFfiReply_lift,
 866 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:874:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unload' in scope
 872 |         try!  await uniffiRustCallAsync(
 873 |             rustFutureFunc: {
 874 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_unload(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unload' in scope
 875 |                     self.uniffiCloneHandle()
 876 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:879:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 877 |                 )
 878 |             },
 879 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 880 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 881 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:880:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 878 |             },
 879 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 880 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 881 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 882 |             liftFunc: FfiConverterOptionString.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:881:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 879 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 880 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 881 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 882 |             liftFunc: FfiConverterOptionString.lift,
 883 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:883:27: error: 'nil' requires a contextual type
 881 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 882 |             liftFunc: FfiConverterOptionString.lift,
 883 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 884 |
 885 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:892:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unregister_tool' in scope
 890 |         try!  await uniffiRustCallAsync(
 891 |             rustFutureFunc: {
 892 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_unregister_tool(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unregister_tool' in scope
 893 |                     self.uniffiCloneHandle(),
 894 |                     FfiConverterString.lower(name)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:897:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
 895 |                 )
 896 |             },
 897 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
 898 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
 899 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:898:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
 896 |             },
 897 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
 898 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
 899 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
 900 |             liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:899:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
 897 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
 898 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
 899 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
 900 |             liftFunc: FfiConverterBool.lift,
 901 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:901:27: error: 'nil' requires a contextual type
 899 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
 900 |             liftFunc: FfiConverterBool.lift,
 901 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 902 |
 903 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2265:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffiapprovalhandler' in scope
2263 |
2264 | private func uniffiCallbackInitFfiApprovalHandler() {
2265 |     uniffi_ed_agent_ffi_fn_init_callback_vtable_ffiapprovalhandler(UniffiCallbackInterfaceFfiApprovalHandler.vtable)
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffiapprovalhandler' in scope
2266 | }
2267 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2549:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffieventlistener' in scope
2547 |
2548 | private func uniffiCallbackInitFfiEventListener() {
2549 |     uniffi_ed_agent_ffi_fn_init_callback_vtable_ffieventlistener(UniffiCallbackInterfaceFfiEventListener.vtable)
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffieventlistener' in scope
2550 | }
2551 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2693:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffitoolexecutor' in scope
2691 |
2692 | private func uniffiCallbackInitFfiToolExecutor() {
2693 |     uniffi_ed_agent_ffi_fn_init_callback_vtable_ffitoolexecutor(UniffiCallbackInterfaceFfiToolExecutor.vtable)
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffitoolexecutor' in scope
2694 | }
2695 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3022:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3020 |     }
3021 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
3022 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3023 |         handle: handle,
3024 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3051:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3049 |     }
3050 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
3051 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3052 |         handle: handle,
3053 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3088:5: error: cannot find 'uniffi_ed_agent_ffi_fn_func_configure_cache_dir' in scope
3086 | }
3087 | public func configureCacheDir(path: String)  {try! rustCall() {
3088 |     uniffi_ed_agent_ffi_fn_func_configure_cache_dir(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_func_configure_cache_dir' in scope
3089 |         FfiConverterString.lower(path),$0
3090 |     )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3095:5: error: cannot find 'uniffi_ed_agent_ffi_fn_func_default_agent_model_config' in scope
3093 | public func defaultAgentModelConfig() -> FfiGgufModelConfig  {
3094 |     return try!  FfiConverterTypeFfiGgufModelConfig_lift(try! rustCall() {
3095 |     uniffi_ed_agent_ffi_fn_func_default_agent_model_config($0
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_func_default_agent_model_config' in scope
3096 |     )
3097 | })
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.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/Ed/ed_agent_ffi.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_ed_agent_ffi_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
  29 |     }
BUILD FAILURE 6.2 linux