Build Information
Failed to build IDKit, reference 4.0.1 (717672), with Swift 6.1 for Linux on 4 Dec 2025 20:56:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
| `- 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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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 | uniffiEnsureIdkitInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.swift:464:25: error: cannot find type 'RustBuffer' in scope
462 | fileprivate struct FfiConverterString: FfiConverter {
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:466:38: error: cannot find type 'RustBuffer' in scope
464 | typealias FfiType = RustBuffer
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
467 | defer {
468 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:477:50: error: cannot find type 'RustBuffer' in scope
475 | }
476 |
477 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
478 | return value.utf8CString.withUnsafeBufferPointer { ptr in
479 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:462: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 |
:
460 | @_documentation(visibility: private)
461 | #endif
462 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:503:20: error: type 'FfiConverterData' 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 |
:
501 | @_documentation(visibility: private)
502 | #endif
503 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
504 | typealias SwiftType = Data
505 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1676:15: error: type 'FfiConverterTypeIdkitError' 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 |
:
1674 | @_documentation(visibility: private)
1675 | #endif
1676 | public struct FfiConverterTypeIdkitError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1677 | typealias SwiftType = IdkitError
1678 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1784:52: error: cannot find type 'RustBuffer' in scope
1782 | @_documentation(visibility: private)
1783 | #endif
1784 | public func FfiConverterTypeIdkitError_lift(_ buf: RustBuffer) throws -> IdkitError {
| `- error: cannot find type 'RustBuffer' in scope
1785 | return try FfiConverterTypeIdkitError.lift(buf)
1786 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1791:70: error: cannot find type 'RustBuffer' in scope
1789 | @_documentation(visibility: private)
1790 | #endif
1791 | public func FfiConverterTypeIdkitError_lower(_ value: IdkitError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1792 | return FfiConverterTypeIdkitError.lower(value)
1793 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1835:15: error: type 'FfiConverterTypeStatus' 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 |
:
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public struct FfiConverterTypeStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1836 | typealias SwiftType = Status
1837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1885:48: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeStatus_lift(_ buf: RustBuffer) throws -> Status {
| `- error: cannot find type 'RustBuffer' in scope
1886 | return try FfiConverterTypeStatus.lift(buf)
1887 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1892:62: error: cannot find type 'RustBuffer' in scope
1890 | @_documentation(visibility: private)
1891 | #endif
1892 | public func FfiConverterTypeStatus_lower(_ value: Status) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1893 | return FfiConverterTypeStatus.lower(value)
1894 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1900:20: error: type 'FfiConverterOptionBool' 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 |
:
1898 | @_documentation(visibility: private)
1899 | #endif
1900 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1901 | typealias SwiftType = Bool?
1902 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1924: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 |
:
1922 | @_documentation(visibility: private)
1923 | #endif
1924 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1925 | typealias SwiftType = String?
1926 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1948:20: error: type 'FfiConverterOptionData' 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 |
:
1946 | @_documentation(visibility: private)
1947 | #endif
1948 | fileprivate struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1949 | typealias SwiftType = Data?
1950 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1972:20: error: type 'FfiConverterOptionTypeConstraints' 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 |
:
1970 | @_documentation(visibility: private)
1971 | #endif
1972 | fileprivate struct FfiConverterOptionTypeConstraints: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1973 | typealias SwiftType = Constraints?
1974 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1996:20: error: type 'FfiConverterOptionTypeSignal' 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 |
:
1994 | @_documentation(visibility: private)
1995 | #endif
1996 | fileprivate struct FfiConverterOptionTypeSignal: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1997 | typealias SwiftType = Signal?
1998 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2020:20: error: type 'FfiConverterSequenceTypeConstraintNode' 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 |
:
2018 | @_documentation(visibility: private)
2019 | #endif
2020 | fileprivate struct FfiConverterSequenceTypeConstraintNode: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2021 | typealias SwiftType = [ConstraintNode]
2022 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2045:20: error: type 'FfiConverterSequenceTypeRequest' 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 |
:
2043 | @_documentation(visibility: private)
2044 | #endif
2045 | fileprivate struct FfiConverterSequenceTypeRequest: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = [Request]
2047 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2070:20: error: type 'FfiConverterSequenceTypeCredentialType' 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 |
:
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | fileprivate struct FfiConverterSequenceTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2071 | typealias SwiftType = [CredentialType]
2072 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2141:40: error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2139 | let bindings_contract_version = 30
2140 | // Get the scaffolding contract version by calling the into the dylib
2141 | let scaffolding_contract_version = ffi_idkit_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2142 | if bindings_contract_version != scaffolding_contract_version {
2143 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2145:9: error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2143 | return InitializationResult.contractVersionMismatch
2144 | }
2145 | if (uniffi_idkit_checksum_func_credential_to_string() != 61137) {
| `- error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2148:9: error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
2148 | if (uniffi_idkit_checksum_func_proof_from_json() != 41451) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2151:9: error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
2151 | if (uniffi_idkit_checksum_func_proof_to_json() != 11599) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2154:9: error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
2154 | if (uniffi_idkit_checksum_method_constraintnode_to_json() != 54484) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2157:9: error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
2157 | if (uniffi_idkit_checksum_method_constraints_to_json() != 54987) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2160:9: error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
2160 | if (uniffi_idkit_checksum_method_request_credential_type() != 11276) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2163:9: error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
2163 | if (uniffi_idkit_checksum_method_request_face_auth() != 29714) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2166:9: error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
2166 | if (uniffi_idkit_checksum_method_request_get_signal_bytes() != 62795) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2169:9: error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
2169 | if (uniffi_idkit_checksum_method_request_to_json() != 58566) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2172:9: error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
2172 | if (uniffi_idkit_checksum_method_request_with_face_auth() != 2778) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2175:9: error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
2175 | if (uniffi_idkit_checksum_method_session_connect_url() != 12307) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2178:9: error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
2178 | if (uniffi_idkit_checksum_method_session_poll_for_status() != 46168) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2181:9: error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
2181 | if (uniffi_idkit_checksum_method_session_request_id() != 24304) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2184:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
2184 | if (uniffi_idkit_checksum_method_session_wait_for_proof() != 46359) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2187:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
2187 | if (uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout() != 38030) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2190:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
2190 | if (uniffi_idkit_checksum_method_signal_as_bytes() != 58268) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2193:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
2193 | if (uniffi_idkit_checksum_method_signal_as_string() != 53522) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2196:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
2196 | if (uniffi_idkit_checksum_constructor_constraintnode_all() != 34904) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2199:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
2199 | if (uniffi_idkit_checksum_constructor_constraintnode_any() != 13996) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2202:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
2202 | if (uniffi_idkit_checksum_constructor_constraintnode_credential() != 25782) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2205:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
2205 | if (uniffi_idkit_checksum_constructor_constraintnode_from_json() != 8810) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2208:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_idkit_checksum_constructor_constraints_all() != 22097) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2211:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_idkit_checksum_constructor_constraints_any() != 27843) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2214:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_idkit_checksum_constructor_constraints_from_json() != 52569) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2217:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_idkit_checksum_constructor_constraints_new() != 48105) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2220:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_idkit_checksum_constructor_request_from_json() != 40767) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2223:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_idkit_checksum_constructor_request_new() != 56562) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2226:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_idkit_checksum_constructor_session_create() != 30873) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2229:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
2229 | if (uniffi_idkit_checksum_constructor_session_create_with_options() != 10844) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2232:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
2232 | if (uniffi_idkit_checksum_constructor_session_from_verification_level() != 29046) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2235:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
2235 | if (uniffi_idkit_checksum_constructor_signal_from_abi_encoded() != 47274) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2238:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
2238 | if (uniffi_idkit_checksum_constructor_signal_from_string() != 7997) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2239 | return InitializationResult.apiChecksumMismatch
2240 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitInitialized()
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/IDKit/Generated/idkit.swift:580:32: error: cannot find 'uniffi_idkit_fn_clone_constraintnode' in scope
578 | #endif
579 | public func uniffiCloneHandle() -> UInt64 {
580 | return try! rustCall { uniffi_idkit_fn_clone_constraintnode(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_constraintnode' in scope
581 | }
582 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:585:25: error: cannot find 'uniffi_idkit_fn_free_constraintnode' in scope
583 |
584 | deinit {
585 | try! rustCall { uniffi_idkit_fn_free_constraintnode(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_constraintnode' in scope
586 | }
587 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:596:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_all' in scope
594 | public static func all(nodes: [ConstraintNode]) -> ConstraintNode {
595 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
596 | uniffi_idkit_fn_constructor_constraintnode_all(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_all' in scope
597 | FfiConverterSequenceTypeConstraintNode.lower(nodes),$0
598 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:610:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_any' in scope
608 | public static func any(nodes: [ConstraintNode]) -> ConstraintNode {
609 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
610 | uniffi_idkit_fn_constructor_constraintnode_any(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_any' in scope
611 | FfiConverterSequenceTypeConstraintNode.lower(nodes),$0
612 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:621:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_credential' in scope
619 | public static func credential(credentialType: CredentialType) -> ConstraintNode {
620 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
621 | uniffi_idkit_fn_constructor_constraintnode_credential(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_credential' in scope
622 | FfiConverterTypeCredentialType_lower(credentialType),$0
623 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:636:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_from_json' in scope
634 | public static func fromJson(json: String)throws -> ConstraintNode {
635 | return try FfiConverterTypeConstraintNode_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
636 | uniffi_idkit_fn_constructor_constraintnode_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_from_json' in scope
637 | FfiConverterString.lower(json),$0
638 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:653:5: error: cannot find 'uniffi_idkit_fn_method_constraintnode_to_json' in scope
651 | open func toJson()throws -> String {
652 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
653 | uniffi_idkit_fn_method_constraintnode_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_constraintnode_to_json' in scope
654 | self.uniffiCloneHandle(),$0
655 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:768:32: error: cannot find 'uniffi_idkit_fn_clone_constraints' in scope
766 | #endif
767 | public func uniffiCloneHandle() -> UInt64 {
768 | return try! rustCall { uniffi_idkit_fn_clone_constraints(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_constraints' in scope
769 | }
770 | /**
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:776:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_new' in scope
774 | let handle =
775 | try! rustCall() {
776 | uniffi_idkit_fn_constructor_constraints_new(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_new' in scope
777 | FfiConverterTypeConstraintNode_lower(root),$0
778 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:784:25: error: cannot find 'uniffi_idkit_fn_free_constraints' in scope
782 |
783 | deinit {
784 | try! rustCall { uniffi_idkit_fn_free_constraints(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_constraints' in scope
785 | }
786 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:793:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_all' in scope
791 | public static func all(credentials: [CredentialType]) -> Constraints {
792 | return try! FfiConverterTypeConstraints_lift(try! rustCall() {
793 | uniffi_idkit_fn_constructor_constraints_all(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_all' in scope
794 | FfiConverterSequenceTypeCredentialType.lower(credentials),$0
795 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:804:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_any' in scope
802 | public static func any(credentials: [CredentialType]) -> Constraints {
803 | return try! FfiConverterTypeConstraints_lift(try! rustCall() {
804 | uniffi_idkit_fn_constructor_constraints_any(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_any' in scope
805 | FfiConverterSequenceTypeCredentialType.lower(credentials),$0
806 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:819:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_from_json' in scope
817 | public static func fromJson(json: String)throws -> Constraints {
818 | return try FfiConverterTypeConstraints_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
819 | uniffi_idkit_fn_constructor_constraints_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_from_json' in scope
820 | FfiConverterString.lower(json),$0
821 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:836:5: error: cannot find 'uniffi_idkit_fn_method_constraints_to_json' in scope
834 | open func toJson()throws -> String {
835 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
836 | uniffi_idkit_fn_method_constraints_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_constraints_to_json' in scope
837 | self.uniffiCloneHandle(),$0
838 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:973:32: error: cannot find 'uniffi_idkit_fn_clone_request' in scope
971 | #endif
972 | public func uniffiCloneHandle() -> UInt64 {
973 | return try! rustCall { uniffi_idkit_fn_clone_request(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_request' in scope
974 | }
975 | /**
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:985:5: error: cannot find 'uniffi_idkit_fn_constructor_request_new' in scope
983 | let handle =
984 | try! rustCall() {
985 | uniffi_idkit_fn_constructor_request_new(
| `- error: cannot find 'uniffi_idkit_fn_constructor_request_new' in scope
986 | FfiConverterTypeCredentialType_lower(credentialType),
987 | FfiConverterOptionTypeSignal.lower(signal),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:994:25: error: cannot find 'uniffi_idkit_fn_free_request' in scope
992 |
993 | deinit {
994 | try! rustCall { uniffi_idkit_fn_free_request(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_request' in scope
995 | }
996 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1007:5: error: cannot find 'uniffi_idkit_fn_constructor_request_from_json' in scope
1005 | public static func fromJson(json: String)throws -> Request {
1006 | return try FfiConverterTypeRequest_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1007 | uniffi_idkit_fn_constructor_request_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_request_from_json' in scope
1008 | FfiConverterString.lower(json),$0
1009 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1020:5: error: cannot find 'uniffi_idkit_fn_method_request_credential_type' in scope
1018 | open func credentialType() -> CredentialType {
1019 | return try! FfiConverterTypeCredentialType_lift(try! rustCall() {
1020 | uniffi_idkit_fn_method_request_credential_type(
| `- error: cannot find 'uniffi_idkit_fn_method_request_credential_type' in scope
1021 | self.uniffiCloneHandle(),$0
1022 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1031:5: error: cannot find 'uniffi_idkit_fn_method_request_face_auth' in scope
1029 | open func faceAuth() -> Bool? {
1030 | return try! FfiConverterOptionBool.lift(try! rustCall() {
1031 | uniffi_idkit_fn_method_request_face_auth(
| `- error: cannot find 'uniffi_idkit_fn_method_request_face_auth' in scope
1032 | self.uniffiCloneHandle(),$0
1033 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1042:5: error: cannot find 'uniffi_idkit_fn_method_request_get_signal_bytes' in scope
1040 | open func getSignalBytes() -> Data? {
1041 | return try! FfiConverterOptionData.lift(try! rustCall() {
1042 | uniffi_idkit_fn_method_request_get_signal_bytes(
| `- error: cannot find 'uniffi_idkit_fn_method_request_get_signal_bytes' in scope
1043 | self.uniffiCloneHandle(),$0
1044 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1057:5: error: cannot find 'uniffi_idkit_fn_method_request_to_json' in scope
1055 | open func toJson()throws -> String {
1056 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1057 | uniffi_idkit_fn_method_request_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_request_to_json' in scope
1058 | self.uniffiCloneHandle(),$0
1059 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1070:5: error: cannot find 'uniffi_idkit_fn_method_request_with_face_auth' in scope
1068 | open func withFaceAuth(faceAuth: Bool) -> Request {
1069 | return try! FfiConverterTypeRequest_lift(try! rustCall() {
1070 | uniffi_idkit_fn_method_request_with_face_auth(
| `- error: cannot find 'uniffi_idkit_fn_method_request_with_face_auth' in scope
1071 | self.uniffiCloneHandle(),
1072 | FfiConverterBool.lower(faceAuth),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1223:32: error: cannot find 'uniffi_idkit_fn_clone_session' in scope
1221 | #endif
1222 | public func uniffiCloneHandle() -> UInt64 {
1223 | return try! rustCall { uniffi_idkit_fn_clone_session(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_session' in scope
1224 | }
1225 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1228:25: error: cannot find 'uniffi_idkit_fn_free_session' in scope
1226 |
1227 | deinit {
1228 | try! rustCall { uniffi_idkit_fn_free_session(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_session' in scope
1229 | }
1230 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1247:5: error: cannot find 'uniffi_idkit_fn_constructor_session_create' in scope
1245 | public static func create(appId: String, action: String, requests: [Request])throws -> Session {
1246 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1247 | uniffi_idkit_fn_constructor_session_create(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_create' in scope
1248 | FfiConverterString.lower(appId),
1249 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1273:5: error: cannot find 'uniffi_idkit_fn_constructor_session_create_with_options' in scope
1271 | public static func createWithOptions(appId: String, action: String, requests: [Request], actionDescription: String?, constraints: Constraints?, bridgeUrl: String?)throws -> Session {
1272 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1273 | uniffi_idkit_fn_constructor_session_create_with_options(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_create_with_options' in scope
1274 | FfiConverterString.lower(appId),
1275 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1296:5: error: cannot find 'uniffi_idkit_fn_constructor_session_from_verification_level' in scope
1294 | public static func fromVerificationLevel(appId: String, action: String, verificationLevel: VerificationLevel, signal: String)throws -> Session {
1295 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1296 | uniffi_idkit_fn_constructor_session_from_verification_level(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_from_verification_level' in scope
1297 | FfiConverterString.lower(appId),
1298 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1312:5: error: cannot find 'uniffi_idkit_fn_method_session_connect_url' in scope
1310 | open func connectUrl() -> String {
1311 | return try! FfiConverterString.lift(try! rustCall() {
1312 | uniffi_idkit_fn_method_session_connect_url(
| `- error: cannot find 'uniffi_idkit_fn_method_session_connect_url' in scope
1313 | self.uniffiCloneHandle(),$0
1314 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1330:5: error: cannot find 'uniffi_idkit_fn_method_session_poll_for_status' in scope
1328 | open func pollForStatus()throws -> Status {
1329 | return try FfiConverterTypeStatus_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1330 | uniffi_idkit_fn_method_session_poll_for_status(
| `- error: cannot find 'uniffi_idkit_fn_method_session_poll_for_status' in scope
1331 | self.uniffiCloneHandle(),$0
1332 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1341:5: error: cannot find 'uniffi_idkit_fn_method_session_request_id' in scope
1339 | open func requestId() -> String {
1340 | return try! FfiConverterString.lift(try! rustCall() {
1341 | uniffi_idkit_fn_method_session_request_id(
| `- error: cannot find 'uniffi_idkit_fn_method_session_request_id' in scope
1342 | self.uniffiCloneHandle(),$0
1343 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1359:5: error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof' in scope
1357 | open func waitForProof()throws -> Proof {
1358 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1359 | uniffi_idkit_fn_method_session_wait_for_proof(
| `- error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof' in scope
1360 | self.uniffiCloneHandle(),$0
1361 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1377:5: error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof_with_timeout' in scope
1375 | open func waitForProofWithTimeout(timeoutSeconds: UInt64)throws -> Proof {
1376 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1377 | uniffi_idkit_fn_method_session_wait_for_proof_with_timeout(
| `- error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof_with_timeout' in scope
1378 | self.uniffiCloneHandle(),
1379 | FfiConverterUInt64.lower(timeoutSeconds),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1494:32: error: cannot find 'uniffi_idkit_fn_clone_signal' in scope
1492 | #endif
1493 | public func uniffiCloneHandle() -> UInt64 {
1494 | return try! rustCall { uniffi_idkit_fn_clone_signal(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_signal' in scope
1495 | }
1496 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1499:25: error: cannot find 'uniffi_idkit_fn_free_signal' in scope
1497 |
1498 | deinit {
1499 | try! rustCall { uniffi_idkit_fn_free_signal(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_signal' in scope
1500 | }
1501 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1511:5: error: cannot find 'uniffi_idkit_fn_constructor_signal_from_abi_encoded' in scope
1509 | public static func fromAbiEncoded(bytes: Data) -> Signal {
1510 | return try! FfiConverterTypeSignal_lift(try! rustCall() {
1511 | uniffi_idkit_fn_constructor_signal_from_abi_encoded(
| `- error: cannot find 'uniffi_idkit_fn_constructor_signal_from_abi_encoded' in scope
1512 | FfiConverterData.lower(bytes),$0
1513 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1522:5: error: cannot find 'uniffi_idkit_fn_constructor_signal_from_string' in scope
1520 | public static func fromString(s: String) -> Signal {
1521 | return try! FfiConverterTypeSignal_lift(try! rustCall() {
1522 | uniffi_idkit_fn_constructor_signal_from_string(
| `- error: cannot find 'uniffi_idkit_fn_constructor_signal_from_string' in scope
1523 | FfiConverterString.lower(s),$0
1524 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1535:5: error: cannot find 'uniffi_idkit_fn_method_signal_as_bytes' in scope
1533 | open func asBytes() -> Data {
1534 | return try! FfiConverterData.lift(try! rustCall() {
1535 | uniffi_idkit_fn_method_signal_as_bytes(
| `- error: cannot find 'uniffi_idkit_fn_method_signal_as_bytes' in scope
1536 | self.uniffiCloneHandle(),$0
1537 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1546:5: error: cannot find 'uniffi_idkit_fn_method_signal_as_string' in scope
1544 | open func asString() -> String? {
1545 | return try! FfiConverterOptionString.lift(try! rustCall() {
1546 | uniffi_idkit_fn_method_signal_as_string(
| `- error: cannot find 'uniffi_idkit_fn_method_signal_as_string' in scope
1547 | self.uniffiCloneHandle(),$0
1548 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2096:5: error: cannot find 'uniffi_idkit_fn_func_credential_to_string' in scope
2094 | public func credentialToString(credential: CredentialType) -> String {
2095 | return try! FfiConverterString.lift(try! rustCall() {
2096 | uniffi_idkit_fn_func_credential_to_string(
| `- error: cannot find 'uniffi_idkit_fn_func_credential_to_string' in scope
2097 | FfiConverterTypeCredentialType_lower(credential),$0
2098 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2110:5: error: cannot find 'uniffi_idkit_fn_func_proof_from_json' in scope
2108 | public func proofFromJson(json: String)throws -> Proof {
2109 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
2110 | uniffi_idkit_fn_func_proof_from_json(
| `- error: cannot find 'uniffi_idkit_fn_func_proof_from_json' in scope
2111 | FfiConverterString.lower(json),$0
2112 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2124:5: error: cannot find 'uniffi_idkit_fn_func_proof_to_json' in scope
2122 | public func proofToJson(proof: Proof)throws -> String {
2123 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
2124 | uniffi_idkit_fn_func_proof_to_json(
| `- error: cannot find 'uniffi_idkit_fn_func_proof_to_json' in scope
2125 | FfiConverterTypeProof_lower(proof),$0
2126 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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_idkit_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[3/131] Compiling CryptoBoringWrapper RandomBytes.swift
[4/131] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[5/131] Emitting module CryptoBoringWrapper
[6/131] Compiling CryptoBoringWrapper EllipticCurve.swift
[7/131] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[8/131] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[9/131] Emitting module BigInt
[10/133] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[12/134] Compiling CryptoSwift AES.swift
[13/134] Compiling CryptoSwift ASN1.swift
[14/134] Compiling CryptoSwift GCD.swift
[15/134] Compiling CryptoSwift Hashable.swift
[16/134] Compiling CryptoSwift AEAD.swift
[17/134] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[18/134] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[19/134] Compiling CryptoSwift AES.Cryptors.swift
[20/134] Compiling CryptoSwift Codable.swift
[21/134] Compiling CryptoSwift Comparable.swift
[22/134] Compiling CryptoSwift DataConversion.swift
[23/134] Compiling CryptoSwift Division.swift
[24/134] Compiling CryptoSwift Exponentiation.swift
[25/134] Compiling CryptoSwift FloatingPointConversion.swift
[26/134] Compiling CryptoSwift BigUInt.swift
[27/134] Compiling CryptoSwift BitwiseOps.swift
[28/134] Compiling CryptoSwift CS.swift
[29/134] Compiling CryptoSwift CMAC.swift
[30/134] Compiling CryptoSwift Addition.swift
[31/134] Compiling CryptoSwift BigInt.swift
[32/205] Compiling Crypto ECDH.swift
[33/205] Compiling Crypto HKDF.swift
[35/206] Emitting module Crypto
[36/216] Compiling Crypto HPKE-Errors.swift
[37/216] Compiling Crypto HPKE.swift
[38/216] Compiling Crypto HPKE-Context.swift
[39/216] Compiling Crypto HPKE-KeySchedule.swift
[40/216] Compiling Crypto HPKE-Modes.swift
[41/216] Compiling Crypto Insecure.swift
[42/216] Compiling Crypto Insecure_HashFunctions.swift
[43/216] Compiling Crypto KEM.swift
[44/216] Compiling Crypto ECDH_boring.swift
[45/216] Compiling Crypto DH.swift
[46/216] Compiling Crypto HPKE-AEAD.swift
[47/216] Compiling Crypto HPKE-Ciphersuite.swift
[48/216] Compiling Crypto HPKE-KDF.swift
[49/216] Compiling Crypto HPKE-KexKeyDerivation.swift
[50/216] Compiling Crypto HPKE-LabeledExtract.swift
[51/216] Compiling Crypto HPKE-Utils.swift
[52/216] Compiling Crypto DHKEM.swift
[53/216] Compiling Crypto HPKE-KEM-Curve25519.swift
[54/216] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[55/216] Compiling Crypto HPKE-KEM.swift
[56/216] Compiling Crypto X25519Keys.swift
[57/216] Compiling Crypto SymmetricKeys.swift
[58/216] Compiling Crypto HMAC.swift
[59/216] Compiling Crypto MACFunctions.swift
[60/216] Compiling Crypto MessageAuthenticationCode.swift
[61/216] Compiling Crypto AES.swift
[62/216] Compiling Crypto ECDSASignature_boring.swift
[63/216] Compiling Crypto ECDSA_boring.swift
[64/216] Compiling Crypto EdDSA_boring.swift
[65/216] Compiling Crypto ECDSA.swift
[66/216] Compiling Crypto CryptoKitErrors_boring.swift
[67/216] Compiling Crypto RNG_boring.swift
[68/216] Compiling Crypto SafeCompare_boring.swift
[69/216] Compiling Crypto Zeroization_boring.swift
[70/216] Compiling Crypto PrettyBytes.swift
[71/216] Compiling Crypto SafeCompare.swift
[72/216] Compiling Crypto SecureBytes.swift
[73/216] Compiling Crypto Zeroization.swift
[74/216] Compiling CryptoSwift NoPadding.swift
[75/216] Compiling CryptoSwift Operators.swift
[76/216] Compiling CryptoSwift DER.swift
[77/216] Compiling CryptoSwift PBKDF1.swift
[78/216] Compiling CryptoSwift PBKDF2.swift
[79/216] Compiling CryptoSwift PKCS1v15.swift
[80/230] Compiling Crypto AES-GCM.swift
[81/230] Compiling Crypto AES-GCM_boring.swift
[82/230] Compiling Crypto ChaChaPoly_boring.swift
[83/230] Compiling Crypto ChaChaPoly.swift
[84/230] Compiling Crypto Cipher.swift
[85/230] Compiling Crypto Nonces.swift
[86/230] Compiling Crypto ASN1.swift
[87/230] Compiling Crypto ASN1Any.swift
[88/230] Compiling Crypto ASN1BitString.swift
[89/230] Compiling Crypto ASN1Boolean.swift
[90/230] Compiling Crypto ASN1Identifier.swift
[91/230] Compiling Crypto ASN1Integer.swift
[92/230] Compiling Crypto ASN1Null.swift
[93/230] Compiling Crypto ASN1OctetString.swift
[94/230] Compiling Crypto ASN1Strings.swift
[95/230] Compiling Crypto ArraySliceBigint.swift
[96/230] Compiling Crypto GeneralizedTime.swift
[97/230] Compiling Crypto ObjectIdentifier.swift
[98/230] Compiling Crypto ECDSASignature.swift
[99/230] Compiling Crypto PEMDocument.swift
[100/230] Compiling Crypto PKCS8PrivateKey.swift
[101/230] Compiling Crypto SEC1PrivateKey.swift
[102/230] Compiling Crypto SubjectPublicKeyInfo.swift
[103/230] Compiling Crypto CryptoError_boring.swift
[108/230] Compiling Crypto CryptoKitErrors.swift
[109/230] Compiling Crypto Digest_boring.swift
[110/230] Compiling Crypto Digest.swift
[111/230] Compiling Crypto Digests.swift
[112/230] Compiling Crypto HashFunctions.swift
[113/230] Compiling Crypto HashFunctions_SHA2.swift
[116/230] Compiling Crypto AESWrap.swift
[117/230] Compiling Crypto AESWrap_boring.swift
[118/230] Compiling Crypto Ed25519_boring.swift
[119/230] Compiling Crypto NISTCurvesKeys_boring.swift
[120/230] Compiling Crypto X25519Keys_boring.swift
[121/230] Compiling Crypto Curve25519.swift
[122/230] Compiling Crypto Ed25519Keys.swift
[123/230] Compiling Crypto NISTCurvesKeys.swift
[138/230] Compiling Crypto Ed25519.swift
[139/230] Compiling Crypto Signature.swift
[148/230] Emitting module CryptoSwift
[160/231] Compiling CryptoSwift Signature.swift
[161/231] Compiling CryptoSwift StreamDecryptor.swift
[162/231] Compiling CryptoSwift StreamEncryptor.swift
[163/231] Compiling CryptoSwift String+Extension.swift
[164/231] Compiling CryptoSwift UInt128.swift
[165/231] Compiling CryptoSwift UInt16+Extension.swift
[166/231] Compiling CryptoSwift UInt32+Extension.swift
[167/231] Compiling CryptoSwift UInt64+Extension.swift
[168/231] Compiling CryptoSwift UInt8+Extension.swift
[169/231] Compiling CryptoSwift Updatable.swift
[170/231] Compiling CryptoSwift Utils.swift
[171/231] Compiling CryptoSwift XChaCha20.swift
[172/231] Compiling CryptoSwift ZeroPadding.swift
[173/231] Compiling CryptoSwift resource_bundle_accessor.swift
[218/231] Compiling CryptoSwift PKCS5.swift
[219/231] Compiling CryptoSwift PKCS7.swift
[220/231] Compiling CryptoSwift PKCS7Padding.swift
[221/231] Compiling CryptoSwift Padding.swift
[222/231] Compiling CryptoSwift Poly1305.swift
[223/231] Compiling CryptoSwift RSA+Cipher.swift
[224/231] Compiling CryptoSwift RSA+Signature.swift
[225/231] Compiling CryptoSwift RSA.swift
[226/231] Compiling CryptoSwift Rabbit.swift
[227/231] Compiling CryptoSwift SHA1.swift
[228/231] Compiling CryptoSwift SHA2.swift
[229/231] Compiling CryptoSwift SHA3.swift
[230/231] Compiling CryptoSwift Scrypt.swift
[231/231] Compiling CryptoSwift SecureBytes.swift
[233/238] Compiling IDKit Session+Compatibility.swift
[234/238] Compiling IDKit IDKit.swift
[235/238] Compiling IDKit Request+Convenience.swift
[236/238] Compiling IDKit idkit_core.swift
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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 | uniffiEnsureIdkitCoreInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.swift:424:25: error: cannot find type 'RustBuffer' in scope
422 | fileprivate struct FfiConverterString: FfiConverter {
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:426:38: error: cannot find type 'RustBuffer' in scope
424 | typealias FfiType = RustBuffer
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
427 | defer {
428 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:437:50: error: cannot find type 'RustBuffer' in scope
435 | }
436 |
437 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
438 | return value.utf8CString.withUnsafeBufferPointer { ptr in
439 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:422: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 |
:
420 | @_documentation(visibility: private)
421 | #endif
422 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:513:15: error: type 'FfiConverterTypeProof' 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
:
511 | @_documentation(visibility: private)
512 | #endif
513 | public struct FfiConverterTypeProof: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeProof' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
514 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Proof {
515 | return
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:603:15: error: type 'FfiConverterTypeAppError' 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 |
:
601 | @_documentation(visibility: private)
602 | #endif
603 | public struct FfiConverterTypeAppError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeAppError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
604 | typealias SwiftType = AppError
605 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:679:50: error: cannot find type 'RustBuffer' in scope
677 | @_documentation(visibility: private)
678 | #endif
679 | public func FfiConverterTypeAppError_lift(_ buf: RustBuffer) throws -> AppError {
| `- error: cannot find type 'RustBuffer' in scope
680 | return try FfiConverterTypeAppError.lift(buf)
681 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:686:66: error: cannot find type 'RustBuffer' in scope
684 | @_documentation(visibility: private)
685 | #endif
686 | public func FfiConverterTypeAppError_lower(_ value: AppError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
687 | return FfiConverterTypeAppError.lower(value)
688 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:731:15: error: type 'FfiConverterTypeCredentialType' 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 |
:
729 | @_documentation(visibility: private)
730 | #endif
731 | public struct FfiConverterTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
732 | typealias SwiftType = CredentialType
733 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:835:15: error: type 'FfiConverterTypeVerificationLevel' 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 |
:
833 | @_documentation(visibility: private)
834 | #endif
835 | public struct FfiConverterTypeVerificationLevel: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeVerificationLevel' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
836 | typealias SwiftType = VerificationLevel
837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:887:59: error: cannot find type 'RustBuffer' in scope
885 | @_documentation(visibility: private)
886 | #endif
887 | public func FfiConverterTypeVerificationLevel_lift(_ buf: RustBuffer) throws -> VerificationLevel {
| `- error: cannot find type 'RustBuffer' in scope
888 | return try FfiConverterTypeVerificationLevel.lift(buf)
889 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:910:40: error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
908 | let bindings_contract_version = 30
909 | // Get the scaffolding contract version by calling the into the dylib
910 | let scaffolding_contract_version = ffi_idkit_core_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
911 | if bindings_contract_version != scaffolding_contract_version {
912 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitCoreInitialized()
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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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_idkit_core_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
[237/238] Compiling IDKit idkit.swift
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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 | uniffiEnsureIdkitInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.swift:464:25: error: cannot find type 'RustBuffer' in scope
462 | fileprivate struct FfiConverterString: FfiConverter {
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:466:38: error: cannot find type 'RustBuffer' in scope
464 | typealias FfiType = RustBuffer
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
467 | defer {
468 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:477:50: error: cannot find type 'RustBuffer' in scope
475 | }
476 |
477 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
478 | return value.utf8CString.withUnsafeBufferPointer { ptr in
479 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:462: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 |
:
460 | @_documentation(visibility: private)
461 | #endif
462 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:503:20: error: type 'FfiConverterData' 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 |
:
501 | @_documentation(visibility: private)
502 | #endif
503 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
504 | typealias SwiftType = Data
505 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1676:15: error: type 'FfiConverterTypeIdkitError' 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 |
:
1674 | @_documentation(visibility: private)
1675 | #endif
1676 | public struct FfiConverterTypeIdkitError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1677 | typealias SwiftType = IdkitError
1678 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1784:52: error: cannot find type 'RustBuffer' in scope
1782 | @_documentation(visibility: private)
1783 | #endif
1784 | public func FfiConverterTypeIdkitError_lift(_ buf: RustBuffer) throws -> IdkitError {
| `- error: cannot find type 'RustBuffer' in scope
1785 | return try FfiConverterTypeIdkitError.lift(buf)
1786 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1791:70: error: cannot find type 'RustBuffer' in scope
1789 | @_documentation(visibility: private)
1790 | #endif
1791 | public func FfiConverterTypeIdkitError_lower(_ value: IdkitError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1792 | return FfiConverterTypeIdkitError.lower(value)
1793 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1835:15: error: type 'FfiConverterTypeStatus' 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 |
:
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public struct FfiConverterTypeStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1836 | typealias SwiftType = Status
1837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1885:48: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeStatus_lift(_ buf: RustBuffer) throws -> Status {
| `- error: cannot find type 'RustBuffer' in scope
1886 | return try FfiConverterTypeStatus.lift(buf)
1887 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1892:62: error: cannot find type 'RustBuffer' in scope
1890 | @_documentation(visibility: private)
1891 | #endif
1892 | public func FfiConverterTypeStatus_lower(_ value: Status) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1893 | return FfiConverterTypeStatus.lower(value)
1894 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1900:20: error: type 'FfiConverterOptionBool' 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 |
:
1898 | @_documentation(visibility: private)
1899 | #endif
1900 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1901 | typealias SwiftType = Bool?
1902 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1924: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 |
:
1922 | @_documentation(visibility: private)
1923 | #endif
1924 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1925 | typealias SwiftType = String?
1926 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1948:20: error: type 'FfiConverterOptionData' 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 |
:
1946 | @_documentation(visibility: private)
1947 | #endif
1948 | fileprivate struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1949 | typealias SwiftType = Data?
1950 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1972:20: error: type 'FfiConverterOptionTypeConstraints' 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 |
:
1970 | @_documentation(visibility: private)
1971 | #endif
1972 | fileprivate struct FfiConverterOptionTypeConstraints: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1973 | typealias SwiftType = Constraints?
1974 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1996:20: error: type 'FfiConverterOptionTypeSignal' 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 |
:
1994 | @_documentation(visibility: private)
1995 | #endif
1996 | fileprivate struct FfiConverterOptionTypeSignal: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1997 | typealias SwiftType = Signal?
1998 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2020:20: error: type 'FfiConverterSequenceTypeConstraintNode' 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 |
:
2018 | @_documentation(visibility: private)
2019 | #endif
2020 | fileprivate struct FfiConverterSequenceTypeConstraintNode: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2021 | typealias SwiftType = [ConstraintNode]
2022 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2045:20: error: type 'FfiConverterSequenceTypeRequest' 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 |
:
2043 | @_documentation(visibility: private)
2044 | #endif
2045 | fileprivate struct FfiConverterSequenceTypeRequest: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = [Request]
2047 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2070:20: error: type 'FfiConverterSequenceTypeCredentialType' 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 |
:
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | fileprivate struct FfiConverterSequenceTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2071 | typealias SwiftType = [CredentialType]
2072 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2141:40: error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2139 | let bindings_contract_version = 30
2140 | // Get the scaffolding contract version by calling the into the dylib
2141 | let scaffolding_contract_version = ffi_idkit_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2142 | if bindings_contract_version != scaffolding_contract_version {
2143 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2145:9: error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2143 | return InitializationResult.contractVersionMismatch
2144 | }
2145 | if (uniffi_idkit_checksum_func_credential_to_string() != 61137) {
| `- error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2148:9: error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
2148 | if (uniffi_idkit_checksum_func_proof_from_json() != 41451) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2151:9: error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
2151 | if (uniffi_idkit_checksum_func_proof_to_json() != 11599) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2154:9: error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
2154 | if (uniffi_idkit_checksum_method_constraintnode_to_json() != 54484) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2157:9: error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
2157 | if (uniffi_idkit_checksum_method_constraints_to_json() != 54987) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2160:9: error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
2160 | if (uniffi_idkit_checksum_method_request_credential_type() != 11276) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2163:9: error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
2163 | if (uniffi_idkit_checksum_method_request_face_auth() != 29714) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2166:9: error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
2166 | if (uniffi_idkit_checksum_method_request_get_signal_bytes() != 62795) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2169:9: error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
2169 | if (uniffi_idkit_checksum_method_request_to_json() != 58566) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2172:9: error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
2172 | if (uniffi_idkit_checksum_method_request_with_face_auth() != 2778) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2175:9: error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
2175 | if (uniffi_idkit_checksum_method_session_connect_url() != 12307) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2178:9: error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
2178 | if (uniffi_idkit_checksum_method_session_poll_for_status() != 46168) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2181:9: error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
2181 | if (uniffi_idkit_checksum_method_session_request_id() != 24304) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2184:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
2184 | if (uniffi_idkit_checksum_method_session_wait_for_proof() != 46359) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2187:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
2187 | if (uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout() != 38030) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2190:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
2190 | if (uniffi_idkit_checksum_method_signal_as_bytes() != 58268) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2193:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
2193 | if (uniffi_idkit_checksum_method_signal_as_string() != 53522) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2196:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
2196 | if (uniffi_idkit_checksum_constructor_constraintnode_all() != 34904) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2199:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
2199 | if (uniffi_idkit_checksum_constructor_constraintnode_any() != 13996) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2202:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
2202 | if (uniffi_idkit_checksum_constructor_constraintnode_credential() != 25782) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2205:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
2205 | if (uniffi_idkit_checksum_constructor_constraintnode_from_json() != 8810) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2208:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_idkit_checksum_constructor_constraints_all() != 22097) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2211:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_idkit_checksum_constructor_constraints_any() != 27843) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2214:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_idkit_checksum_constructor_constraints_from_json() != 52569) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2217:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_idkit_checksum_constructor_constraints_new() != 48105) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2220:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_idkit_checksum_constructor_request_from_json() != 40767) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2223:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_idkit_checksum_constructor_request_new() != 56562) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2226:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_idkit_checksum_constructor_session_create() != 30873) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2229:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
2229 | if (uniffi_idkit_checksum_constructor_session_create_with_options() != 10844) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2232:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
2232 | if (uniffi_idkit_checksum_constructor_session_from_verification_level() != 29046) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2235:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
2235 | if (uniffi_idkit_checksum_constructor_signal_from_abi_encoded() != 47274) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2238:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
2238 | if (uniffi_idkit_checksum_constructor_signal_from_string() != 7997) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2239 | return InitializationResult.apiChecksumMismatch
2240 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitInitialized()
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/IDKit/Generated/idkit.swift:580:32: error: cannot find 'uniffi_idkit_fn_clone_constraintnode' in scope
578 | #endif
579 | public func uniffiCloneHandle() -> UInt64 {
580 | return try! rustCall { uniffi_idkit_fn_clone_constraintnode(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_constraintnode' in scope
581 | }
582 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:585:25: error: cannot find 'uniffi_idkit_fn_free_constraintnode' in scope
583 |
584 | deinit {
585 | try! rustCall { uniffi_idkit_fn_free_constraintnode(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_constraintnode' in scope
586 | }
587 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:596:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_all' in scope
594 | public static func all(nodes: [ConstraintNode]) -> ConstraintNode {
595 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
596 | uniffi_idkit_fn_constructor_constraintnode_all(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_all' in scope
597 | FfiConverterSequenceTypeConstraintNode.lower(nodes),$0
598 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:610:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_any' in scope
608 | public static func any(nodes: [ConstraintNode]) -> ConstraintNode {
609 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
610 | uniffi_idkit_fn_constructor_constraintnode_any(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_any' in scope
611 | FfiConverterSequenceTypeConstraintNode.lower(nodes),$0
612 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:621:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_credential' in scope
619 | public static func credential(credentialType: CredentialType) -> ConstraintNode {
620 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
621 | uniffi_idkit_fn_constructor_constraintnode_credential(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_credential' in scope
622 | FfiConverterTypeCredentialType_lower(credentialType),$0
623 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:636:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_from_json' in scope
634 | public static func fromJson(json: String)throws -> ConstraintNode {
635 | return try FfiConverterTypeConstraintNode_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
636 | uniffi_idkit_fn_constructor_constraintnode_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_from_json' in scope
637 | FfiConverterString.lower(json),$0
638 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:653:5: error: cannot find 'uniffi_idkit_fn_method_constraintnode_to_json' in scope
651 | open func toJson()throws -> String {
652 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
653 | uniffi_idkit_fn_method_constraintnode_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_constraintnode_to_json' in scope
654 | self.uniffiCloneHandle(),$0
655 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:768:32: error: cannot find 'uniffi_idkit_fn_clone_constraints' in scope
766 | #endif
767 | public func uniffiCloneHandle() -> UInt64 {
768 | return try! rustCall { uniffi_idkit_fn_clone_constraints(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_constraints' in scope
769 | }
770 | /**
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:776:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_new' in scope
774 | let handle =
775 | try! rustCall() {
776 | uniffi_idkit_fn_constructor_constraints_new(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_new' in scope
777 | FfiConverterTypeConstraintNode_lower(root),$0
778 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:784:25: error: cannot find 'uniffi_idkit_fn_free_constraints' in scope
782 |
783 | deinit {
784 | try! rustCall { uniffi_idkit_fn_free_constraints(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_constraints' in scope
785 | }
786 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:793:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_all' in scope
791 | public static func all(credentials: [CredentialType]) -> Constraints {
792 | return try! FfiConverterTypeConstraints_lift(try! rustCall() {
793 | uniffi_idkit_fn_constructor_constraints_all(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_all' in scope
794 | FfiConverterSequenceTypeCredentialType.lower(credentials),$0
795 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:804:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_any' in scope
802 | public static func any(credentials: [CredentialType]) -> Constraints {
803 | return try! FfiConverterTypeConstraints_lift(try! rustCall() {
804 | uniffi_idkit_fn_constructor_constraints_any(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_any' in scope
805 | FfiConverterSequenceTypeCredentialType.lower(credentials),$0
806 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:819:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_from_json' in scope
817 | public static func fromJson(json: String)throws -> Constraints {
818 | return try FfiConverterTypeConstraints_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
819 | uniffi_idkit_fn_constructor_constraints_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_from_json' in scope
820 | FfiConverterString.lower(json),$0
821 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:836:5: error: cannot find 'uniffi_idkit_fn_method_constraints_to_json' in scope
834 | open func toJson()throws -> String {
835 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
836 | uniffi_idkit_fn_method_constraints_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_constraints_to_json' in scope
837 | self.uniffiCloneHandle(),$0
838 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:973:32: error: cannot find 'uniffi_idkit_fn_clone_request' in scope
971 | #endif
972 | public func uniffiCloneHandle() -> UInt64 {
973 | return try! rustCall { uniffi_idkit_fn_clone_request(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_request' in scope
974 | }
975 | /**
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:985:5: error: cannot find 'uniffi_idkit_fn_constructor_request_new' in scope
983 | let handle =
984 | try! rustCall() {
985 | uniffi_idkit_fn_constructor_request_new(
| `- error: cannot find 'uniffi_idkit_fn_constructor_request_new' in scope
986 | FfiConverterTypeCredentialType_lower(credentialType),
987 | FfiConverterOptionTypeSignal.lower(signal),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:994:25: error: cannot find 'uniffi_idkit_fn_free_request' in scope
992 |
993 | deinit {
994 | try! rustCall { uniffi_idkit_fn_free_request(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_request' in scope
995 | }
996 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1007:5: error: cannot find 'uniffi_idkit_fn_constructor_request_from_json' in scope
1005 | public static func fromJson(json: String)throws -> Request {
1006 | return try FfiConverterTypeRequest_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1007 | uniffi_idkit_fn_constructor_request_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_request_from_json' in scope
1008 | FfiConverterString.lower(json),$0
1009 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1020:5: error: cannot find 'uniffi_idkit_fn_method_request_credential_type' in scope
1018 | open func credentialType() -> CredentialType {
1019 | return try! FfiConverterTypeCredentialType_lift(try! rustCall() {
1020 | uniffi_idkit_fn_method_request_credential_type(
| `- error: cannot find 'uniffi_idkit_fn_method_request_credential_type' in scope
1021 | self.uniffiCloneHandle(),$0
1022 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1031:5: error: cannot find 'uniffi_idkit_fn_method_request_face_auth' in scope
1029 | open func faceAuth() -> Bool? {
1030 | return try! FfiConverterOptionBool.lift(try! rustCall() {
1031 | uniffi_idkit_fn_method_request_face_auth(
| `- error: cannot find 'uniffi_idkit_fn_method_request_face_auth' in scope
1032 | self.uniffiCloneHandle(),$0
1033 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1042:5: error: cannot find 'uniffi_idkit_fn_method_request_get_signal_bytes' in scope
1040 | open func getSignalBytes() -> Data? {
1041 | return try! FfiConverterOptionData.lift(try! rustCall() {
1042 | uniffi_idkit_fn_method_request_get_signal_bytes(
| `- error: cannot find 'uniffi_idkit_fn_method_request_get_signal_bytes' in scope
1043 | self.uniffiCloneHandle(),$0
1044 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1057:5: error: cannot find 'uniffi_idkit_fn_method_request_to_json' in scope
1055 | open func toJson()throws -> String {
1056 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1057 | uniffi_idkit_fn_method_request_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_request_to_json' in scope
1058 | self.uniffiCloneHandle(),$0
1059 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1070:5: error: cannot find 'uniffi_idkit_fn_method_request_with_face_auth' in scope
1068 | open func withFaceAuth(faceAuth: Bool) -> Request {
1069 | return try! FfiConverterTypeRequest_lift(try! rustCall() {
1070 | uniffi_idkit_fn_method_request_with_face_auth(
| `- error: cannot find 'uniffi_idkit_fn_method_request_with_face_auth' in scope
1071 | self.uniffiCloneHandle(),
1072 | FfiConverterBool.lower(faceAuth),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1223:32: error: cannot find 'uniffi_idkit_fn_clone_session' in scope
1221 | #endif
1222 | public func uniffiCloneHandle() -> UInt64 {
1223 | return try! rustCall { uniffi_idkit_fn_clone_session(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_session' in scope
1224 | }
1225 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1228:25: error: cannot find 'uniffi_idkit_fn_free_session' in scope
1226 |
1227 | deinit {
1228 | try! rustCall { uniffi_idkit_fn_free_session(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_session' in scope
1229 | }
1230 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1247:5: error: cannot find 'uniffi_idkit_fn_constructor_session_create' in scope
1245 | public static func create(appId: String, action: String, requests: [Request])throws -> Session {
1246 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1247 | uniffi_idkit_fn_constructor_session_create(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_create' in scope
1248 | FfiConverterString.lower(appId),
1249 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1273:5: error: cannot find 'uniffi_idkit_fn_constructor_session_create_with_options' in scope
1271 | public static func createWithOptions(appId: String, action: String, requests: [Request], actionDescription: String?, constraints: Constraints?, bridgeUrl: String?)throws -> Session {
1272 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1273 | uniffi_idkit_fn_constructor_session_create_with_options(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_create_with_options' in scope
1274 | FfiConverterString.lower(appId),
1275 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1296:5: error: cannot find 'uniffi_idkit_fn_constructor_session_from_verification_level' in scope
1294 | public static func fromVerificationLevel(appId: String, action: String, verificationLevel: VerificationLevel, signal: String)throws -> Session {
1295 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1296 | uniffi_idkit_fn_constructor_session_from_verification_level(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_from_verification_level' in scope
1297 | FfiConverterString.lower(appId),
1298 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1312:5: error: cannot find 'uniffi_idkit_fn_method_session_connect_url' in scope
1310 | open func connectUrl() -> String {
1311 | return try! FfiConverterString.lift(try! rustCall() {
1312 | uniffi_idkit_fn_method_session_connect_url(
| `- error: cannot find 'uniffi_idkit_fn_method_session_connect_url' in scope
1313 | self.uniffiCloneHandle(),$0
1314 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1330:5: error: cannot find 'uniffi_idkit_fn_method_session_poll_for_status' in scope
1328 | open func pollForStatus()throws -> Status {
1329 | return try FfiConverterTypeStatus_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1330 | uniffi_idkit_fn_method_session_poll_for_status(
| `- error: cannot find 'uniffi_idkit_fn_method_session_poll_for_status' in scope
1331 | self.uniffiCloneHandle(),$0
1332 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1341:5: error: cannot find 'uniffi_idkit_fn_method_session_request_id' in scope
1339 | open func requestId() -> String {
1340 | return try! FfiConverterString.lift(try! rustCall() {
1341 | uniffi_idkit_fn_method_session_request_id(
| `- error: cannot find 'uniffi_idkit_fn_method_session_request_id' in scope
1342 | self.uniffiCloneHandle(),$0
1343 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1359:5: error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof' in scope
1357 | open func waitForProof()throws -> Proof {
1358 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1359 | uniffi_idkit_fn_method_session_wait_for_proof(
| `- error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof' in scope
1360 | self.uniffiCloneHandle(),$0
1361 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1377:5: error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof_with_timeout' in scope
1375 | open func waitForProofWithTimeout(timeoutSeconds: UInt64)throws -> Proof {
1376 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1377 | uniffi_idkit_fn_method_session_wait_for_proof_with_timeout(
| `- error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof_with_timeout' in scope
1378 | self.uniffiCloneHandle(),
1379 | FfiConverterUInt64.lower(timeoutSeconds),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1494:32: error: cannot find 'uniffi_idkit_fn_clone_signal' in scope
1492 | #endif
1493 | public func uniffiCloneHandle() -> UInt64 {
1494 | return try! rustCall { uniffi_idkit_fn_clone_signal(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_signal' in scope
1495 | }
1496 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1499:25: error: cannot find 'uniffi_idkit_fn_free_signal' in scope
1497 |
1498 | deinit {
1499 | try! rustCall { uniffi_idkit_fn_free_signal(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_signal' in scope
1500 | }
1501 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1511:5: error: cannot find 'uniffi_idkit_fn_constructor_signal_from_abi_encoded' in scope
1509 | public static func fromAbiEncoded(bytes: Data) -> Signal {
1510 | return try! FfiConverterTypeSignal_lift(try! rustCall() {
1511 | uniffi_idkit_fn_constructor_signal_from_abi_encoded(
| `- error: cannot find 'uniffi_idkit_fn_constructor_signal_from_abi_encoded' in scope
1512 | FfiConverterData.lower(bytes),$0
1513 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1522:5: error: cannot find 'uniffi_idkit_fn_constructor_signal_from_string' in scope
1520 | public static func fromString(s: String) -> Signal {
1521 | return try! FfiConverterTypeSignal_lift(try! rustCall() {
1522 | uniffi_idkit_fn_constructor_signal_from_string(
| `- error: cannot find 'uniffi_idkit_fn_constructor_signal_from_string' in scope
1523 | FfiConverterString.lower(s),$0
1524 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1535:5: error: cannot find 'uniffi_idkit_fn_method_signal_as_bytes' in scope
1533 | open func asBytes() -> Data {
1534 | return try! FfiConverterData.lift(try! rustCall() {
1535 | uniffi_idkit_fn_method_signal_as_bytes(
| `- error: cannot find 'uniffi_idkit_fn_method_signal_as_bytes' in scope
1536 | self.uniffiCloneHandle(),$0
1537 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1546:5: error: cannot find 'uniffi_idkit_fn_method_signal_as_string' in scope
1544 | open func asString() -> String? {
1545 | return try! FfiConverterOptionString.lift(try! rustCall() {
1546 | uniffi_idkit_fn_method_signal_as_string(
| `- error: cannot find 'uniffi_idkit_fn_method_signal_as_string' in scope
1547 | self.uniffiCloneHandle(),$0
1548 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2096:5: error: cannot find 'uniffi_idkit_fn_func_credential_to_string' in scope
2094 | public func credentialToString(credential: CredentialType) -> String {
2095 | return try! FfiConverterString.lift(try! rustCall() {
2096 | uniffi_idkit_fn_func_credential_to_string(
| `- error: cannot find 'uniffi_idkit_fn_func_credential_to_string' in scope
2097 | FfiConverterTypeCredentialType_lower(credential),$0
2098 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2110:5: error: cannot find 'uniffi_idkit_fn_func_proof_from_json' in scope
2108 | public func proofFromJson(json: String)throws -> Proof {
2109 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
2110 | uniffi_idkit_fn_func_proof_from_json(
| `- error: cannot find 'uniffi_idkit_fn_func_proof_from_json' in scope
2111 | FfiConverterString.lower(json),$0
2112 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2124:5: error: cannot find 'uniffi_idkit_fn_func_proof_to_json' in scope
2122 | public func proofToJson(proof: Proof)throws -> String {
2123 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
2124 | uniffi_idkit_fn_func_proof_to_json(
| `- error: cannot find 'uniffi_idkit_fn_func_proof_to_json' in scope
2125 | FfiConverterTypeProof_lower(proof),$0
2126 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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_idkit_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[238/238] Emitting module IDKit
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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 | uniffiEnsureIdkitInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.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/IDKit/Generated/idkit.swift:464:25: error: cannot find type 'RustBuffer' in scope
462 | fileprivate struct FfiConverterString: FfiConverter {
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:466:38: error: cannot find type 'RustBuffer' in scope
464 | typealias FfiType = RustBuffer
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
467 | defer {
468 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:477:50: error: cannot find type 'RustBuffer' in scope
475 | }
476 |
477 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
478 | return value.utf8CString.withUnsafeBufferPointer { ptr in
479 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:462: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 |
:
460 | @_documentation(visibility: private)
461 | #endif
462 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:503:20: error: type 'FfiConverterData' 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 |
:
501 | @_documentation(visibility: private)
502 | #endif
503 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
504 | typealias SwiftType = Data
505 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1676:15: error: type 'FfiConverterTypeIdkitError' 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 |
:
1674 | @_documentation(visibility: private)
1675 | #endif
1676 | public struct FfiConverterTypeIdkitError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1677 | typealias SwiftType = IdkitError
1678 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1784:52: error: cannot find type 'RustBuffer' in scope
1782 | @_documentation(visibility: private)
1783 | #endif
1784 | public func FfiConverterTypeIdkitError_lift(_ buf: RustBuffer) throws -> IdkitError {
| `- error: cannot find type 'RustBuffer' in scope
1785 | return try FfiConverterTypeIdkitError.lift(buf)
1786 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1791:70: error: cannot find type 'RustBuffer' in scope
1789 | @_documentation(visibility: private)
1790 | #endif
1791 | public func FfiConverterTypeIdkitError_lower(_ value: IdkitError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1792 | return FfiConverterTypeIdkitError.lower(value)
1793 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1835:15: error: type 'FfiConverterTypeStatus' 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 |
:
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public struct FfiConverterTypeStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1836 | typealias SwiftType = Status
1837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1885:48: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeStatus_lift(_ buf: RustBuffer) throws -> Status {
| `- error: cannot find type 'RustBuffer' in scope
1886 | return try FfiConverterTypeStatus.lift(buf)
1887 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1892:62: error: cannot find type 'RustBuffer' in scope
1890 | @_documentation(visibility: private)
1891 | #endif
1892 | public func FfiConverterTypeStatus_lower(_ value: Status) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1893 | return FfiConverterTypeStatus.lower(value)
1894 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1900:20: error: type 'FfiConverterOptionBool' 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 |
:
1898 | @_documentation(visibility: private)
1899 | #endif
1900 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1901 | typealias SwiftType = Bool?
1902 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1924: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 |
:
1922 | @_documentation(visibility: private)
1923 | #endif
1924 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1925 | typealias SwiftType = String?
1926 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1948:20: error: type 'FfiConverterOptionData' 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 |
:
1946 | @_documentation(visibility: private)
1947 | #endif
1948 | fileprivate struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1949 | typealias SwiftType = Data?
1950 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1972:20: error: type 'FfiConverterOptionTypeConstraints' 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 |
:
1970 | @_documentation(visibility: private)
1971 | #endif
1972 | fileprivate struct FfiConverterOptionTypeConstraints: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1973 | typealias SwiftType = Constraints?
1974 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1996:20: error: type 'FfiConverterOptionTypeSignal' 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 |
:
1994 | @_documentation(visibility: private)
1995 | #endif
1996 | fileprivate struct FfiConverterOptionTypeSignal: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1997 | typealias SwiftType = Signal?
1998 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2020:20: error: type 'FfiConverterSequenceTypeConstraintNode' 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 |
:
2018 | @_documentation(visibility: private)
2019 | #endif
2020 | fileprivate struct FfiConverterSequenceTypeConstraintNode: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2021 | typealias SwiftType = [ConstraintNode]
2022 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2045:20: error: type 'FfiConverterSequenceTypeRequest' 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 |
:
2043 | @_documentation(visibility: private)
2044 | #endif
2045 | fileprivate struct FfiConverterSequenceTypeRequest: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = [Request]
2047 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2070:20: error: type 'FfiConverterSequenceTypeCredentialType' 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 |
:
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | fileprivate struct FfiConverterSequenceTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2071 | typealias SwiftType = [CredentialType]
2072 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2141:40: error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2139 | let bindings_contract_version = 30
2140 | // Get the scaffolding contract version by calling the into the dylib
2141 | let scaffolding_contract_version = ffi_idkit_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2142 | if bindings_contract_version != scaffolding_contract_version {
2143 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2145:9: error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2143 | return InitializationResult.contractVersionMismatch
2144 | }
2145 | if (uniffi_idkit_checksum_func_credential_to_string() != 61137) {
| `- error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2148:9: error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
2148 | if (uniffi_idkit_checksum_func_proof_from_json() != 41451) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2151:9: error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
2151 | if (uniffi_idkit_checksum_func_proof_to_json() != 11599) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2154:9: error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
2154 | if (uniffi_idkit_checksum_method_constraintnode_to_json() != 54484) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2157:9: error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
2157 | if (uniffi_idkit_checksum_method_constraints_to_json() != 54987) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2160:9: error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
2160 | if (uniffi_idkit_checksum_method_request_credential_type() != 11276) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2163:9: error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
2163 | if (uniffi_idkit_checksum_method_request_face_auth() != 29714) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2166:9: error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
2166 | if (uniffi_idkit_checksum_method_request_get_signal_bytes() != 62795) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2169:9: error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
2169 | if (uniffi_idkit_checksum_method_request_to_json() != 58566) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2172:9: error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
2172 | if (uniffi_idkit_checksum_method_request_with_face_auth() != 2778) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2175:9: error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
2175 | if (uniffi_idkit_checksum_method_session_connect_url() != 12307) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2178:9: error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
2178 | if (uniffi_idkit_checksum_method_session_poll_for_status() != 46168) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2181:9: error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
2181 | if (uniffi_idkit_checksum_method_session_request_id() != 24304) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2184:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
2184 | if (uniffi_idkit_checksum_method_session_wait_for_proof() != 46359) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2187:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
2187 | if (uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout() != 38030) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2190:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
2190 | if (uniffi_idkit_checksum_method_signal_as_bytes() != 58268) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2193:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
2193 | if (uniffi_idkit_checksum_method_signal_as_string() != 53522) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2196:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
2196 | if (uniffi_idkit_checksum_constructor_constraintnode_all() != 34904) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2199:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
2199 | if (uniffi_idkit_checksum_constructor_constraintnode_any() != 13996) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2202:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
2202 | if (uniffi_idkit_checksum_constructor_constraintnode_credential() != 25782) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2205:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
2205 | if (uniffi_idkit_checksum_constructor_constraintnode_from_json() != 8810) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2208:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_idkit_checksum_constructor_constraints_all() != 22097) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2211:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_idkit_checksum_constructor_constraints_any() != 27843) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2214:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_idkit_checksum_constructor_constraints_from_json() != 52569) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2217:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_idkit_checksum_constructor_constraints_new() != 48105) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2220:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_idkit_checksum_constructor_request_from_json() != 40767) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2223:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_idkit_checksum_constructor_request_new() != 56562) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2226:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_idkit_checksum_constructor_session_create() != 30873) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2229:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
2229 | if (uniffi_idkit_checksum_constructor_session_create_with_options() != 10844) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2232:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
2232 | if (uniffi_idkit_checksum_constructor_session_from_verification_level() != 29046) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2235:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
2235 | if (uniffi_idkit_checksum_constructor_signal_from_abi_encoded() != 47274) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2238:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
2238 | if (uniffi_idkit_checksum_constructor_signal_from_string() != 7997) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2239 | return InitializationResult.apiChecksumMismatch
2240 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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 | uniffiEnsureIdkitCoreInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.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/IDKit/Generated/idkit_core.swift:424:25: error: cannot find type 'RustBuffer' in scope
422 | fileprivate struct FfiConverterString: FfiConverter {
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:426:38: error: cannot find type 'RustBuffer' in scope
424 | typealias FfiType = RustBuffer
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
427 | defer {
428 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:437:50: error: cannot find type 'RustBuffer' in scope
435 | }
436 |
437 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
438 | return value.utf8CString.withUnsafeBufferPointer { ptr in
439 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:422: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 |
:
420 | @_documentation(visibility: private)
421 | #endif
422 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:513:15: error: type 'FfiConverterTypeProof' 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
:
511 | @_documentation(visibility: private)
512 | #endif
513 | public struct FfiConverterTypeProof: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeProof' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
514 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Proof {
515 | return
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:603:15: error: type 'FfiConverterTypeAppError' 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 |
:
601 | @_documentation(visibility: private)
602 | #endif
603 | public struct FfiConverterTypeAppError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeAppError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
604 | typealias SwiftType = AppError
605 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:679:50: error: cannot find type 'RustBuffer' in scope
677 | @_documentation(visibility: private)
678 | #endif
679 | public func FfiConverterTypeAppError_lift(_ buf: RustBuffer) throws -> AppError {
| `- error: cannot find type 'RustBuffer' in scope
680 | return try FfiConverterTypeAppError.lift(buf)
681 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:686:66: error: cannot find type 'RustBuffer' in scope
684 | @_documentation(visibility: private)
685 | #endif
686 | public func FfiConverterTypeAppError_lower(_ value: AppError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
687 | return FfiConverterTypeAppError.lower(value)
688 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:731:15: error: type 'FfiConverterTypeCredentialType' 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 |
:
729 | @_documentation(visibility: private)
730 | #endif
731 | public struct FfiConverterTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
732 | typealias SwiftType = CredentialType
733 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:835:15: error: type 'FfiConverterTypeVerificationLevel' 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 |
:
833 | @_documentation(visibility: private)
834 | #endif
835 | public struct FfiConverterTypeVerificationLevel: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeVerificationLevel' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
836 | typealias SwiftType = VerificationLevel
837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:887:59: error: cannot find type 'RustBuffer' in scope
885 | @_documentation(visibility: private)
886 | #endif
887 | public func FfiConverterTypeVerificationLevel_lift(_ buf: RustBuffer) throws -> VerificationLevel {
| `- error: cannot find type 'RustBuffer' in scope
888 | return try FfiConverterTypeVerificationLevel.lift(buf)
889 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:910:40: error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
908 | let bindings_contract_version = 30
909 | // Get the scaffolding contract version by calling the into the dylib
910 | let scaffolding_contract_version = ffi_idkit_core_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
911 | if bindings_contract_version != scaffolding_contract_version {
912 | return InitializationResult.contractVersionMismatch
BUILD FAILURE 6.1 linux