Build Information
Failed to build DcapQvl, reference master (8ced0b), with Swift 6.2 for Linux on 13 Oct 2026 18:39:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Phala-Network/dcap-qvl-swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Phala-Network/dcap-qvl-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8ced0b0 release: 0.7.0 (DcapQvlFFI.xcframework c3d411e40657958eedd76268eee7b65b865bdf6a1a9bc392c8439af123c6dfef)
Cloned https://github.com/Phala-Network/dcap-qvl-swift.git
Revision (git rev-parse @):
8ced0b0559b57f0a98cc7d28f1caa6f2b90a9812
SUCCESS checkout https://github.com/Phala-Network/dcap-qvl-swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/Phala-Network/dcap-qvl-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:24009fa1488c01937630ee3297a7a7a1872c773069724929dff85071fefc3743
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Downloading binary artifact https://github.com/Phala-Network/dcap-qvl/releases/download/v0.7.0/DcapQvlFFI.xcframework.zip
[9098/43757578] Downloading https://github.com/Phala-Network/dcap-qvl/releases/download/v0.7.0/DcapQvlFFI.xcframework.zip
Downloaded https://github.com/Phala-Network/dcap-qvl/releases/download/v0.7.0/DcapQvlFFI.xcframework.zip (6.17s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module DcapQvl
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:14:19: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | private 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/DcapQvl/DcapQvl.swift:38:19: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | private 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/DcapQvl/DcapQvl.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | private 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/DcapQvl/DcapQvl.swift:190:72: 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 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.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/DcapQvl/DcapQvl.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/DcapQvl/DcapQvl.swift:257:19: error: cannot find type 'RustCallStatus' in scope
255 | private let CALL_CANCELLED: Int8 = 3
256 |
257 | private extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
258 | init() {
259 | self.init(
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:270:60: error: cannot find type 'RustCallStatus' in scope
268 | }
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
272 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:276:32: error: cannot find type 'RustBuffer' in scope
274 |
275 | private func rustCallWithError<T, E: Swift.Error>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> E,
| `- error: cannot find type 'RustBuffer' in scope
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
278 | ) throws -> T {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:277:39: error: cannot find type 'RustCallStatus' in scope
275 | private func rustCallWithError<T, E: Swift.Error>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> E,
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
| `- error: cannot find type 'RustCallStatus' in scope
278 | ) throws -> T {
279 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:283:39: error: cannot find type 'RustCallStatus' in scope
281 |
282 | private func makeRustCall<T, E: Swift.Error>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
284 | errorHandler: ((RustBuffer) throws -> E)?
285 | ) throws -> T {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:284:21: error: cannot find type 'RustBuffer' in scope
282 | private func makeRustCall<T, E: Swift.Error>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
284 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
285 | ) throws -> T {
286 | uniffiEnsureInitialized()
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:294:17: error: cannot find type 'RustCallStatus' in scope
292 |
293 | private func uniffiCheckCallStatus<E: Swift.Error>(
294 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
295 | errorHandler: ((RustBuffer) throws -> E)?
296 | ) throws {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:295:21: error: cannot find type 'RustBuffer' in scope
293 | private func uniffiCheckCallStatus<E: Swift.Error>(
294 | callStatus: RustCallStatus,
295 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
296 | ) throws {
297 | switch callStatus.code {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:329:38: error: cannot find type 'RustCallStatus' in scope
327 |
328 | private func uniffiTraitInterfaceCall<T>(
329 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
330 | makeCall: () throws -> T,
331 | writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:342:38: error: cannot find type 'RustCallStatus' in scope
340 |
341 | private func uniffiTraitInterfaceCallWithError<T, E>(
342 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:345:24: error: cannot find type 'RustBuffer' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
345 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
346 | ) {
347 | do {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:467:25: error: cannot find type 'RustBuffer' in scope
465 | private struct FfiConverterString: FfiConverter {
466 | typealias SwiftType = String
467 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
468 |
469 | static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:469:31: error: cannot find type 'RustBuffer' in scope
467 | typealias FfiType = RustBuffer
468 |
469 | static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
470 | defer {
471 | value.deallocate()
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:480:43: error: cannot find type 'RustBuffer' in scope
478 | }
479 |
480 | static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
481 | return value.utf8CString.withUnsafeBufferPointer { ptr in
482 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:465:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
463 | @_documentation(visibility: private)
464 | #endif
465 | private struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
466 | typealias SwiftType = String
467 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:506:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
504 | @_documentation(visibility: private)
505 | #endif
506 | private struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
507 | typealias SwiftType = Data
508 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:592:15: error: type 'FfiConverterTypePckExtension' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
590 | @_documentation(visibility: private)
591 | #endif
592 | public struct FfiConverterTypePckExtension: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePckExtension' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
593 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> PckExtension {
594 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:622:54: error: cannot find type 'RustBuffer' in scope
620 | @_documentation(visibility: private)
621 | #endif
622 | public func FfiConverterTypePckExtension_lift(_ buf: RustBuffer) throws -> PckExtension {
| `- error: cannot find type 'RustBuffer' in scope
623 | return try FfiConverterTypePckExtension.lift(buf)
624 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:629:74: error: cannot find type 'RustBuffer' in scope
627 | @_documentation(visibility: private)
628 | #endif
629 | public func FfiConverterTypePckExtension_lower(_ value: PckExtension) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
630 | return FfiConverterTypePckExtension.lower(value)
631 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:717:15: error: type 'FfiConverterTypeQuote' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
715 | @_documentation(visibility: private)
716 | #endif
717 | public struct FfiConverterTypeQuote: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeQuote' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
718 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Quote {
719 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:745:47: error: cannot find type 'RustBuffer' in scope
743 | @_documentation(visibility: private)
744 | #endif
745 | public func FfiConverterTypeQuote_lift(_ buf: RustBuffer) throws -> Quote {
| `- error: cannot find type 'RustBuffer' in scope
746 | return try FfiConverterTypeQuote.lift(buf)
747 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:752:60: error: cannot find type 'RustBuffer' in scope
750 | @_documentation(visibility: private)
751 | #endif
752 | public func FfiConverterTypeQuote_lower(_ value: Quote) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
753 | return FfiConverterTypeQuote.lower(value)
754 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:821:15: error: type 'FfiConverterTypeQuoteHeader' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
819 | @_documentation(visibility: private)
820 | #endif
821 | public struct FfiConverterTypeQuoteHeader: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeQuoteHeader' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
822 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> QuoteHeader {
823 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:849:53: error: cannot find type 'RustBuffer' in scope
847 | @_documentation(visibility: private)
848 | #endif
849 | public func FfiConverterTypeQuoteHeader_lift(_ buf: RustBuffer) throws -> QuoteHeader {
| `- error: cannot find type 'RustBuffer' in scope
850 | return try FfiConverterTypeQuoteHeader.lift(buf)
851 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:856:72: error: cannot find type 'RustBuffer' in scope
854 | @_documentation(visibility: private)
855 | #endif
856 | public func FfiConverterTypeQuoteHeader_lower(_ value: QuoteHeader) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
857 | return FfiConverterTypeQuoteHeader.lower(value)
858 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:931:15: error: type 'FfiConverterTypeSgxReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
929 | @_documentation(visibility: private)
930 | #endif
931 | public struct FfiConverterTypeSgxReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeSgxReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
932 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SgxReport {
933 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:961:51: error: cannot find type 'RustBuffer' in scope
959 | @_documentation(visibility: private)
960 | #endif
961 | public func FfiConverterTypeSgxReport_lift(_ buf: RustBuffer) throws -> SgxReport {
| `- error: cannot find type 'RustBuffer' in scope
962 | return try FfiConverterTypeSgxReport.lift(buf)
963 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:968:68: error: cannot find type 'RustBuffer' in scope
966 | @_documentation(visibility: private)
967 | #endif
968 | public func FfiConverterTypeSgxReport_lower(_ value: SgxReport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
969 | return FfiConverterTypeSgxReport.lower(value)
970 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1007:15: error: type 'FfiConverterTypeTcbStatusWithAdvisory' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public struct FfiConverterTypeTcbStatusWithAdvisory: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTcbStatusWithAdvisory' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1008 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> TcbStatusWithAdvisory {
1009 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1025:63: error: cannot find type 'RustBuffer' in scope
1023 | @_documentation(visibility: private)
1024 | #endif
1025 | public func FfiConverterTypeTcbStatusWithAdvisory_lift(_ buf: RustBuffer) throws -> TcbStatusWithAdvisory {
| `- error: cannot find type 'RustBuffer' in scope
1026 | return try FfiConverterTypeTcbStatusWithAdvisory.lift(buf)
1027 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1032:92: error: cannot find type 'RustBuffer' in scope
1030 | @_documentation(visibility: private)
1031 | #endif
1032 | public func FfiConverterTypeTcbStatusWithAdvisory_lower(_ value: TcbStatusWithAdvisory) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1033 | return FfiConverterTypeTcbStatusWithAdvisory.lower(value)
1034 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1149:15: error: type 'FfiConverterTypeTd10Report' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1147 | @_documentation(visibility: private)
1148 | #endif
1149 | public struct FfiConverterTypeTd10Report: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTd10Report' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1150 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Td10Report {
1151 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1193:52: error: cannot find type 'RustBuffer' in scope
1191 | @_documentation(visibility: private)
1192 | #endif
1193 | public func FfiConverterTypeTd10Report_lift(_ buf: RustBuffer) throws -> Td10Report {
| `- error: cannot find type 'RustBuffer' in scope
1194 | return try FfiConverterTypeTd10Report.lift(buf)
1195 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1200:70: error: cannot find type 'RustBuffer' in scope
1198 | @_documentation(visibility: private)
1199 | #endif
1200 | public func FfiConverterTypeTd10Report_lower(_ value: Td10Report) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1201 | return FfiConverterTypeTd10Report.lower(value)
1202 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1293:15: error: type 'FfiConverterTypeTd15ExReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1291 | @_documentation(visibility: private)
1292 | #endif
1293 | public struct FfiConverterTypeTd15ExReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTd15ExReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1294 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Td15ExReport {
1295 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1329:54: error: cannot find type 'RustBuffer' in scope
1327 | @_documentation(visibility: private)
1328 | #endif
1329 | public func FfiConverterTypeTd15ExReport_lift(_ buf: RustBuffer) throws -> Td15ExReport {
| `- error: cannot find type 'RustBuffer' in scope
1330 | return try FfiConverterTypeTd15ExReport.lift(buf)
1331 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1336:74: error: cannot find type 'RustBuffer' in scope
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public func FfiConverterTypeTd15ExReport_lower(_ value: Td15ExReport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1337 | return FfiConverterTypeTd15ExReport.lower(value)
1338 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1381:15: error: type 'FfiConverterTypeTd15Report' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1379 | @_documentation(visibility: private)
1380 | #endif
1381 | public struct FfiConverterTypeTd15Report: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTd15Report' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1382 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Td15Report {
1383 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1401:52: error: cannot find type 'RustBuffer' in scope
1399 | @_documentation(visibility: private)
1400 | #endif
1401 | public func FfiConverterTypeTd15Report_lift(_ buf: RustBuffer) throws -> Td15Report {
| `- error: cannot find type 'RustBuffer' in scope
1402 | return try FfiConverterTypeTd15Report.lift(buf)
1403 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1408:70: error: cannot find type 'RustBuffer' in scope
1406 | @_documentation(visibility: private)
1407 | #endif
1408 | public func FfiConverterTypeTd15Report_lower(_ value: Td15Report) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1409 | return FfiConverterTypeTd15Report.lower(value)
1410 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1471:15: error: type 'FfiConverterTypeVerifiedReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1469 | @_documentation(visibility: private)
1470 | #endif
1471 | public struct FfiConverterTypeVerifiedReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeVerifiedReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1472 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> VerifiedReport {
1473 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1497:56: error: cannot find type 'RustBuffer' in scope
1495 | @_documentation(visibility: private)
1496 | #endif
1497 | public func FfiConverterTypeVerifiedReport_lift(_ buf: RustBuffer) throws -> VerifiedReport {
| `- error: cannot find type 'RustBuffer' in scope
1498 | return try FfiConverterTypeVerifiedReport.lift(buf)
1499 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1504:78: error: cannot find type 'RustBuffer' in scope
1502 | @_documentation(visibility: private)
1503 | #endif
1504 | public func FfiConverterTypeVerifiedReport_lower(_ value: VerifiedReport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1505 | return FfiConverterTypeVerifiedReport.lower(value)
1506 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1530:15: error: type 'FfiConverterTypeDcapError' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1528 | @_documentation(visibility: private)
1529 | #endif
1530 | public struct FfiConverterTypeDcapError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeDcapError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1531 | typealias SwiftType = DcapError
1532 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1580:15: error: type 'FfiConverterTypeQuoteKind' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1578 | @_documentation(visibility: private)
1579 | #endif
1580 | public struct FfiConverterTypeQuoteKind: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeQuoteKind' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1581 | typealias SwiftType = QuoteKind
1582 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1608:51: error: cannot find type 'RustBuffer' in scope
1606 | @_documentation(visibility: private)
1607 | #endif
1608 | public func FfiConverterTypeQuoteKind_lift(_ buf: RustBuffer) throws -> QuoteKind {
| `- error: cannot find type 'RustBuffer' in scope
1609 | return try FfiConverterTypeQuoteKind.lift(buf)
1610 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1615:68: error: cannot find type 'RustBuffer' in scope
1613 | @_documentation(visibility: private)
1614 | #endif
1615 | public func FfiConverterTypeQuoteKind_lower(_ value: QuoteKind) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1616 | return FfiConverterTypeQuoteKind.lower(value)
1617 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1637:15: error: type 'FfiConverterTypeReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1635 | @_documentation(visibility: private)
1636 | #endif
1637 | public struct FfiConverterTypeReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1638 | typealias SwiftType = Report
1639 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1679:48: error: cannot find type 'RustBuffer' in scope
1677 | @_documentation(visibility: private)
1678 | #endif
1679 | public func FfiConverterTypeReport_lift(_ buf: RustBuffer) throws -> Report {
| `- error: cannot find type 'RustBuffer' in scope
1680 | return try FfiConverterTypeReport.lift(buf)
1681 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1686:62: error: cannot find type 'RustBuffer' in scope
1684 | @_documentation(visibility: private)
1685 | #endif
1686 | public func FfiConverterTypeReport_lower(_ value: Report) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1687 | return FfiConverterTypeReport.lower(value)
1688 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1713:15: error: type 'FfiConverterTypeTcbStatus' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1711 | @_documentation(visibility: private)
1712 | #endif
1713 | public struct FfiConverterTypeTcbStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTcbStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1714 | typealias SwiftType = TcbStatus
1715 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1776:51: error: cannot find type 'RustBuffer' in scope
1774 | @_documentation(visibility: private)
1775 | #endif
1776 | public func FfiConverterTypeTcbStatus_lift(_ buf: RustBuffer) throws -> TcbStatus {
| `- error: cannot find type 'RustBuffer' in scope
1777 | return try FfiConverterTypeTcbStatus.lift(buf)
1778 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1783:68: error: cannot find type 'RustBuffer' in scope
1781 | @_documentation(visibility: private)
1782 | #endif
1783 | public func FfiConverterTypeTcbStatus_lower(_ value: TcbStatus) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1784 | return FfiConverterTypeTcbStatus.lower(value)
1785 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1792:16: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1790 | @_documentation(visibility: private)
1791 | #endif
1792 | private struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1793 | typealias SwiftType = String?
1794 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1816:16: error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1814 | @_documentation(visibility: private)
1815 | #endif
1816 | private struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1817 | typealias SwiftType = Data?
1818 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1840:16: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1838 | @_documentation(visibility: private)
1839 | #endif
1840 | private struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1841 | typealias SwiftType = [String]
1842 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1928:40: error: cannot find 'ffi_dcap_qvl_mobile_uniffi_contract_version' in scope
1926 | let bindings_contract_version = 26
1927 | // Get the scaffolding contract version by calling the into the dylib
1928 | let scaffolding_contract_version = ffi_dcap_qvl_mobile_uniffi_contract_version()
| `- error: cannot find 'ffi_dcap_qvl_mobile_uniffi_contract_version' in scope
1929 | if bindings_contract_version != scaffolding_contract_version {
1930 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1932:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_pck_extension_from_pem' in scope
1930 | return InitializationResult.contractVersionMismatch
1931 | }
1932 | if uniffi_dcap_qvl_mobile_checksum_func_parse_pck_extension_from_pem() != 33361 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_pck_extension_from_pem' in scope
1933 | return InitializationResult.apiChecksumMismatch
1934 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1935:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_quote' in scope
1933 | return InitializationResult.apiChecksumMismatch
1934 | }
1935 | if uniffi_dcap_qvl_mobile_checksum_func_parse_quote() != 37454 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_quote' in scope
1936 | return InitializationResult.apiChecksumMismatch
1937 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1938:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify' in scope
1936 | return InitializationResult.apiChecksumMismatch
1937 | }
1938 | if uniffi_dcap_qvl_mobile_checksum_func_verify() != 34688 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify' in scope
1939 | return InitializationResult.apiChecksumMismatch
1940 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1941:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify_with_root_ca' in scope
1939 | return InitializationResult.apiChecksumMismatch
1940 | }
1941 | if uniffi_dcap_qvl_mobile_checksum_func_verify_with_root_ca() != 29462 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify_with_root_ca' in scope
1942 | return InitializationResult.apiChecksumMismatch
1943 | }
[4/4] Compiling DcapQvl DcapQvl.swift
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:14:19: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | private 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/DcapQvl/DcapQvl.swift:38:19: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | private 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/DcapQvl/DcapQvl.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | private 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/DcapQvl/DcapQvl.swift:190:72: 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 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.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/DcapQvl/DcapQvl.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/DcapQvl/DcapQvl.swift:257:19: error: cannot find type 'RustCallStatus' in scope
255 | private let CALL_CANCELLED: Int8 = 3
256 |
257 | private extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
258 | init() {
259 | self.init(
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:270:60: error: cannot find type 'RustCallStatus' in scope
268 | }
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
272 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:276:32: error: cannot find type 'RustBuffer' in scope
274 |
275 | private func rustCallWithError<T, E: Swift.Error>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> E,
| `- error: cannot find type 'RustBuffer' in scope
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
278 | ) throws -> T {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:277:39: error: cannot find type 'RustCallStatus' in scope
275 | private func rustCallWithError<T, E: Swift.Error>(
276 | _ errorHandler: @escaping (RustBuffer) throws -> E,
277 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
| `- error: cannot find type 'RustCallStatus' in scope
278 | ) throws -> T {
279 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:283:39: error: cannot find type 'RustCallStatus' in scope
281 |
282 | private func makeRustCall<T, E: Swift.Error>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
284 | errorHandler: ((RustBuffer) throws -> E)?
285 | ) throws -> T {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:284:21: error: cannot find type 'RustBuffer' in scope
282 | private func makeRustCall<T, E: Swift.Error>(
283 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
284 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
285 | ) throws -> T {
286 | uniffiEnsureInitialized()
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:294:17: error: cannot find type 'RustCallStatus' in scope
292 |
293 | private func uniffiCheckCallStatus<E: Swift.Error>(
294 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
295 | errorHandler: ((RustBuffer) throws -> E)?
296 | ) throws {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:295:21: error: cannot find type 'RustBuffer' in scope
293 | private func uniffiCheckCallStatus<E: Swift.Error>(
294 | callStatus: RustCallStatus,
295 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
296 | ) throws {
297 | switch callStatus.code {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:329:38: error: cannot find type 'RustCallStatus' in scope
327 |
328 | private func uniffiTraitInterfaceCall<T>(
329 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
330 | makeCall: () throws -> T,
331 | writeReturn: (T) -> Void
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:342:38: error: cannot find type 'RustCallStatus' in scope
340 |
341 | private func uniffiTraitInterfaceCallWithError<T, E>(
342 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:345:24: error: cannot find type 'RustBuffer' in scope
343 | makeCall: () throws -> T,
344 | writeReturn: (T) -> Void,
345 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
346 | ) {
347 | do {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:467:25: error: cannot find type 'RustBuffer' in scope
465 | private struct FfiConverterString: FfiConverter {
466 | typealias SwiftType = String
467 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
468 |
469 | static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:469:31: error: cannot find type 'RustBuffer' in scope
467 | typealias FfiType = RustBuffer
468 |
469 | static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
470 | defer {
471 | value.deallocate()
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:480:43: error: cannot find type 'RustBuffer' in scope
478 | }
479 |
480 | static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
481 | return value.utf8CString.withUnsafeBufferPointer { ptr in
482 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:465:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
463 | @_documentation(visibility: private)
464 | #endif
465 | private struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
466 | typealias SwiftType = String
467 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:506:16: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
504 | @_documentation(visibility: private)
505 | #endif
506 | private struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
507 | typealias SwiftType = Data
508 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:592:15: error: type 'FfiConverterTypePckExtension' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
590 | @_documentation(visibility: private)
591 | #endif
592 | public struct FfiConverterTypePckExtension: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePckExtension' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
593 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> PckExtension {
594 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:622:54: error: cannot find type 'RustBuffer' in scope
620 | @_documentation(visibility: private)
621 | #endif
622 | public func FfiConverterTypePckExtension_lift(_ buf: RustBuffer) throws -> PckExtension {
| `- error: cannot find type 'RustBuffer' in scope
623 | return try FfiConverterTypePckExtension.lift(buf)
624 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:629:74: error: cannot find type 'RustBuffer' in scope
627 | @_documentation(visibility: private)
628 | #endif
629 | public func FfiConverterTypePckExtension_lower(_ value: PckExtension) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
630 | return FfiConverterTypePckExtension.lower(value)
631 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:717:15: error: type 'FfiConverterTypeQuote' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
715 | @_documentation(visibility: private)
716 | #endif
717 | public struct FfiConverterTypeQuote: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeQuote' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
718 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Quote {
719 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:745:47: error: cannot find type 'RustBuffer' in scope
743 | @_documentation(visibility: private)
744 | #endif
745 | public func FfiConverterTypeQuote_lift(_ buf: RustBuffer) throws -> Quote {
| `- error: cannot find type 'RustBuffer' in scope
746 | return try FfiConverterTypeQuote.lift(buf)
747 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:752:60: error: cannot find type 'RustBuffer' in scope
750 | @_documentation(visibility: private)
751 | #endif
752 | public func FfiConverterTypeQuote_lower(_ value: Quote) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
753 | return FfiConverterTypeQuote.lower(value)
754 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:821:15: error: type 'FfiConverterTypeQuoteHeader' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
819 | @_documentation(visibility: private)
820 | #endif
821 | public struct FfiConverterTypeQuoteHeader: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeQuoteHeader' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
822 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> QuoteHeader {
823 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:849:53: error: cannot find type 'RustBuffer' in scope
847 | @_documentation(visibility: private)
848 | #endif
849 | public func FfiConverterTypeQuoteHeader_lift(_ buf: RustBuffer) throws -> QuoteHeader {
| `- error: cannot find type 'RustBuffer' in scope
850 | return try FfiConverterTypeQuoteHeader.lift(buf)
851 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:856:72: error: cannot find type 'RustBuffer' in scope
854 | @_documentation(visibility: private)
855 | #endif
856 | public func FfiConverterTypeQuoteHeader_lower(_ value: QuoteHeader) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
857 | return FfiConverterTypeQuoteHeader.lower(value)
858 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:931:15: error: type 'FfiConverterTypeSgxReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
929 | @_documentation(visibility: private)
930 | #endif
931 | public struct FfiConverterTypeSgxReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeSgxReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
932 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SgxReport {
933 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:961:51: error: cannot find type 'RustBuffer' in scope
959 | @_documentation(visibility: private)
960 | #endif
961 | public func FfiConverterTypeSgxReport_lift(_ buf: RustBuffer) throws -> SgxReport {
| `- error: cannot find type 'RustBuffer' in scope
962 | return try FfiConverterTypeSgxReport.lift(buf)
963 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:968:68: error: cannot find type 'RustBuffer' in scope
966 | @_documentation(visibility: private)
967 | #endif
968 | public func FfiConverterTypeSgxReport_lower(_ value: SgxReport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
969 | return FfiConverterTypeSgxReport.lower(value)
970 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1007:15: error: type 'FfiConverterTypeTcbStatusWithAdvisory' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public struct FfiConverterTypeTcbStatusWithAdvisory: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTcbStatusWithAdvisory' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1008 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> TcbStatusWithAdvisory {
1009 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1025:63: error: cannot find type 'RustBuffer' in scope
1023 | @_documentation(visibility: private)
1024 | #endif
1025 | public func FfiConverterTypeTcbStatusWithAdvisory_lift(_ buf: RustBuffer) throws -> TcbStatusWithAdvisory {
| `- error: cannot find type 'RustBuffer' in scope
1026 | return try FfiConverterTypeTcbStatusWithAdvisory.lift(buf)
1027 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1032:92: error: cannot find type 'RustBuffer' in scope
1030 | @_documentation(visibility: private)
1031 | #endif
1032 | public func FfiConverterTypeTcbStatusWithAdvisory_lower(_ value: TcbStatusWithAdvisory) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1033 | return FfiConverterTypeTcbStatusWithAdvisory.lower(value)
1034 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1149:15: error: type 'FfiConverterTypeTd10Report' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1147 | @_documentation(visibility: private)
1148 | #endif
1149 | public struct FfiConverterTypeTd10Report: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTd10Report' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1150 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Td10Report {
1151 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1193:52: error: cannot find type 'RustBuffer' in scope
1191 | @_documentation(visibility: private)
1192 | #endif
1193 | public func FfiConverterTypeTd10Report_lift(_ buf: RustBuffer) throws -> Td10Report {
| `- error: cannot find type 'RustBuffer' in scope
1194 | return try FfiConverterTypeTd10Report.lift(buf)
1195 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1200:70: error: cannot find type 'RustBuffer' in scope
1198 | @_documentation(visibility: private)
1199 | #endif
1200 | public func FfiConverterTypeTd10Report_lower(_ value: Td10Report) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1201 | return FfiConverterTypeTd10Report.lower(value)
1202 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1293:15: error: type 'FfiConverterTypeTd15ExReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1291 | @_documentation(visibility: private)
1292 | #endif
1293 | public struct FfiConverterTypeTd15ExReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTd15ExReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1294 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Td15ExReport {
1295 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1329:54: error: cannot find type 'RustBuffer' in scope
1327 | @_documentation(visibility: private)
1328 | #endif
1329 | public func FfiConverterTypeTd15ExReport_lift(_ buf: RustBuffer) throws -> Td15ExReport {
| `- error: cannot find type 'RustBuffer' in scope
1330 | return try FfiConverterTypeTd15ExReport.lift(buf)
1331 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1336:74: error: cannot find type 'RustBuffer' in scope
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public func FfiConverterTypeTd15ExReport_lower(_ value: Td15ExReport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1337 | return FfiConverterTypeTd15ExReport.lower(value)
1338 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1381:15: error: type 'FfiConverterTypeTd15Report' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1379 | @_documentation(visibility: private)
1380 | #endif
1381 | public struct FfiConverterTypeTd15Report: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTd15Report' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1382 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Td15Report {
1383 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1401:52: error: cannot find type 'RustBuffer' in scope
1399 | @_documentation(visibility: private)
1400 | #endif
1401 | public func FfiConverterTypeTd15Report_lift(_ buf: RustBuffer) throws -> Td15Report {
| `- error: cannot find type 'RustBuffer' in scope
1402 | return try FfiConverterTypeTd15Report.lift(buf)
1403 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1408:70: error: cannot find type 'RustBuffer' in scope
1406 | @_documentation(visibility: private)
1407 | #endif
1408 | public func FfiConverterTypeTd15Report_lower(_ value: Td15Report) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1409 | return FfiConverterTypeTd15Report.lower(value)
1410 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1471:15: error: type 'FfiConverterTypeVerifiedReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private 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
:
1469 | @_documentation(visibility: private)
1470 | #endif
1471 | public struct FfiConverterTypeVerifiedReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeVerifiedReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1472 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> VerifiedReport {
1473 | return
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1497:56: error: cannot find type 'RustBuffer' in scope
1495 | @_documentation(visibility: private)
1496 | #endif
1497 | public func FfiConverterTypeVerifiedReport_lift(_ buf: RustBuffer) throws -> VerifiedReport {
| `- error: cannot find type 'RustBuffer' in scope
1498 | return try FfiConverterTypeVerifiedReport.lift(buf)
1499 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1504:78: error: cannot find type 'RustBuffer' in scope
1502 | @_documentation(visibility: private)
1503 | #endif
1504 | public func FfiConverterTypeVerifiedReport_lower(_ value: VerifiedReport) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1505 | return FfiConverterTypeVerifiedReport.lower(value)
1506 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1530:15: error: type 'FfiConverterTypeDcapError' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1528 | @_documentation(visibility: private)
1529 | #endif
1530 | public struct FfiConverterTypeDcapError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeDcapError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1531 | typealias SwiftType = DcapError
1532 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1580:15: error: type 'FfiConverterTypeQuoteKind' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1578 | @_documentation(visibility: private)
1579 | #endif
1580 | public struct FfiConverterTypeQuoteKind: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeQuoteKind' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1581 | typealias SwiftType = QuoteKind
1582 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1608:51: error: cannot find type 'RustBuffer' in scope
1606 | @_documentation(visibility: private)
1607 | #endif
1608 | public func FfiConverterTypeQuoteKind_lift(_ buf: RustBuffer) throws -> QuoteKind {
| `- error: cannot find type 'RustBuffer' in scope
1609 | return try FfiConverterTypeQuoteKind.lift(buf)
1610 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1615:68: error: cannot find type 'RustBuffer' in scope
1613 | @_documentation(visibility: private)
1614 | #endif
1615 | public func FfiConverterTypeQuoteKind_lower(_ value: QuoteKind) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1616 | return FfiConverterTypeQuoteKind.lower(value)
1617 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1637:15: error: type 'FfiConverterTypeReport' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1635 | @_documentation(visibility: private)
1636 | #endif
1637 | public struct FfiConverterTypeReport: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeReport' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1638 | typealias SwiftType = Report
1639 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1679:48: error: cannot find type 'RustBuffer' in scope
1677 | @_documentation(visibility: private)
1678 | #endif
1679 | public func FfiConverterTypeReport_lift(_ buf: RustBuffer) throws -> Report {
| `- error: cannot find type 'RustBuffer' in scope
1680 | return try FfiConverterTypeReport.lift(buf)
1681 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1686:62: error: cannot find type 'RustBuffer' in scope
1684 | @_documentation(visibility: private)
1685 | #endif
1686 | public func FfiConverterTypeReport_lower(_ value: Report) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1687 | return FfiConverterTypeReport.lower(value)
1688 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1713:15: error: type 'FfiConverterTypeTcbStatus' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1711 | @_documentation(visibility: private)
1712 | #endif
1713 | public struct FfiConverterTypeTcbStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeTcbStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1714 | typealias SwiftType = TcbStatus
1715 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1776:51: error: cannot find type 'RustBuffer' in scope
1774 | @_documentation(visibility: private)
1775 | #endif
1776 | public func FfiConverterTypeTcbStatus_lift(_ buf: RustBuffer) throws -> TcbStatus {
| `- error: cannot find type 'RustBuffer' in scope
1777 | return try FfiConverterTypeTcbStatus.lift(buf)
1778 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1783:68: error: cannot find type 'RustBuffer' in scope
1781 | @_documentation(visibility: private)
1782 | #endif
1783 | public func FfiConverterTypeTcbStatus_lower(_ value: TcbStatus) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1784 | return FfiConverterTypeTcbStatus.lower(value)
1785 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1792:16: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1790 | @_documentation(visibility: private)
1791 | #endif
1792 | private struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1793 | typealias SwiftType = String?
1794 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1816:16: error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1814 | @_documentation(visibility: private)
1815 | #endif
1816 | private struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1817 | typealias SwiftType = Data?
1818 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1840:16: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | /// analogous to the Rust trait of the same name.
159 | private protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1838 | @_documentation(visibility: private)
1839 | #endif
1840 | private struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1841 | typealias SwiftType = [String]
1842 |
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1928:40: error: cannot find 'ffi_dcap_qvl_mobile_uniffi_contract_version' in scope
1926 | let bindings_contract_version = 26
1927 | // Get the scaffolding contract version by calling the into the dylib
1928 | let scaffolding_contract_version = ffi_dcap_qvl_mobile_uniffi_contract_version()
| `- error: cannot find 'ffi_dcap_qvl_mobile_uniffi_contract_version' in scope
1929 | if bindings_contract_version != scaffolding_contract_version {
1930 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1932:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_pck_extension_from_pem' in scope
1930 | return InitializationResult.contractVersionMismatch
1931 | }
1932 | if uniffi_dcap_qvl_mobile_checksum_func_parse_pck_extension_from_pem() != 33361 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_pck_extension_from_pem' in scope
1933 | return InitializationResult.apiChecksumMismatch
1934 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1935:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_quote' in scope
1933 | return InitializationResult.apiChecksumMismatch
1934 | }
1935 | if uniffi_dcap_qvl_mobile_checksum_func_parse_quote() != 37454 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_parse_quote' in scope
1936 | return InitializationResult.apiChecksumMismatch
1937 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1938:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify' in scope
1936 | return InitializationResult.apiChecksumMismatch
1937 | }
1938 | if uniffi_dcap_qvl_mobile_checksum_func_verify() != 34688 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify' in scope
1939 | return InitializationResult.apiChecksumMismatch
1940 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1941:8: error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify_with_root_ca' in scope
1939 | return InitializationResult.apiChecksumMismatch
1940 | }
1941 | if uniffi_dcap_qvl_mobile_checksum_func_verify_with_root_ca() != 29462 {
| `- error: cannot find 'uniffi_dcap_qvl_mobile_checksum_func_verify_with_root_ca' in scope
1942 | return InitializationResult.apiChecksumMismatch
1943 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.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/DcapQvl/DcapQvl.swift:271:23: error: cannot find type 'RustBuffer' in scope
269 |
270 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
271 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
| `- error: cannot find type 'RustBuffer' in scope
272 | return try makeRustCall(callback, errorHandler: neverThrow)
273 | }
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:287:22: error: cannot find 'RustCallStatus' in scope
285 | ) throws -> T {
286 | uniffiEnsureInitialized()
287 | var callStatus = RustCallStatus()
| `- error: cannot find 'RustCallStatus' in scope
288 | let returnedVal = callback(&callStatus)
289 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1867:9: error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_parse_pck_extension_from_pem' in scope
1865 | public func parsePckExtensionFromPem(pem: Data) throws -> PckExtension {
1866 | return try FfiConverterTypePckExtension.lift(rustCallWithError(FfiConverterTypeDcapError.lift) {
1867 | uniffi_dcap_qvl_mobile_fn_func_parse_pck_extension_from_pem(
| `- error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_parse_pck_extension_from_pem' in scope
1868 | FfiConverterData.lower(pem), $0
1869 | )
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1878:9: error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_parse_quote' in scope
1876 | public func parseQuote(rawQuote: Data) throws -> Quote {
1877 | return try FfiConverterTypeQuote.lift(rustCallWithError(FfiConverterTypeDcapError.lift) {
1878 | uniffi_dcap_qvl_mobile_fn_func_parse_quote(
| `- error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_parse_quote' in scope
1879 | FfiConverterData.lower(rawQuote), $0
1880 | )
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1893:9: error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_verify' in scope
1891 | public func verify(rawQuote: Data, collateralJson: Data, nowSecs: UInt64) throws -> VerifiedReport {
1892 | return try FfiConverterTypeVerifiedReport.lift(rustCallWithError(FfiConverterTypeDcapError.lift) {
1893 | uniffi_dcap_qvl_mobile_fn_func_verify(
| `- error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_verify' in scope
1894 | FfiConverterData.lower(rawQuote),
1895 | FfiConverterData.lower(collateralJson),
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.swift:1907:9: error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_verify_with_root_ca' in scope
1905 | public func verifyWithRootCa(rawQuote: Data, collateralJson: Data, rootCaDer: Data, nowSecs: UInt64) throws -> VerifiedReport {
1906 | return try FfiConverterTypeVerifiedReport.lift(rustCallWithError(FfiConverterTypeDcapError.lift) {
1907 | uniffi_dcap_qvl_mobile_fn_func_verify_with_root_ca(
| `- error: cannot find 'uniffi_dcap_qvl_mobile_fn_func_verify_with_root_ca' in scope
1908 | FfiConverterData.lower(rawQuote),
1909 | FfiConverterData.lower(collateralJson),
/host/spi-builder-workspace/Sources/DcapQvl/DcapQvl.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/DcapQvl/DcapQvl.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_dcap_qvl_mobile_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
BUILD FAILURE 6.2 linux