The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ed, reference v1.3.3 (694d5b), with Swift 6.2 for Android on 23 Oct 2026 16:15:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

1228 | public func FfiConverterTypeFfiAgentReply_lift(_ buf: RustBuffer) throws -> FfiAgentReply {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1229 |     return try FfiConverterTypeFfiAgentReply.lift(buf)
1230 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1235:76: error: cannot find type 'RustBuffer' in scope
1233 | @_documentation(visibility: private)
1234 | #endif
1235 | public func FfiConverterTypeFfiAgentReply_lower(_ value: FfiAgentReply) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1236 |     return FfiConverterTypeFfiAgentReply.lower(value)
1237 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1270: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
     :
1268 | @_documentation(visibility: private)
1269 | #endif
1270 | public struct FfiConverterTypeFfiApprovalRequest: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalRequest' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1271 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiApprovalRequest {
1272 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1289:60: error: cannot find type 'RustBuffer' in scope
1287 | @_documentation(visibility: private)
1288 | #endif
1289 | public func FfiConverterTypeFfiApprovalRequest_lift(_ buf: RustBuffer) throws -> FfiApprovalRequest {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1290 |     return try FfiConverterTypeFfiApprovalRequest.lift(buf)
1291 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1296:86: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeFfiApprovalRequest_lower(_ value: FfiApprovalRequest) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1297 |     return FfiConverterTypeFfiApprovalRequest.lower(value)
1298 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1324: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
     :
1322 | @_documentation(visibility: private)
1323 | #endif
1324 | public struct FfiConverterTypeFfiChatMessage: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1325 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiChatMessage {
1326 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1343:56: error: cannot find type 'RustBuffer' in scope
1341 | @_documentation(visibility: private)
1342 | #endif
1343 | public func FfiConverterTypeFfiChatMessage_lift(_ buf: RustBuffer) throws -> FfiChatMessage {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1344 |     return try FfiConverterTypeFfiChatMessage.lift(buf)
1345 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1350:78: error: cannot find type 'RustBuffer' in scope
1348 | @_documentation(visibility: private)
1349 | #endif
1350 | public func FfiConverterTypeFfiChatMessage_lower(_ value: FfiChatMessage) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1351 |     return FfiConverterTypeFfiChatMessage.lower(value)
1352 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1382: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
     :
1380 | @_documentation(visibility: private)
1381 | #endif
1382 | public struct FfiConverterTypeFfiEngineInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1383 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiEngineInfo {
1384 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1405:55: error: cannot find type 'RustBuffer' in scope
1403 | @_documentation(visibility: private)
1404 | #endif
1405 | public func FfiConverterTypeFfiEngineInfo_lift(_ buf: RustBuffer) throws -> FfiEngineInfo {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1406 |     return try FfiConverterTypeFfiEngineInfo.lift(buf)
1407 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1412:76: error: cannot find type 'RustBuffer' in scope
1410 | @_documentation(visibility: private)
1411 | #endif
1412 | public func FfiConverterTypeFfiEngineInfo_lower(_ value: FfiEngineInfo) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1413 |     return FfiConverterTypeFfiEngineInfo.lower(value)
1414 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1448: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
     :
1446 | @_documentation(visibility: private)
1447 | #endif
1448 | public struct FfiConverterTypeFfiGgufModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiGgufModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1449 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiGgufModelConfig {
1450 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1475:60: error: cannot find type 'RustBuffer' in scope
1473 | @_documentation(visibility: private)
1474 | #endif
1475 | public func FfiConverterTypeFfiGgufModelConfig_lift(_ buf: RustBuffer) throws -> FfiGgufModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1476 |     return try FfiConverterTypeFfiGgufModelConfig.lift(buf)
1477 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1482:86: error: cannot find type 'RustBuffer' in scope
1480 | @_documentation(visibility: private)
1481 | #endif
1482 | public func FfiConverterTypeFfiGgufModelConfig_lower(_ value: FfiGgufModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1483 |     return FfiConverterTypeFfiGgufModelConfig.lower(value)
1484 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1510: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
     :
1508 | @_documentation(visibility: private)
1509 | #endif
1510 | public struct FfiConverterTypeFfiReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1511 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiReply {
1512 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1529:50: error: cannot find type 'RustBuffer' in scope
1527 | @_documentation(visibility: private)
1528 | #endif
1529 | public func FfiConverterTypeFfiReply_lift(_ buf: RustBuffer) throws -> FfiReply {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
1530 |     return try FfiConverterTypeFfiReply.lift(buf)
1531 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1536:66: error: cannot find type 'RustBuffer' in scope
1534 | @_documentation(visibility: private)
1535 | #endif
1536 | public func FfiConverterTypeFfiReply_lower(_ value: FfiReply) -> RustBuffer {
     |                                                                  `- error: cannot find type 'RustBuffer' in scope
1537 |     return FfiConverterTypeFfiReply.lower(value)
1538 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1574: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
     :
1572 | @_documentation(visibility: private)
1573 | #endif
1574 | public struct FfiConverterTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1575 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiSamplingConfig {
1576 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1603:59: error: cannot find type 'RustBuffer' in scope
1601 | @_documentation(visibility: private)
1602 | #endif
1603 | public func FfiConverterTypeFfiSamplingConfig_lift(_ buf: RustBuffer) throws -> FfiSamplingConfig {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1604 |     return try FfiConverterTypeFfiSamplingConfig.lift(buf)
1605 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1610:84: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFfiSamplingConfig_lower(_ value: FfiSamplingConfig) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1611 |     return FfiConverterTypeFfiSamplingConfig.lower(value)
1612 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1640: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
     :
1638 | @_documentation(visibility: private)
1639 | #endif
1640 | public struct FfiConverterTypeFfiStatusUpdate: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiStatusUpdate' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1641 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiStatusUpdate {
1642 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1661:57: error: cannot find type 'RustBuffer' in scope
1659 | @_documentation(visibility: private)
1660 | #endif
1661 | public func FfiConverterTypeFfiStatusUpdate_lift(_ buf: RustBuffer) throws -> FfiStatusUpdate {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1662 |     return try FfiConverterTypeFfiStatusUpdate.lift(buf)
1663 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1668:80: error: cannot find type 'RustBuffer' in scope
1666 | @_documentation(visibility: private)
1667 | #endif
1668 | public func FfiConverterTypeFfiStatusUpdate_lower(_ value: FfiStatusUpdate) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1669 |     return FfiConverterTypeFfiStatusUpdate.lower(value)
1670 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1698: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
     :
1696 | @_documentation(visibility: private)
1697 | #endif
1698 | public struct FfiConverterTypeFfiToolCall: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolCall' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1699 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolCall {
1700 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1719:53: error: cannot find type 'RustBuffer' in scope
1717 | @_documentation(visibility: private)
1718 | #endif
1719 | public func FfiConverterTypeFfiToolCall_lift(_ buf: RustBuffer) throws -> FfiToolCall {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1720 |     return try FfiConverterTypeFfiToolCall.lift(buf)
1721 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1726:72: error: cannot find type 'RustBuffer' in scope
1724 | @_documentation(visibility: private)
1725 | #endif
1726 | public func FfiConverterTypeFfiToolCall_lower(_ value: FfiToolCall) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1727 |     return FfiConverterTypeFfiToolCall.lower(value)
1728 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1758: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
     :
1756 | @_documentation(visibility: private)
1757 | #endif
1758 | public struct FfiConverterTypeFfiToolDefinition: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolDefinition' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1759 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolDefinition {
1760 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1781:59: error: cannot find type 'RustBuffer' in scope
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public func FfiConverterTypeFfiToolDefinition_lift(_ buf: RustBuffer) throws -> FfiToolDefinition {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1782 |     return try FfiConverterTypeFfiToolDefinition.lift(buf)
1783 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1788:84: error: cannot find type 'RustBuffer' in scope
1786 | @_documentation(visibility: private)
1787 | #endif
1788 | public func FfiConverterTypeFfiToolDefinition_lower(_ value: FfiToolDefinition) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1789 |     return FfiConverterTypeFfiToolDefinition.lower(value)
1790 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1816: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
     :
1814 | @_documentation(visibility: private)
1815 | #endif
1816 | public struct FfiConverterTypeFfiToolOutput: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolOutput' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1817 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolOutput {
1818 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1835:55: error: cannot find type 'RustBuffer' in scope
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public func FfiConverterTypeFfiToolOutput_lift(_ buf: RustBuffer) throws -> FfiToolOutput {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1836 |     return try FfiConverterTypeFfiToolOutput.lift(buf)
1837 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1842:76: error: cannot find type 'RustBuffer' in scope
1840 | @_documentation(visibility: private)
1841 | #endif
1842 | public func FfiConverterTypeFfiToolOutput_lower(_ value: FfiToolOutput) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1843 |     return FfiConverterTypeFfiToolOutput.lower(value)
1844 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1876: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
     :
1874 | @_documentation(visibility: private)
1875 | #endif
1876 | public struct FfiConverterTypeFfiUqffModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiUqffModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1877 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiUqffModelConfig {
1878 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1901:60: error: cannot find type 'RustBuffer' in scope
1899 | @_documentation(visibility: private)
1900 | #endif
1901 | public func FfiConverterTypeFfiUqffModelConfig_lift(_ buf: RustBuffer) throws -> FfiUqffModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1902 |     return try FfiConverterTypeFfiUqffModelConfig.lift(buf)
1903 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1908:86: error: cannot find type 'RustBuffer' in scope
1906 | @_documentation(visibility: private)
1907 | #endif
1908 | public func FfiConverterTypeFfiUqffModelConfig_lower(_ value: FfiUqffModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1909 |     return FfiConverterTypeFfiUqffModelConfig.lower(value)
1910 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1934: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 |
     :
1932 | @_documentation(visibility: private)
1933 | #endif
1934 | public struct FfiConverterTypeFfiApprovalDecision: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalDecision' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1935 |     typealias SwiftType = FfiApprovalDecision
1936 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1974:61: error: cannot find type 'RustBuffer' in scope
1972 | @_documentation(visibility: private)
1973 | #endif
1974 | public func FfiConverterTypeFfiApprovalDecision_lift(_ buf: RustBuffer) throws -> FfiApprovalDecision {
     |                                                             `- error: cannot find type 'RustBuffer' in scope
1975 |     return try FfiConverterTypeFfiApprovalDecision.lift(buf)
1976 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1981:88: error: cannot find type 'RustBuffer' in scope
1979 | @_documentation(visibility: private)
1980 | #endif
1981 | public func FfiConverterTypeFfiApprovalDecision_lower(_ value: FfiApprovalDecision) -> RustBuffer {
     |                                                                                        `- error: cannot find type 'RustBuffer' in scope
1982 |     return FfiConverterTypeFfiApprovalDecision.lower(value)
1983 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2008: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 |
     :
2006 | @_documentation(visibility: private)
2007 | #endif
2008 | public struct FfiConverterTypeFfiChatRole: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatRole' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2009 |     typealias SwiftType = FfiChatRole
2010 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2048:53: error: cannot find type 'RustBuffer' in scope
2046 | @_documentation(visibility: private)
2047 | #endif
2048 | public func FfiConverterTypeFfiChatRole_lift(_ buf: RustBuffer) throws -> FfiChatRole {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
2049 |     return try FfiConverterTypeFfiChatRole.lift(buf)
2050 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2055:72: error: cannot find type 'RustBuffer' in scope
2053 | @_documentation(visibility: private)
2054 | #endif
2055 | public func FfiConverterTypeFfiChatRole_lower(_ value: FfiChatRole) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
2056 |     return FfiConverterTypeFfiChatRole.lower(value)
2057 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2086: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 |
     :
2084 | @_documentation(visibility: private)
2085 | #endif
2086 | public struct FfiConverterTypeFfiEdError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEdError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2087 |     typealias SwiftType = FfiEdError
2088 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2123:52: error: cannot find type 'RustBuffer' in scope
2121 | @_documentation(visibility: private)
2122 | #endif
2123 | public func FfiConverterTypeFfiEdError_lift(_ buf: RustBuffer) throws -> FfiEdError {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
2124 |     return try FfiConverterTypeFfiEdError.lift(buf)
2125 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2130:70: error: cannot find type 'RustBuffer' in scope
2128 | @_documentation(visibility: private)
2129 | #endif
2130 | public func FfiConverterTypeFfiEdError_lower(_ value: FfiEdError) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
2131 |     return FfiConverterTypeFfiEdError.lower(value)
2132 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2158: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 |
     :
2156 | @_documentation(visibility: private)
2157 | #endif
2158 | public struct FfiConverterTypeFfiEngineStatus: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineStatus' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2159 |     typealias SwiftType = FfiEngineStatus
2160 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2210:57: error: cannot find type 'RustBuffer' in scope
2208 | @_documentation(visibility: private)
2209 | #endif
2210 | public func FfiConverterTypeFfiEngineStatus_lift(_ buf: RustBuffer) throws -> FfiEngineStatus {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
2211 |     return try FfiConverterTypeFfiEngineStatus.lift(buf)
2212 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2217:80: error: cannot find type 'RustBuffer' in scope
2215 | @_documentation(visibility: private)
2216 | #endif
2217 | public func FfiConverterTypeFfiEngineStatus_lower(_ value: FfiEngineStatus) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
2218 |     return FfiConverterTypeFfiEngineStatus.lower(value)
2219 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2243: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 |
     :
2241 | @_documentation(visibility: private)
2242 | #endif
2243 | public struct FfiConverterTypeFfiEnvironment: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEnvironment' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2244 |     typealias SwiftType = FfiEnvironment
2245 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2277:56: error: cannot find type 'RustBuffer' in scope
2275 | @_documentation(visibility: private)
2276 | #endif
2277 | public func FfiConverterTypeFfiEnvironment_lift(_ buf: RustBuffer) throws -> FfiEnvironment {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
2278 |     return try FfiConverterTypeFfiEnvironment.lift(buf)
2279 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2284:78: error: cannot find type 'RustBuffer' in scope
2282 | @_documentation(visibility: private)
2283 | #endif
2284 | public func FfiConverterTypeFfiEnvironment_lower(_ value: FfiEnvironment) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
2285 |     return FfiConverterTypeFfiEnvironment.lower(value)
2286 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2310: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 |
     :
2308 | @_documentation(visibility: private)
2309 | #endif
2310 | public struct FfiConverterTypeFfiToolRisk: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolRisk' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2311 |     typealias SwiftType = FfiToolRisk
2312 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2344:53: error: cannot find type 'RustBuffer' in scope
2342 | @_documentation(visibility: private)
2343 | #endif
2344 | public func FfiConverterTypeFfiToolRisk_lift(_ buf: RustBuffer) throws -> FfiToolRisk {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
2345 |     return try FfiConverterTypeFfiToolRisk.lift(buf)
2346 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2351:72: error: cannot find type 'RustBuffer' in scope
2349 | @_documentation(visibility: private)
2350 | #endif
2351 | public func FfiConverterTypeFfiToolRisk_lower(_ value: FfiToolRisk) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
2352 |     return FfiConverterTypeFfiToolRisk.lower(value)
2353 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2374:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2372 |     // This creates 1-element array, since this seems to be the only way to construct a const
2373 |     // pointer that we can pass to the Rust code.
2374 |     static let vtable: [UniffiVTableCallbackInterfaceFfiApprovalHandler] = [UniffiVTableCallbackInterfaceFfiApprovalHandler(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2375 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2376 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2533:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2531 |     // This creates 1-element array, since this seems to be the only way to construct a const
2532 |     // pointer that we can pass to the Rust code.
2533 |     static let vtable: [UniffiVTableCallbackInterfaceFfiEventListener] = [UniffiVTableCallbackInterfaceFfiEventListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2534 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2535 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2832:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiStreamListener' in scope
2830 |     // This creates 1-element array, since this seems to be the only way to construct a const
2831 |     // pointer that we can pass to the Rust code.
2832 |     static let vtable: [UniffiVTableCallbackInterfaceFfiStreamListener] = [UniffiVTableCallbackInterfaceFfiStreamListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiStreamListener' in scope
2833 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2834 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2956:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2954 |     // This creates 1-element array, since this seems to be the only way to construct a const
2955 |     // pointer that we can pass to the Rust code.
2956 |     static let vtable: [UniffiVTableCallbackInterfaceFfiToolExecutor] = [UniffiVTableCallbackInterfaceFfiToolExecutor(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2957 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2958 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3085: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 |
     :
3083 | @_documentation(visibility: private)
3084 | #endif
3085 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3086 |     typealias SwiftType = UInt64?
3087 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3109: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 |
     :
3107 | @_documentation(visibility: private)
3108 | #endif
3109 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3110 |     typealias SwiftType = Float?
3111 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3133: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 |
     :
3131 | @_documentation(visibility: private)
3132 | #endif
3133 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3134 |     typealias SwiftType = Double?
3135 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3157: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 |
     :
3155 | @_documentation(visibility: private)
3156 | #endif
3157 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3158 |     typealias SwiftType = String?
3159 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3181: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 |
     :
3179 | @_documentation(visibility: private)
3180 | #endif
3181 | fileprivate struct FfiConverterOptionTypeFfiAgentConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3182 |     typealias SwiftType = FfiAgentConfig?
3183 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3205: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 |
     :
3203 | @_documentation(visibility: private)
3204 | #endif
3205 | fileprivate struct FfiConverterOptionTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3206 |     typealias SwiftType = FfiSamplingConfig?
3207 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3229: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 |
     :
3227 | @_documentation(visibility: private)
3228 | #endif
3229 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3230 |     typealias SwiftType = [String]
3231 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3254: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 |
     :
3252 | @_documentation(visibility: private)
3253 | #endif
3254 | fileprivate struct FfiConverterSequenceTypeFfiChatMessage: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3255 |     typealias SwiftType = [FfiChatMessage]
3256 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3282:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
3280 | fileprivate func uniffiRustCallAsync<F, T>(
3281 |     rustFutureFunc: () -> UInt64,
3282 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
3283 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
3284 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3282:24: error: @escaping attribute only applies to function types
3280 | fileprivate func uniffiRustCallAsync<F, T>(
3281 |     rustFutureFunc: () -> UInt64,
3282 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: @escaping attribute only applies to function types
3283 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
3284 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3283:49: error: cannot find type 'RustCallStatus' in scope
3281 |     rustFutureFunc: () -> UInt64,
3282 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
3283 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
3284 |     freeFunc: (UInt64) -> (),
3285 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3286:21: error: cannot find type 'RustBuffer' in scope
3284 |     freeFunc: (UInt64) -> (),
3285 |     liftFunc: (F) throws -> T,
3286 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
3287 | ) async throws -> T {
3288 |     // 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:3326:35: error: cannot find type 'RustBuffer' in scope
3324 |     makeCall: @escaping () async throws -> T,
3325 |     handleSuccess: @escaping (T) -> (),
3326 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3327 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3328 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3327:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3325 |     handleSuccess: @escaping (T) -> (),
3326 |     handleError: @escaping (Int8, RustBuffer) -> (),
3327 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3328 | ) {
3329 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3357:35: error: cannot find type 'RustBuffer' in scope
3355 |     makeCall: @escaping () async throws -> T,
3356 |     handleSuccess: @escaping (T) -> (),
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3358 |     lowerError: @escaping (E) -> RustBuffer,
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3358:34: error: cannot find type 'RustBuffer' in scope
3356 |     handleSuccess: @escaping (T) -> (),
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
3358 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3360 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3358:17: error: @escaping attribute only applies to function types
3356 |     handleSuccess: @escaping (T) -> (),
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
3358 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3360 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3359:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
3358 |     lowerError: @escaping (E) -> RustBuffer,
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3360 | ) {
3361 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3437:40: error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3435 |     let bindings_contract_version = 30
3436 |     // Get the scaffolding contract version by calling the into the dylib
3437 |     let scaffolding_contract_version = ffi_ed_agent_ffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3438 |     if bindings_contract_version != scaffolding_contract_version {
3439 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3441:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_configure_cache_dir' in scope
3439 |         return InitializationResult.contractVersionMismatch
3440 |     }
3441 |     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
3442 |         return InitializationResult.apiChecksumMismatch
3443 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3444:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_default_agent_model_config' in scope
3442 |         return InitializationResult.apiChecksumMismatch
3443 |     }
3444 |     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
3445 |         return InitializationResult.apiChecksumMismatch
3446 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3447:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3445 |         return InitializationResult.apiChecksumMismatch
3446 |     }
3447 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel() != 42085) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3448 |         return InitializationResult.apiChecksumMismatch
3449 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3450:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel_stream' in scope
3448 |         return InitializationResult.apiChecksumMismatch
3449 |     }
3450 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel_stream() != 63923) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel_stream' in scope
3451 |         return InitializationResult.apiChecksumMismatch
3452 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3453:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history' in scope
3451 |         return InitializationResult.apiChecksumMismatch
3452 |     }
3453 |     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
3454 |         return InitializationResult.apiChecksumMismatch
3455 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3456:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_system_prompt' in scope
3454 |         return InitializationResult.apiChecksumMismatch
3455 |     }
3456 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_system_prompt() != 50345) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_system_prompt' in scope
3457 |         return InitializationResult.apiChecksumMismatch
3458 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3459:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_generate' in scope
3457 |         return InitializationResult.apiChecksumMismatch
3458 |     }
3459 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_generate() != 6127) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_generate' in scope
3460 |         return InitializationResult.apiChecksumMismatch
3461 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3462:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3460 |         return InitializationResult.apiChecksumMismatch
3461 |     }
3462 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_history() != 36014) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3463 |         return InitializationResult.apiChecksumMismatch
3464 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3465:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3463 |         return InitializationResult.apiChecksumMismatch
3464 |     }
3465 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_info() != 9944) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3466 |         return InitializationResult.apiChecksumMismatch
3467 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3468:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded' in scope
3466 |         return InitializationResult.apiChecksumMismatch
3467 |     }
3468 |     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
3469 |         return InitializationResult.apiChecksumMismatch
3470 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3471:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model' in scope
3469 |         return InitializationResult.apiChecksumMismatch
3470 |     }
3471 |     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
3472 |         return InitializationResult.apiChecksumMismatch
3473 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3474:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model' in scope
3472 |         return InitializationResult.apiChecksumMismatch
3473 |     }
3474 |     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
3475 |         return InitializationResult.apiChecksumMismatch
3476 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3477:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model' in scope
3475 |         return InitializationResult.apiChecksumMismatch
3476 |     }
3477 |     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
3478 |         return InitializationResult.apiChecksumMismatch
3479 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3480:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model' in scope
3478 |         return InitializationResult.apiChecksumMismatch
3479 |     }
3480 |     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
3481 |         return InitializationResult.apiChecksumMismatch
3482 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3483:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool' in scope
3481 |         return InitializationResult.apiChecksumMismatch
3482 |     }
3483 |     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
3484 |         return InitializationResult.apiChecksumMismatch
3485 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3486:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools' in scope
3484 |         return InitializationResult.apiChecksumMismatch
3485 |     }
3486 |     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
3487 |         return InitializationResult.apiChecksumMismatch
3488 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3489:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_restore_history' in scope
3487 |         return InitializationResult.apiChecksumMismatch
3488 |     }
3489 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_restore_history() != 25771) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_restore_history' in scope
3490 |         return InitializationResult.apiChecksumMismatch
3491 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3492:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3490 |         return InitializationResult.apiChecksumMismatch
3491 |     }
3492 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_run() != 39233) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3493 |         return InitializationResult.apiChecksumMismatch
3494 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3495:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3493 |         return InitializationResult.apiChecksumMismatch
3494 |     }
3495 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_send() != 839) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3496 |         return InitializationResult.apiChecksumMismatch
3497 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3498:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_sampling' in scope
3496 |         return InitializationResult.apiChecksumMismatch
3497 |     }
3498 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_sampling() != 44594) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_sampling' in scope
3499 |         return InitializationResult.apiChecksumMismatch
3500 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3501:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_system_prompt' in scope
3499 |         return InitializationResult.apiChecksumMismatch
3500 |     }
3501 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_system_prompt() != 31838) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_system_prompt' in scope
3502 |         return InitializationResult.apiChecksumMismatch
3503 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3504:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_stream_message' in scope
3502 |         return InitializationResult.apiChecksumMismatch
3503 |     }
3504 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_stream_message() != 6788) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_stream_message' in scope
3505 |         return InitializationResult.apiChecksumMismatch
3506 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3507:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3505 |         return InitializationResult.apiChecksumMismatch
3506 |     }
3507 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload() != 29612) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3508 |         return InitializationResult.apiChecksumMismatch
3509 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3510:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool' in scope
3508 |         return InitializationResult.apiChecksumMismatch
3509 |     }
3510 |     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
3511 |         return InitializationResult.apiChecksumMismatch
3512 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3513:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3511 |         return InitializationResult.apiChecksumMismatch
3512 |     }
3513 |     if (uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new() != 19584) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3514 |         return InitializationResult.apiChecksumMismatch
3515 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3516:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new_with_app_id' in scope
3514 |         return InitializationResult.apiChecksumMismatch
3515 |     }
3516 |     if (uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new_with_app_id() != 58709) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new_with_app_id' in scope
3517 |         return InitializationResult.apiChecksumMismatch
3518 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3519:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3517 |         return InitializationResult.apiChecksumMismatch
3518 |     }
3519 |     if (uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve() != 9982) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3520 |         return InitializationResult.apiChecksumMismatch
3521 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3522:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed' in scope
3520 |         return InitializationResult.apiChecksumMismatch
3521 |     }
3522 |     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
3523 |         return InitializationResult.apiChecksumMismatch
3524 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3525:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_text_delta' in scope
3523 |         return InitializationResult.apiChecksumMismatch
3524 |     }
3525 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_text_delta() != 35660) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_text_delta' in scope
3526 |         return InitializationResult.apiChecksumMismatch
3527 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3528:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3526 |         return InitializationResult.apiChecksumMismatch
3527 |     }
3528 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested() != 9203) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3529 |         return InitializationResult.apiChecksumMismatch
3530 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3531:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3529 |         return InitializationResult.apiChecksumMismatch
3530 |     }
3531 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested() != 14469) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3532 |         return InitializationResult.apiChecksumMismatch
3533 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3534:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3532 |         return InitializationResult.apiChecksumMismatch
3533 |     }
3534 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started() != 36088) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3535 |         return InitializationResult.apiChecksumMismatch
3536 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3537:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3535 |         return InitializationResult.apiChecksumMismatch
3536 |     }
3537 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished() != 51284) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3538 |         return InitializationResult.apiChecksumMismatch
3539 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3540:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3538 |         return InitializationResult.apiChecksumMismatch
3539 |     }
3540 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied() != 55514) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3541 |         return InitializationResult.apiChecksumMismatch
3542 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3543:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3541 |         return InitializationResult.apiChecksumMismatch
3542 |     }
3543 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning() != 17877) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3544 |         return InitializationResult.apiChecksumMismatch
3545 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3546:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffistreamlistener_on_delta' in scope
3544 |         return InitializationResult.apiChecksumMismatch
3545 |     }
3546 |     if (uniffi_ed_agent_ffi_checksum_method_ffistreamlistener_on_delta() != 13726) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffistreamlistener_on_delta' in scope
3547 |         return InitializationResult.apiChecksumMismatch
3548 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3549:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3547 |         return InitializationResult.apiChecksumMismatch
3548 |     }
3549 |     if (uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute() != 36465) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3550 |         return InitializationResult.apiChecksumMismatch
3551 |     }
[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:1147: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
     :
1145 | @_documentation(visibility: private)
1146 | #endif
1147 | public struct FfiConverterTypeFfiAgentConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1148 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiAgentConfig {
1149 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1166:56: error: cannot find type 'RustBuffer' in scope
1164 | @_documentation(visibility: private)
1165 | #endif
1166 | public func FfiConverterTypeFfiAgentConfig_lift(_ buf: RustBuffer) throws -> FfiAgentConfig {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1167 |     return try FfiConverterTypeFfiAgentConfig.lift(buf)
1168 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1173:78: error: cannot find type 'RustBuffer' in scope
1171 | @_documentation(visibility: private)
1172 | #endif
1173 | public func FfiConverterTypeFfiAgentConfig_lower(_ value: FfiAgentConfig) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1174 |     return FfiConverterTypeFfiAgentConfig.lower(value)
1175 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1205: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
     :
1203 | @_documentation(visibility: private)
1204 | #endif
1205 | public struct FfiConverterTypeFfiAgentReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiAgentReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1206 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiAgentReply {
1207 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1228:55: error: cannot find type 'RustBuffer' in scope
1226 | @_documentation(visibility: private)
1227 | #endif
1228 | public func FfiConverterTypeFfiAgentReply_lift(_ buf: RustBuffer) throws -> FfiAgentReply {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1229 |     return try FfiConverterTypeFfiAgentReply.lift(buf)
1230 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1235:76: error: cannot find type 'RustBuffer' in scope
1233 | @_documentation(visibility: private)
1234 | #endif
1235 | public func FfiConverterTypeFfiAgentReply_lower(_ value: FfiAgentReply) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1236 |     return FfiConverterTypeFfiAgentReply.lower(value)
1237 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1270: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
     :
1268 | @_documentation(visibility: private)
1269 | #endif
1270 | public struct FfiConverterTypeFfiApprovalRequest: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalRequest' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1271 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiApprovalRequest {
1272 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1289:60: error: cannot find type 'RustBuffer' in scope
1287 | @_documentation(visibility: private)
1288 | #endif
1289 | public func FfiConverterTypeFfiApprovalRequest_lift(_ buf: RustBuffer) throws -> FfiApprovalRequest {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1290 |     return try FfiConverterTypeFfiApprovalRequest.lift(buf)
1291 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1296:86: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeFfiApprovalRequest_lower(_ value: FfiApprovalRequest) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1297 |     return FfiConverterTypeFfiApprovalRequest.lower(value)
1298 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1324: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
     :
1322 | @_documentation(visibility: private)
1323 | #endif
1324 | public struct FfiConverterTypeFfiChatMessage: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1325 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiChatMessage {
1326 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1343:56: error: cannot find type 'RustBuffer' in scope
1341 | @_documentation(visibility: private)
1342 | #endif
1343 | public func FfiConverterTypeFfiChatMessage_lift(_ buf: RustBuffer) throws -> FfiChatMessage {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
1344 |     return try FfiConverterTypeFfiChatMessage.lift(buf)
1345 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1350:78: error: cannot find type 'RustBuffer' in scope
1348 | @_documentation(visibility: private)
1349 | #endif
1350 | public func FfiConverterTypeFfiChatMessage_lower(_ value: FfiChatMessage) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
1351 |     return FfiConverterTypeFfiChatMessage.lower(value)
1352 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1382: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
     :
1380 | @_documentation(visibility: private)
1381 | #endif
1382 | public struct FfiConverterTypeFfiEngineInfo: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineInfo' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1383 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiEngineInfo {
1384 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1405:55: error: cannot find type 'RustBuffer' in scope
1403 | @_documentation(visibility: private)
1404 | #endif
1405 | public func FfiConverterTypeFfiEngineInfo_lift(_ buf: RustBuffer) throws -> FfiEngineInfo {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1406 |     return try FfiConverterTypeFfiEngineInfo.lift(buf)
1407 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1412:76: error: cannot find type 'RustBuffer' in scope
1410 | @_documentation(visibility: private)
1411 | #endif
1412 | public func FfiConverterTypeFfiEngineInfo_lower(_ value: FfiEngineInfo) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1413 |     return FfiConverterTypeFfiEngineInfo.lower(value)
1414 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1448: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
     :
1446 | @_documentation(visibility: private)
1447 | #endif
1448 | public struct FfiConverterTypeFfiGgufModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiGgufModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1449 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiGgufModelConfig {
1450 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1475:60: error: cannot find type 'RustBuffer' in scope
1473 | @_documentation(visibility: private)
1474 | #endif
1475 | public func FfiConverterTypeFfiGgufModelConfig_lift(_ buf: RustBuffer) throws -> FfiGgufModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1476 |     return try FfiConverterTypeFfiGgufModelConfig.lift(buf)
1477 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1482:86: error: cannot find type 'RustBuffer' in scope
1480 | @_documentation(visibility: private)
1481 | #endif
1482 | public func FfiConverterTypeFfiGgufModelConfig_lower(_ value: FfiGgufModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1483 |     return FfiConverterTypeFfiGgufModelConfig.lower(value)
1484 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1510: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
     :
1508 | @_documentation(visibility: private)
1509 | #endif
1510 | public struct FfiConverterTypeFfiReply: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiReply' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1511 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiReply {
1512 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1529:50: error: cannot find type 'RustBuffer' in scope
1527 | @_documentation(visibility: private)
1528 | #endif
1529 | public func FfiConverterTypeFfiReply_lift(_ buf: RustBuffer) throws -> FfiReply {
     |                                                  `- error: cannot find type 'RustBuffer' in scope
1530 |     return try FfiConverterTypeFfiReply.lift(buf)
1531 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1536:66: error: cannot find type 'RustBuffer' in scope
1534 | @_documentation(visibility: private)
1535 | #endif
1536 | public func FfiConverterTypeFfiReply_lower(_ value: FfiReply) -> RustBuffer {
     |                                                                  `- error: cannot find type 'RustBuffer' in scope
1537 |     return FfiConverterTypeFfiReply.lower(value)
1538 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1574: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
     :
1572 | @_documentation(visibility: private)
1573 | #endif
1574 | public struct FfiConverterTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1575 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiSamplingConfig {
1576 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1603:59: error: cannot find type 'RustBuffer' in scope
1601 | @_documentation(visibility: private)
1602 | #endif
1603 | public func FfiConverterTypeFfiSamplingConfig_lift(_ buf: RustBuffer) throws -> FfiSamplingConfig {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1604 |     return try FfiConverterTypeFfiSamplingConfig.lift(buf)
1605 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1610:84: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFfiSamplingConfig_lower(_ value: FfiSamplingConfig) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1611 |     return FfiConverterTypeFfiSamplingConfig.lower(value)
1612 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1640: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
     :
1638 | @_documentation(visibility: private)
1639 | #endif
1640 | public struct FfiConverterTypeFfiStatusUpdate: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiStatusUpdate' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1641 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiStatusUpdate {
1642 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1661:57: error: cannot find type 'RustBuffer' in scope
1659 | @_documentation(visibility: private)
1660 | #endif
1661 | public func FfiConverterTypeFfiStatusUpdate_lift(_ buf: RustBuffer) throws -> FfiStatusUpdate {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
1662 |     return try FfiConverterTypeFfiStatusUpdate.lift(buf)
1663 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1668:80: error: cannot find type 'RustBuffer' in scope
1666 | @_documentation(visibility: private)
1667 | #endif
1668 | public func FfiConverterTypeFfiStatusUpdate_lower(_ value: FfiStatusUpdate) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
1669 |     return FfiConverterTypeFfiStatusUpdate.lower(value)
1670 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1698: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
     :
1696 | @_documentation(visibility: private)
1697 | #endif
1698 | public struct FfiConverterTypeFfiToolCall: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolCall' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1699 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolCall {
1700 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1719:53: error: cannot find type 'RustBuffer' in scope
1717 | @_documentation(visibility: private)
1718 | #endif
1719 | public func FfiConverterTypeFfiToolCall_lift(_ buf: RustBuffer) throws -> FfiToolCall {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
1720 |     return try FfiConverterTypeFfiToolCall.lift(buf)
1721 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1726:72: error: cannot find type 'RustBuffer' in scope
1724 | @_documentation(visibility: private)
1725 | #endif
1726 | public func FfiConverterTypeFfiToolCall_lower(_ value: FfiToolCall) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
1727 |     return FfiConverterTypeFfiToolCall.lower(value)
1728 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1758: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
     :
1756 | @_documentation(visibility: private)
1757 | #endif
1758 | public struct FfiConverterTypeFfiToolDefinition: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolDefinition' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1759 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolDefinition {
1760 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1781:59: error: cannot find type 'RustBuffer' in scope
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public func FfiConverterTypeFfiToolDefinition_lift(_ buf: RustBuffer) throws -> FfiToolDefinition {
     |                                                           `- error: cannot find type 'RustBuffer' in scope
1782 |     return try FfiConverterTypeFfiToolDefinition.lift(buf)
1783 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1788:84: error: cannot find type 'RustBuffer' in scope
1786 | @_documentation(visibility: private)
1787 | #endif
1788 | public func FfiConverterTypeFfiToolDefinition_lower(_ value: FfiToolDefinition) -> RustBuffer {
     |                                                                                    `- error: cannot find type 'RustBuffer' in scope
1789 |     return FfiConverterTypeFfiToolDefinition.lower(value)
1790 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1816: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
     :
1814 | @_documentation(visibility: private)
1815 | #endif
1816 | public struct FfiConverterTypeFfiToolOutput: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolOutput' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1817 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiToolOutput {
1818 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1835:55: error: cannot find type 'RustBuffer' in scope
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public func FfiConverterTypeFfiToolOutput_lift(_ buf: RustBuffer) throws -> FfiToolOutput {
     |                                                       `- error: cannot find type 'RustBuffer' in scope
1836 |     return try FfiConverterTypeFfiToolOutput.lift(buf)
1837 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1842:76: error: cannot find type 'RustBuffer' in scope
1840 | @_documentation(visibility: private)
1841 | #endif
1842 | public func FfiConverterTypeFfiToolOutput_lower(_ value: FfiToolOutput) -> RustBuffer {
     |                                                                            `- error: cannot find type 'RustBuffer' in scope
1843 |     return FfiConverterTypeFfiToolOutput.lower(value)
1844 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1876: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
     :
1874 | @_documentation(visibility: private)
1875 | #endif
1876 | public struct FfiConverterTypeFfiUqffModelConfig: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiUqffModelConfig' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1877 |     public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> FfiUqffModelConfig {
1878 |         return
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1901:60: error: cannot find type 'RustBuffer' in scope
1899 | @_documentation(visibility: private)
1900 | #endif
1901 | public func FfiConverterTypeFfiUqffModelConfig_lift(_ buf: RustBuffer) throws -> FfiUqffModelConfig {
     |                                                            `- error: cannot find type 'RustBuffer' in scope
1902 |     return try FfiConverterTypeFfiUqffModelConfig.lift(buf)
1903 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1908:86: error: cannot find type 'RustBuffer' in scope
1906 | @_documentation(visibility: private)
1907 | #endif
1908 | public func FfiConverterTypeFfiUqffModelConfig_lower(_ value: FfiUqffModelConfig) -> RustBuffer {
     |                                                                                      `- error: cannot find type 'RustBuffer' in scope
1909 |     return FfiConverterTypeFfiUqffModelConfig.lower(value)
1910 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1934: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 |
     :
1932 | @_documentation(visibility: private)
1933 | #endif
1934 | public struct FfiConverterTypeFfiApprovalDecision: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiApprovalDecision' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
1935 |     typealias SwiftType = FfiApprovalDecision
1936 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1974:61: error: cannot find type 'RustBuffer' in scope
1972 | @_documentation(visibility: private)
1973 | #endif
1974 | public func FfiConverterTypeFfiApprovalDecision_lift(_ buf: RustBuffer) throws -> FfiApprovalDecision {
     |                                                             `- error: cannot find type 'RustBuffer' in scope
1975 |     return try FfiConverterTypeFfiApprovalDecision.lift(buf)
1976 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1981:88: error: cannot find type 'RustBuffer' in scope
1979 | @_documentation(visibility: private)
1980 | #endif
1981 | public func FfiConverterTypeFfiApprovalDecision_lower(_ value: FfiApprovalDecision) -> RustBuffer {
     |                                                                                        `- error: cannot find type 'RustBuffer' in scope
1982 |     return FfiConverterTypeFfiApprovalDecision.lower(value)
1983 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2008: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 |
     :
2006 | @_documentation(visibility: private)
2007 | #endif
2008 | public struct FfiConverterTypeFfiChatRole: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiChatRole' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2009 |     typealias SwiftType = FfiChatRole
2010 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2048:53: error: cannot find type 'RustBuffer' in scope
2046 | @_documentation(visibility: private)
2047 | #endif
2048 | public func FfiConverterTypeFfiChatRole_lift(_ buf: RustBuffer) throws -> FfiChatRole {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
2049 |     return try FfiConverterTypeFfiChatRole.lift(buf)
2050 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2055:72: error: cannot find type 'RustBuffer' in scope
2053 | @_documentation(visibility: private)
2054 | #endif
2055 | public func FfiConverterTypeFfiChatRole_lower(_ value: FfiChatRole) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
2056 |     return FfiConverterTypeFfiChatRole.lower(value)
2057 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2086: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 |
     :
2084 | @_documentation(visibility: private)
2085 | #endif
2086 | public struct FfiConverterTypeFfiEdError: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEdError' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2087 |     typealias SwiftType = FfiEdError
2088 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2123:52: error: cannot find type 'RustBuffer' in scope
2121 | @_documentation(visibility: private)
2122 | #endif
2123 | public func FfiConverterTypeFfiEdError_lift(_ buf: RustBuffer) throws -> FfiEdError {
     |                                                    `- error: cannot find type 'RustBuffer' in scope
2124 |     return try FfiConverterTypeFfiEdError.lift(buf)
2125 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2130:70: error: cannot find type 'RustBuffer' in scope
2128 | @_documentation(visibility: private)
2129 | #endif
2130 | public func FfiConverterTypeFfiEdError_lower(_ value: FfiEdError) -> RustBuffer {
     |                                                                      `- error: cannot find type 'RustBuffer' in scope
2131 |     return FfiConverterTypeFfiEdError.lower(value)
2132 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2158: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 |
     :
2156 | @_documentation(visibility: private)
2157 | #endif
2158 | public struct FfiConverterTypeFfiEngineStatus: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEngineStatus' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2159 |     typealias SwiftType = FfiEngineStatus
2160 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2210:57: error: cannot find type 'RustBuffer' in scope
2208 | @_documentation(visibility: private)
2209 | #endif
2210 | public func FfiConverterTypeFfiEngineStatus_lift(_ buf: RustBuffer) throws -> FfiEngineStatus {
     |                                                         `- error: cannot find type 'RustBuffer' in scope
2211 |     return try FfiConverterTypeFfiEngineStatus.lift(buf)
2212 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2217:80: error: cannot find type 'RustBuffer' in scope
2215 | @_documentation(visibility: private)
2216 | #endif
2217 | public func FfiConverterTypeFfiEngineStatus_lower(_ value: FfiEngineStatus) -> RustBuffer {
     |                                                                                `- error: cannot find type 'RustBuffer' in scope
2218 |     return FfiConverterTypeFfiEngineStatus.lower(value)
2219 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2243: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 |
     :
2241 | @_documentation(visibility: private)
2242 | #endif
2243 | public struct FfiConverterTypeFfiEnvironment: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiEnvironment' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2244 |     typealias SwiftType = FfiEnvironment
2245 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2277:56: error: cannot find type 'RustBuffer' in scope
2275 | @_documentation(visibility: private)
2276 | #endif
2277 | public func FfiConverterTypeFfiEnvironment_lift(_ buf: RustBuffer) throws -> FfiEnvironment {
     |                                                        `- error: cannot find type 'RustBuffer' in scope
2278 |     return try FfiConverterTypeFfiEnvironment.lift(buf)
2279 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2284:78: error: cannot find type 'RustBuffer' in scope
2282 | @_documentation(visibility: private)
2283 | #endif
2284 | public func FfiConverterTypeFfiEnvironment_lower(_ value: FfiEnvironment) -> RustBuffer {
     |                                                                              `- error: cannot find type 'RustBuffer' in scope
2285 |     return FfiConverterTypeFfiEnvironment.lower(value)
2286 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2310: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 |
     :
2308 | @_documentation(visibility: private)
2309 | #endif
2310 | public struct FfiConverterTypeFfiToolRisk: FfiConverterRustBuffer {
     |               |- error: type 'FfiConverterTypeFfiToolRisk' does not conform to protocol 'FfiConverter'
     |               `- note: add stubs for conformance
2311 |     typealias SwiftType = FfiToolRisk
2312 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2344:53: error: cannot find type 'RustBuffer' in scope
2342 | @_documentation(visibility: private)
2343 | #endif
2344 | public func FfiConverterTypeFfiToolRisk_lift(_ buf: RustBuffer) throws -> FfiToolRisk {
     |                                                     `- error: cannot find type 'RustBuffer' in scope
2345 |     return try FfiConverterTypeFfiToolRisk.lift(buf)
2346 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2351:72: error: cannot find type 'RustBuffer' in scope
2349 | @_documentation(visibility: private)
2350 | #endif
2351 | public func FfiConverterTypeFfiToolRisk_lower(_ value: FfiToolRisk) -> RustBuffer {
     |                                                                        `- error: cannot find type 'RustBuffer' in scope
2352 |     return FfiConverterTypeFfiToolRisk.lower(value)
2353 | }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2374:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2372 |     // This creates 1-element array, since this seems to be the only way to construct a const
2373 |     // pointer that we can pass to the Rust code.
2374 |     static let vtable: [UniffiVTableCallbackInterfaceFfiApprovalHandler] = [UniffiVTableCallbackInterfaceFfiApprovalHandler(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiApprovalHandler' in scope
2375 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2376 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2533:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2531 |     // This creates 1-element array, since this seems to be the only way to construct a const
2532 |     // pointer that we can pass to the Rust code.
2533 |     static let vtable: [UniffiVTableCallbackInterfaceFfiEventListener] = [UniffiVTableCallbackInterfaceFfiEventListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiEventListener' in scope
2534 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2535 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2832:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiStreamListener' in scope
2830 |     // This creates 1-element array, since this seems to be the only way to construct a const
2831 |     // pointer that we can pass to the Rust code.
2832 |     static let vtable: [UniffiVTableCallbackInterfaceFfiStreamListener] = [UniffiVTableCallbackInterfaceFfiStreamListener(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiStreamListener' in scope
2833 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2834 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2956:25: error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2954 |     // This creates 1-element array, since this seems to be the only way to construct a const
2955 |     // pointer that we can pass to the Rust code.
2956 |     static let vtable: [UniffiVTableCallbackInterfaceFfiToolExecutor] = [UniffiVTableCallbackInterfaceFfiToolExecutor(
     |                         `- error: cannot find type 'UniffiVTableCallbackInterfaceFfiToolExecutor' in scope
2957 |         uniffiFree: { (uniffiHandle: UInt64) -> () in
2958 |             do {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3085: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 |
     :
3083 | @_documentation(visibility: private)
3084 | #endif
3085 | fileprivate struct FfiConverterOptionUInt64: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionUInt64' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3086 |     typealias SwiftType = UInt64?
3087 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3109: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 |
     :
3107 | @_documentation(visibility: private)
3108 | #endif
3109 | fileprivate struct FfiConverterOptionFloat: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionFloat' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3110 |     typealias SwiftType = Float?
3111 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3133: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 |
     :
3131 | @_documentation(visibility: private)
3132 | #endif
3133 | fileprivate struct FfiConverterOptionDouble: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionDouble' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3134 |     typealias SwiftType = Double?
3135 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3157: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 |
     :
3155 | @_documentation(visibility: private)
3156 | #endif
3157 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3158 |     typealias SwiftType = String?
3159 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3181: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 |
     :
3179 | @_documentation(visibility: private)
3180 | #endif
3181 | fileprivate struct FfiConverterOptionTypeFfiAgentConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiAgentConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3182 |     typealias SwiftType = FfiAgentConfig?
3183 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3205: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 |
     :
3203 | @_documentation(visibility: private)
3204 | #endif
3205 | fileprivate struct FfiConverterOptionTypeFfiSamplingConfig: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterOptionTypeFfiSamplingConfig' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3206 |     typealias SwiftType = FfiSamplingConfig?
3207 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3229: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 |
     :
3227 | @_documentation(visibility: private)
3228 | #endif
3229 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3230 |     typealias SwiftType = [String]
3231 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3254: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 |
     :
3252 | @_documentation(visibility: private)
3253 | #endif
3254 | fileprivate struct FfiConverterSequenceTypeFfiChatMessage: FfiConverterRustBuffer {
     |                    |- error: type 'FfiConverterSequenceTypeFfiChatMessage' does not conform to protocol 'FfiConverter'
     |                    `- note: add stubs for conformance
3255 |     typealias SwiftType = [FfiChatMessage]
3256 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3282:34: error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
3280 | fileprivate func uniffiRustCallAsync<F, T>(
3281 |     rustFutureFunc: () -> UInt64,
3282 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                                  `- error: cannot find type 'UniffiRustFutureContinuationCallback' in scope
3283 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
3284 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3282:24: error: @escaping attribute only applies to function types
3280 | fileprivate func uniffiRustCallAsync<F, T>(
3281 |     rustFutureFunc: () -> UInt64,
3282 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
     |                        `- error: @escaping attribute only applies to function types
3283 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
3284 |     freeFunc: (UInt64) -> (),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3283:49: error: cannot find type 'RustCallStatus' in scope
3281 |     rustFutureFunc: () -> UInt64,
3282 |     pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
3283 |     completeFunc: (UInt64, UnsafeMutablePointer<RustCallStatus>) -> F,
     |                                                 `- error: cannot find type 'RustCallStatus' in scope
3284 |     freeFunc: (UInt64) -> (),
3285 |     liftFunc: (F) throws -> T,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3286:21: error: cannot find type 'RustBuffer' in scope
3284 |     freeFunc: (UInt64) -> (),
3285 |     liftFunc: (F) throws -> T,
3286 |     errorHandler: ((RustBuffer) throws -> Swift.Error)?
     |                     `- error: cannot find type 'RustBuffer' in scope
3287 | ) async throws -> T {
3288 |     // 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:3326:35: error: cannot find type 'RustBuffer' in scope
3324 |     makeCall: @escaping () async throws -> T,
3325 |     handleSuccess: @escaping (T) -> (),
3326 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3327 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3328 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3327:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3325 |     handleSuccess: @escaping (T) -> (),
3326 |     handleError: @escaping (Int8, RustBuffer) -> (),
3327 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3328 | ) {
3329 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3357:35: error: cannot find type 'RustBuffer' in scope
3355 |     makeCall: @escaping () async throws -> T,
3356 |     handleSuccess: @escaping (T) -> (),
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
     |                                   `- error: cannot find type 'RustBuffer' in scope
3358 |     lowerError: @escaping (E) -> RustBuffer,
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3358:34: error: cannot find type 'RustBuffer' in scope
3356 |     handleSuccess: @escaping (T) -> (),
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
3358 |     lowerError: @escaping (E) -> RustBuffer,
     |                                  `- error: cannot find type 'RustBuffer' in scope
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3360 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3358:17: error: @escaping attribute only applies to function types
3356 |     handleSuccess: @escaping (T) -> (),
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
3358 |     lowerError: @escaping (E) -> RustBuffer,
     |                 `- error: @escaping attribute only applies to function types
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
3360 | ) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3359:43: error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3357 |     handleError: @escaping (Int8, RustBuffer) -> (),
3358 |     lowerError: @escaping (E) -> RustBuffer,
3359 |     droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
     |                                           `- error: cannot find type 'UniffiForeignFutureDroppedCallbackStruct' in scope
3360 | ) {
3361 |     let task = Task {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3437:40: error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3435 |     let bindings_contract_version = 30
3436 |     // Get the scaffolding contract version by calling the into the dylib
3437 |     let scaffolding_contract_version = ffi_ed_agent_ffi_uniffi_contract_version()
     |                                        `- error: cannot find 'ffi_ed_agent_ffi_uniffi_contract_version' in scope
3438 |     if bindings_contract_version != scaffolding_contract_version {
3439 |         return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3441:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_configure_cache_dir' in scope
3439 |         return InitializationResult.contractVersionMismatch
3440 |     }
3441 |     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
3442 |         return InitializationResult.apiChecksumMismatch
3443 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3444:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_func_default_agent_model_config' in scope
3442 |         return InitializationResult.apiChecksumMismatch
3443 |     }
3444 |     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
3445 |         return InitializationResult.apiChecksumMismatch
3446 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3447:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3445 |         return InitializationResult.apiChecksumMismatch
3446 |     }
3447 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel() != 42085) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel' in scope
3448 |         return InitializationResult.apiChecksumMismatch
3449 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3450:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel_stream' in scope
3448 |         return InitializationResult.apiChecksumMismatch
3449 |     }
3450 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel_stream() != 63923) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_cancel_stream' in scope
3451 |         return InitializationResult.apiChecksumMismatch
3452 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3453:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_history' in scope
3451 |         return InitializationResult.apiChecksumMismatch
3452 |     }
3453 |     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
3454 |         return InitializationResult.apiChecksumMismatch
3455 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3456:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_system_prompt' in scope
3454 |         return InitializationResult.apiChecksumMismatch
3455 |     }
3456 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_system_prompt() != 50345) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_clear_system_prompt' in scope
3457 |         return InitializationResult.apiChecksumMismatch
3458 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3459:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_generate' in scope
3457 |         return InitializationResult.apiChecksumMismatch
3458 |     }
3459 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_generate() != 6127) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_generate' in scope
3460 |         return InitializationResult.apiChecksumMismatch
3461 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3462:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3460 |         return InitializationResult.apiChecksumMismatch
3461 |     }
3462 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_history() != 36014) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_history' in scope
3463 |         return InitializationResult.apiChecksumMismatch
3464 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3465:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3463 |         return InitializationResult.apiChecksumMismatch
3464 |     }
3465 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_info() != 9944) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_info' in scope
3466 |         return InitializationResult.apiChecksumMismatch
3467 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3468:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_is_loaded' in scope
3466 |         return InitializationResult.apiChecksumMismatch
3467 |     }
3468 |     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
3469 |         return InitializationResult.apiChecksumMismatch
3470 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3471:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_assigned_model' in scope
3469 |         return InitializationResult.apiChecksumMismatch
3470 |     }
3471 |     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
3472 |         return InitializationResult.apiChecksumMismatch
3473 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3474:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_default_agent_model' in scope
3472 |         return InitializationResult.apiChecksumMismatch
3473 |     }
3474 |     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
3475 |         return InitializationResult.apiChecksumMismatch
3476 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3477:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_gguf_model' in scope
3475 |         return InitializationResult.apiChecksumMismatch
3476 |     }
3477 |     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
3478 |         return InitializationResult.apiChecksumMismatch
3479 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3480:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_load_uqff_model' in scope
3478 |         return InitializationResult.apiChecksumMismatch
3479 |     }
3480 |     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
3481 |         return InitializationResult.apiChecksumMismatch
3482 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3483:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_register_tool' in scope
3481 |         return InitializationResult.apiChecksumMismatch
3482 |     }
3483 |     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
3484 |         return InitializationResult.apiChecksumMismatch
3485 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3486:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_remove_all_tools' in scope
3484 |         return InitializationResult.apiChecksumMismatch
3485 |     }
3486 |     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
3487 |         return InitializationResult.apiChecksumMismatch
3488 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3489:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_restore_history' in scope
3487 |         return InitializationResult.apiChecksumMismatch
3488 |     }
3489 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_restore_history() != 25771) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_restore_history' in scope
3490 |         return InitializationResult.apiChecksumMismatch
3491 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3492:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3490 |         return InitializationResult.apiChecksumMismatch
3491 |     }
3492 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_run() != 39233) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_run' in scope
3493 |         return InitializationResult.apiChecksumMismatch
3494 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3495:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3493 |         return InitializationResult.apiChecksumMismatch
3494 |     }
3495 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_send() != 839) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_send' in scope
3496 |         return InitializationResult.apiChecksumMismatch
3497 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3498:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_sampling' in scope
3496 |         return InitializationResult.apiChecksumMismatch
3497 |     }
3498 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_sampling() != 44594) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_sampling' in scope
3499 |         return InitializationResult.apiChecksumMismatch
3500 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3501:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_system_prompt' in scope
3499 |         return InitializationResult.apiChecksumMismatch
3500 |     }
3501 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_system_prompt() != 31838) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_set_system_prompt' in scope
3502 |         return InitializationResult.apiChecksumMismatch
3503 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3504:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_stream_message' in scope
3502 |         return InitializationResult.apiChecksumMismatch
3503 |     }
3504 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_stream_message() != 6788) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_stream_message' in scope
3505 |         return InitializationResult.apiChecksumMismatch
3506 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3507:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3505 |         return InitializationResult.apiChecksumMismatch
3506 |     }
3507 |     if (uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload() != 29612) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unload' in scope
3508 |         return InitializationResult.apiChecksumMismatch
3509 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3510:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiedagent_unregister_tool' in scope
3508 |         return InitializationResult.apiChecksumMismatch
3509 |     }
3510 |     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
3511 |         return InitializationResult.apiChecksumMismatch
3512 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3513:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3511 |         return InitializationResult.apiChecksumMismatch
3512 |     }
3513 |     if (uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new() != 19584) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new' in scope
3514 |         return InitializationResult.apiChecksumMismatch
3515 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3516:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new_with_app_id' in scope
3514 |         return InitializationResult.apiChecksumMismatch
3515 |     }
3516 |     if (uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new_with_app_id() != 58709) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_constructor_ffiedagent_new_with_app_id' in scope
3517 |         return InitializationResult.apiChecksumMismatch
3518 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3519:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3517 |         return InitializationResult.apiChecksumMismatch
3518 |     }
3519 |     if (uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve() != 9982) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffiapprovalhandler_approve' in scope
3520 |         return InitializationResult.apiChecksumMismatch
3521 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3522:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_status_changed' in scope
3520 |         return InitializationResult.apiChecksumMismatch
3521 |     }
3522 |     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
3523 |         return InitializationResult.apiChecksumMismatch
3524 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3525:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_text_delta' in scope
3523 |         return InitializationResult.apiChecksumMismatch
3524 |     }
3525 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_text_delta() != 35660) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_text_delta' in scope
3526 |         return InitializationResult.apiChecksumMismatch
3527 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3528:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3526 |         return InitializationResult.apiChecksumMismatch
3527 |     }
3528 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested() != 9203) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_requested' in scope
3529 |         return InitializationResult.apiChecksumMismatch
3530 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3531:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3529 |         return InitializationResult.apiChecksumMismatch
3530 |     }
3531 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested() != 14469) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_approval_requested' in scope
3532 |         return InitializationResult.apiChecksumMismatch
3533 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3534:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3532 |         return InitializationResult.apiChecksumMismatch
3533 |     }
3534 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started() != 36088) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_started' in scope
3535 |         return InitializationResult.apiChecksumMismatch
3536 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3537:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3535 |         return InitializationResult.apiChecksumMismatch
3536 |     }
3537 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished() != 51284) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_tool_finished' in scope
3538 |         return InitializationResult.apiChecksumMismatch
3539 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3540:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3538 |         return InitializationResult.apiChecksumMismatch
3539 |     }
3540 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied() != 55514) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_agent_replied' in scope
3541 |         return InitializationResult.apiChecksumMismatch
3542 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3543:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3541 |         return InitializationResult.apiChecksumMismatch
3542 |     }
3543 |     if (uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning() != 17877) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffieventlistener_warning' in scope
3544 |         return InitializationResult.apiChecksumMismatch
3545 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3546:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffistreamlistener_on_delta' in scope
3544 |         return InitializationResult.apiChecksumMismatch
3545 |     }
3546 |     if (uniffi_ed_agent_ffi_checksum_method_ffistreamlistener_on_delta() != 13726) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffistreamlistener_on_delta' in scope
3547 |         return InitializationResult.apiChecksumMismatch
3548 |     }
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3549:9: error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3547 |         return InitializationResult.apiChecksumMismatch
3548 |     }
3549 |     if (uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute() != 36465) {
     |         `- error: cannot find 'uniffi_ed_agent_ffi_checksum_method_ffitoolexecutor_execute' in scope
3550 |         return InitializationResult.apiChecksumMismatch
3551 |     }
/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:655:32: error: cannot find 'uniffi_ed_agent_ffi_fn_clone_ffiedagent' in scope
 653 | #endif
 654 |     public func uniffiCloneHandle() -> UInt64 {
 655 |         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
 656 |     }
 657 | public convenience init(executor: FfiToolExecutor, approvals: FfiApprovalHandler, events: FfiEventListener, config: FfiAgentConfig?) {
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:660:5: error: cannot find 'uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new' in scope
 658 |     let handle =
 659 |         try! rustCall() {
 660 |     uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new' in scope
 661 |         FfiConverterCallbackInterfaceFfiToolExecutor_lower(executor),
 662 |         FfiConverterCallbackInterfaceFfiApprovalHandler_lower(approvals),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:676:25: error: cannot find 'uniffi_ed_agent_ffi_fn_free_ffiedagent' in scope
 674 |         }
 675 |
 676 |         try! rustCall { uniffi_ed_agent_ffi_fn_free_ffiedagent(handle, $0) }
     |                         `- error: cannot find 'uniffi_ed_agent_ffi_fn_free_ffiedagent' in scope
 677 |     }
 678 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:685:5: error: cannot find 'uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new_with_app_id' in scope
 683 | public static func newWithAppId(executor: FfiToolExecutor, approvals: FfiApprovalHandler, events: FfiEventListener, config: FfiAgentConfig?, appId: String?) -> FfiEdAgent  {
 684 |     return try!  FfiConverterTypeFfiEdAgent_lift(try! rustCall() {
 685 |     uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new_with_app_id(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_constructor_ffiedagent_new_with_app_id' in scope
 686 |         FfiConverterCallbackInterfaceFfiToolExecutor_lower(executor),
 687 |         FfiConverterCallbackInterfaceFfiApprovalHandler_lower(approvals),
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:698:5: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel' in scope
 696 |
 697 | open func cancel()  {try! rustCall() {
 698 |     uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel' in scope
 699 |             self.uniffiCloneHandle(),$0
 700 |     )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:708:5: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel_stream' in scope
 706 |      */
 707 | open func cancelStream()  {try! rustCall() {
 708 |     uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel_stream(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_cancel_stream' in scope
 709 |             self.uniffiCloneHandle(),$0
 710 |     )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:718:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_history' in scope
 716 |         try!  await uniffiRustCallAsync(
 717 |             rustFutureFunc: {
 718 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_history(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_history' in scope
 719 |                     self.uniffiCloneHandle()
 720 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:723:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_u64' in scope
 721 |                 )
 722 |             },
 723 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_u64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_u64' in scope
 724 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_u64,
 725 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:724:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_u64' in scope
 722 |             },
 723 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_u64,
 724 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_u64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_u64' in scope
 725 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
 726 |             liftFunc: FfiConverterUInt64.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:725:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_u64' in scope
 723 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_u64,
 724 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_u64,
 725 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_u64' in scope
 726 |             liftFunc: FfiConverterUInt64.lift,
 727 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:727:27: error: 'nil' requires a contextual type
 725 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_u64,
 726 |             liftFunc: FfiConverterUInt64.lift,
 727 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 728 |
 729 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:736:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_system_prompt' in scope
 734 |         try!  await uniffiRustCallAsync(
 735 |             rustFutureFunc: {
 736 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_system_prompt(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_clear_system_prompt' in scope
 737 |                     self.uniffiCloneHandle()
 738 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:741:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 739 |                 )
 740 |             },
 741 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 742 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 743 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:742:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 740 |             },
 741 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 742 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 743 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 744 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:743:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 741 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 742 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 743 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 744 |             liftFunc: { $0 },
 745 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:745:27: error: 'nil' requires a contextual type
 743 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 744 |             liftFunc: { $0 },
 745 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 746 |
 747 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:757:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_generate' in scope
 755 |         try  await uniffiRustCallAsync(
 756 |             rustFutureFunc: {
 757 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_generate(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_generate' in scope
 758 |                     self.uniffiCloneHandle(),
 759 |                     FfiConverterSequenceTypeFfiChatMessage.lower(messages),FfiConverterOptionTypeFfiSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:762:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 760 |                 )
 761 |             },
 762 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 763 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 764 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:763:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 761 |             },
 762 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 763 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 764 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 765 |             liftFunc: FfiConverterString.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:764:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 762 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 763 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 764 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 765 |             liftFunc: FfiConverterString.lift,
 766 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:774:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_history' in scope
 772 |         try!  await uniffiRustCallAsync(
 773 |             rustFutureFunc: {
 774 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_history(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_history' in scope
 775 |                     self.uniffiCloneHandle()
 776 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:779:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 777 |                 )
 778 |             },
 779 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 780 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 781 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:780:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 778 |             },
 779 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 780 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 781 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 782 |             liftFunc: FfiConverterSequenceTypeFfiChatMessage.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:781:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 779 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 780 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 781 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 782 |             liftFunc: FfiConverterSequenceTypeFfiChatMessage.lift,
 783 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:783:27: error: 'nil' requires a contextual type
 781 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 782 |             liftFunc: FfiConverterSequenceTypeFfiChatMessage.lift,
 783 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 784 |
 785 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:792:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_info' in scope
 790 |         try!  await uniffiRustCallAsync(
 791 |             rustFutureFunc: {
 792 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_info(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_info' in scope
 793 |                     self.uniffiCloneHandle()
 794 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:797:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 795 |                 )
 796 |             },
 797 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 798 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 799 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:798:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 796 |             },
 797 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 798 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 799 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 800 |             liftFunc: FfiConverterTypeFfiEngineInfo_lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:799:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 797 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 798 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 799 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 800 |             liftFunc: FfiConverterTypeFfiEngineInfo_lift,
 801 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:801:27: error: 'nil' requires a contextual type
 799 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 800 |             liftFunc: FfiConverterTypeFfiEngineInfo_lift,
 801 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 802 |
 803 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:810:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_is_loaded' in scope
 808 |         try!  await uniffiRustCallAsync(
 809 |             rustFutureFunc: {
 810 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_is_loaded(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_is_loaded' in scope
 811 |                     self.uniffiCloneHandle()
 812 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:815:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
 813 |                 )
 814 |             },
 815 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
 816 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
 817 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:816:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
 814 |             },
 815 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
 816 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
 817 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
 818 |             liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:817:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
 815 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
 816 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
 817 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
 818 |             liftFunc: FfiConverterBool.lift,
 819 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:819:27: error: 'nil' requires a contextual type
 817 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
 818 |             liftFunc: FfiConverterBool.lift,
 819 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 820 |
 821 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:828:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_assigned_model' in scope
 826 |         try  await uniffiRustCallAsync(
 827 |             rustFutureFunc: {
 828 |                 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
 829 |                     self.uniffiCloneHandle(),
 830 |                     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:833:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 831 |                 )
 832 |             },
 833 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 834 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 835 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:834:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 832 |             },
 833 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 834 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 835 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 836 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:835:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 833 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 834 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 835 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 836 |             liftFunc: FfiConverterDouble.lift,
 837 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:845:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_default_agent_model' in scope
 843 |         try  await uniffiRustCallAsync(
 844 |             rustFutureFunc: {
 845 |                 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
 846 |                     self.uniffiCloneHandle(),
 847 |                     FfiConverterOptionString.lower(systemPrompt)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:850:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 848 |                 )
 849 |             },
 850 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 851 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 852 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:851:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 849 |             },
 850 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 851 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 852 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 853 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:852:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 850 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 851 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 852 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 853 |             liftFunc: FfiConverterDouble.lift,
 854 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:862:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_gguf_model' in scope
 860 |         try  await uniffiRustCallAsync(
 861 |             rustFutureFunc: {
 862 |                 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
 863 |                     self.uniffiCloneHandle(),
 864 |                     FfiConverterTypeFfiGgufModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeFfiSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:867:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 865 |                 )
 866 |             },
 867 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 868 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 869 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:868:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 866 |             },
 867 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 868 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 869 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 870 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:869:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 867 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 868 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 869 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 870 |             liftFunc: FfiConverterDouble.lift,
 871 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:879:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_load_uqff_model' in scope
 877 |         try  await uniffiRustCallAsync(
 878 |             rustFutureFunc: {
 879 |                 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
 880 |                     self.uniffiCloneHandle(),
 881 |                     FfiConverterTypeFfiUqffModelConfig_lower(config),FfiConverterOptionString.lower(systemPrompt),FfiConverterOptionTypeFfiSamplingConfig.lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:884:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 882 |                 )
 883 |             },
 884 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_f64' in scope
 885 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 886 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:885:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 883 |             },
 884 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 885 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_f64' in scope
 886 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
 887 |             liftFunc: FfiConverterDouble.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:886:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 884 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_f64,
 885 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_f64,
 886 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_f64,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_f64' in scope
 887 |             liftFunc: FfiConverterDouble.lift,
 888 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:896:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_register_tool' in scope
 894 |         try  await uniffiRustCallAsync(
 895 |             rustFutureFunc: {
 896 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_register_tool(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_register_tool' in scope
 897 |                     self.uniffiCloneHandle(),
 898 |                     FfiConverterTypeFfiToolDefinition_lower(tool)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:901:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 899 |                 )
 900 |             },
 901 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 902 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 903 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:902:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 900 |             },
 901 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 902 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 903 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 904 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:903:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 901 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 902 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 903 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 904 |             liftFunc: { $0 },
 905 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:913:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_remove_all_tools' in scope
 911 |         try!  await uniffiRustCallAsync(
 912 |             rustFutureFunc: {
 913 |                 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
 914 |                     self.uniffiCloneHandle()
 915 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:918:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 916 |                 )
 917 |             },
 918 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 919 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 920 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:919:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 917 |             },
 918 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 919 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 920 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 921 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:920:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 918 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 919 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 920 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 921 |             liftFunc: { $0 },
 922 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:922:27: error: 'nil' requires a contextual type
 920 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 921 |             liftFunc: { $0 },
 922 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 923 |
 924 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:934:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_restore_history' in scope
 932 |         try!  await uniffiRustCallAsync(
 933 |             rustFutureFunc: {
 934 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_restore_history(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_restore_history' in scope
 935 |                     self.uniffiCloneHandle(),
 936 |                     FfiConverterSequenceTypeFfiChatMessage.lower(messages)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:939:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 937 |                 )
 938 |             },
 939 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 940 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 941 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:940:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 938 |             },
 939 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 940 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 941 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 942 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:941:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 939 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 940 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 941 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 942 |             liftFunc: { $0 },
 943 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:943:27: error: 'nil' requires a contextual type
 941 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 942 |             liftFunc: { $0 },
 943 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 944 |
 945 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:952:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_run' in scope
 950 |         try  await uniffiRustCallAsync(
 951 |             rustFutureFunc: {
 952 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_run(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_run' in scope
 953 |                     self.uniffiCloneHandle(),
 954 |                     FfiConverterString.lower(message)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:957:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 955 |                 )
 956 |             },
 957 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 958 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 959 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:958:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 956 |             },
 957 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 958 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 959 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 960 |             liftFunc: FfiConverterTypeFfiAgentReply_lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:959:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 957 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 958 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 959 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 960 |             liftFunc: FfiConverterTypeFfiAgentReply_lift,
 961 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:969:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_send' in scope
 967 |         try  await uniffiRustCallAsync(
 968 |             rustFutureFunc: {
 969 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_send(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_send' in scope
 970 |                     self.uniffiCloneHandle(),
 971 |                     FfiConverterString.lower(message)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:974:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 972 |                 )
 973 |             },
 974 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
 975 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 976 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:975:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 973 |             },
 974 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 975 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
 976 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
 977 |             liftFunc: FfiConverterTypeFfiReply_lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:976:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 974 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
 975 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
 976 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
 977 |             liftFunc: FfiConverterTypeFfiReply_lift,
 978 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:986:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_set_sampling' in scope
 984 |         try!  await uniffiRustCallAsync(
 985 |             rustFutureFunc: {
 986 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_set_sampling(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_set_sampling' in scope
 987 |                     self.uniffiCloneHandle(),
 988 |                     FfiConverterTypeFfiSamplingConfig_lower(sampling)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:991:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 989 |                 )
 990 |             },
 991 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
 992 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 993 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:992:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 990 |             },
 991 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 992 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
 993 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 994 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:993:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 991 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
 992 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
 993 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
 994 |             liftFunc: { $0 },
 995 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:995:27: error: 'nil' requires a contextual type
 993 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
 994 |             liftFunc: { $0 },
 995 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
 996 |
 997 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1004:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_set_system_prompt' in scope
1002 |         try!  await uniffiRustCallAsync(
1003 |             rustFutureFunc: {
1004 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_set_system_prompt(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_set_system_prompt' in scope
1005 |                     self.uniffiCloneHandle(),
1006 |                     FfiConverterString.lower(prompt)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1009:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
1007 |                 )
1008 |             },
1009 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
1010 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
1011 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1010:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
1008 |             },
1009 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
1010 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
1011 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
1012 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1011:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
1009 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
1010 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
1011 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
1012 |             liftFunc: { $0 },
1013 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1013:27: error: 'nil' requires a contextual type
1011 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
1012 |             liftFunc: { $0 },
1013 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1014 |
1015 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1027:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_stream_message' in scope
1025 |         try  await uniffiRustCallAsync(
1026 |             rustFutureFunc: {
1027 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_stream_message(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_stream_message' in scope
1028 |                     self.uniffiCloneHandle(),
1029 |                     FfiConverterString.lower(message),FfiConverterCallbackInterfaceFfiStreamListener_lower(listener)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1032:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
1030 |                 )
1031 |             },
1032 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_void' in scope
1033 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
1034 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1033:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
1031 |             },
1032 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
1033 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_void' in scope
1034 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
1035 |             liftFunc: { $0 },
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1034:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
1032 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_void,
1033 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_void,
1034 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_void,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_void' in scope
1035 |             liftFunc: { $0 },
1036 |             errorHandler: FfiConverterTypeFfiEdError_lift
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1044:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unload' in scope
1042 |         try!  await uniffiRustCallAsync(
1043 |             rustFutureFunc: {
1044 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_unload(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unload' in scope
1045 |                     self.uniffiCloneHandle()
1046 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1049:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
1047 |                 )
1048 |             },
1049 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_rust_buffer' in scope
1050 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
1051 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1050:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
1048 |             },
1049 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
1050 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_rust_buffer' in scope
1051 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
1052 |             liftFunc: FfiConverterOptionString.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1051:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
1049 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_rust_buffer,
1050 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_rust_buffer,
1051 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_rust_buffer' in scope
1052 |             liftFunc: FfiConverterOptionString.lift,
1053 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1053:27: error: 'nil' requires a contextual type
1051 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_rust_buffer,
1052 |             liftFunc: FfiConverterOptionString.lift,
1053 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1054 |
1055 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1062:17: error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unregister_tool' in scope
1060 |         try!  await uniffiRustCallAsync(
1061 |             rustFutureFunc: {
1062 |                 uniffi_ed_agent_ffi_fn_method_ffiedagent_unregister_tool(
     |                 `- error: cannot find 'uniffi_ed_agent_ffi_fn_method_ffiedagent_unregister_tool' in scope
1063 |                     self.uniffiCloneHandle(),
1064 |                     FfiConverterString.lower(name)
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1067:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
1065 |                 )
1066 |             },
1067 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_poll_i8' in scope
1068 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
1069 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1068:27: error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
1066 |             },
1067 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
1068 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
     |                           `- error: cannot find 'ffi_ed_agent_ffi_rust_future_complete_i8' in scope
1069 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
1070 |             liftFunc: FfiConverterBool.lift,
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1069:23: error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
1067 |             pollFunc: ffi_ed_agent_ffi_rust_future_poll_i8,
1068 |             completeFunc: ffi_ed_agent_ffi_rust_future_complete_i8,
1069 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
     |                       `- error: cannot find 'ffi_ed_agent_ffi_rust_future_free_i8' in scope
1070 |             liftFunc: FfiConverterBool.lift,
1071 |             errorHandler: nil
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:1071:27: error: 'nil' requires a contextual type
1069 |             freeFunc: ffi_ed_agent_ffi_rust_future_free_i8,
1070 |             liftFunc: FfiConverterBool.lift,
1071 |             errorHandler: nil
     |                           `- error: 'nil' requires a contextual type
1072 |
1073 |         )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2435:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffiapprovalhandler' in scope
2433 |
2434 | private func uniffiCallbackInitFfiApprovalHandler() {
2435 |     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
2436 | }
2437 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2748:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffieventlistener' in scope
2746 |
2747 | private func uniffiCallbackInitFfiEventListener() {
2748 |     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
2749 | }
2750 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:2875:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffistreamlistener' in scope
2873 |
2874 | private func uniffiCallbackInitFfiStreamListener() {
2875 |     uniffi_ed_agent_ffi_fn_init_callback_vtable_ffistreamlistener(UniffiCallbackInterfaceFfiStreamListener.vtable)
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffistreamlistener' in scope
2876 | }
2877 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3019:5: error: cannot find 'uniffi_ed_agent_ffi_fn_init_callback_vtable_ffitoolexecutor' in scope
3017 |
3018 | private func uniffiCallbackInitFfiToolExecutor() {
3019 |     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
3020 | }
3021 |
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3348:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3346 |     }
3347 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
3348 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3349 |         handle: handle,
3350 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3377:31: error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3375 |     }
3376 |     let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
3377 |     droppedCallback.pointee = UniffiForeignFutureDroppedCallbackStruct(
     |                               `- error: cannot find 'UniffiForeignFutureDroppedCallbackStruct' in scope
3378 |         handle: handle,
3379 |         free: uniffiForeignFutureDroppedCallback
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3414:5: error: cannot find 'uniffi_ed_agent_ffi_fn_func_configure_cache_dir' in scope
3412 | }
3413 | public func configureCacheDir(path: String)  {try! rustCall() {
3414 |     uniffi_ed_agent_ffi_fn_func_configure_cache_dir(
     |     `- error: cannot find 'uniffi_ed_agent_ffi_fn_func_configure_cache_dir' in scope
3415 |         FfiConverterString.lower(path),$0
3416 |     )
/host/spi-builder-workspace/Sources/Ed/ed_agent_ffi.swift:3421:5: error: cannot find 'uniffi_ed_agent_ffi_fn_func_default_agent_model_config' in scope
3419 | public func defaultAgentModelConfig() -> FfiGgufModelConfig  {
3420 |     return try!  FfiConverterTypeFfiGgufModelConfig_lift(try! rustCall() {
3421 |     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
3422 |     )
3423 | })
/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 android