Build Information
Failed to build ParquetKit, reference v1.1.1 (0ea177), with Swift 6.1 for Wasm on 21 Apr 2026 06:45:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
901 |
902 | open func close()throws {try rustCallWithError(FfiConverterTypeParquetError_lift) {
903 | uniffi_parquetkit_driver_fn_method_writerhandle_close(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_close' in scope
904 | self.uniffiCloneHandle(),$0
905 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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_parquetkit_driver_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/207] Emitting module ParquetKitFFI
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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 | uniffiEnsureParquetkitDriverInitialized()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:608:25: error: cannot find type 'RustBuffer' in scope
606 | fileprivate struct FfiConverterString: FfiConverter {
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:610:38: error: cannot find type 'RustBuffer' in scope
608 | typealias FfiType = RustBuffer
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
611 | defer {
612 | value.deallocate()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:621:50: error: cannot find type 'RustBuffer' in scope
619 | }
620 |
621 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
622 | return value.utf8CString.withUnsafeBufferPointer { ptr in
623 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:606: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 |
:
604 | @_documentation(visibility: private)
605 | #endif
606 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:647: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 |
:
645 | @_documentation(visibility: private)
646 | #endif
647 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
648 | typealias SwiftType = Data
649 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:984:15: error: type 'FfiConverterTypeColumnConfig' 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
:
982 | @_documentation(visibility: private)
983 | #endif
984 | public struct FfiConverterTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
985 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ColumnConfig {
986 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1007:54: error: cannot find type 'RustBuffer' in scope
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public func FfiConverterTypeColumnConfig_lift(_ buf: RustBuffer) throws -> ColumnConfig {
| `- error: cannot find type 'RustBuffer' in scope
1008 | return try FfiConverterTypeColumnConfig.lift(buf)
1009 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1014:74: error: cannot find type 'RustBuffer' in scope
1012 | @_documentation(visibility: private)
1013 | #endif
1014 | public func FfiConverterTypeColumnConfig_lower(_ value: ColumnConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1015 | return FfiConverterTypeColumnConfig.lower(value)
1016 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1050:15: error: type 'FfiConverterTypeWriterConfig' 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
:
1048 | @_documentation(visibility: private)
1049 | #endif
1050 | public struct FfiConverterTypeWriterConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeWriterConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1051 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WriterConfig {
1052 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1077:54: error: cannot find type 'RustBuffer' in scope
1075 | @_documentation(visibility: private)
1076 | #endif
1077 | public func FfiConverterTypeWriterConfig_lift(_ buf: RustBuffer) throws -> WriterConfig {
| `- error: cannot find type 'RustBuffer' in scope
1078 | return try FfiConverterTypeWriterConfig.lift(buf)
1079 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1084:74: error: cannot find type 'RustBuffer' in scope
1082 | @_documentation(visibility: private)
1083 | #endif
1084 | public func FfiConverterTypeWriterConfig_lower(_ value: WriterConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1085 | return FfiConverterTypeWriterConfig.lower(value)
1086 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1140:15: error: type 'FfiConverterTypeColumnValue' 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 |
:
1138 | @_documentation(visibility: private)
1139 | #endif
1140 | public struct FfiConverterTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1141 | typealias SwiftType = ColumnValue
1142 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1296:53: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeColumnValue_lift(_ buf: RustBuffer) throws -> ColumnValue {
| `- error: cannot find type 'RustBuffer' in scope
1297 | return try FfiConverterTypeColumnValue.lift(buf)
1298 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1303:72: error: cannot find type 'RustBuffer' in scope
1301 | @_documentation(visibility: private)
1302 | #endif
1303 | public func FfiConverterTypeColumnValue_lower(_ value: ColumnValue) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1304 | return FfiConverterTypeColumnValue.lower(value)
1305 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1336:15: error: type 'FfiConverterTypeCompression' 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 |
:
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public struct FfiConverterTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1337 | typealias SwiftType = Compression
1338 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1400:53: error: cannot find type 'RustBuffer' in scope
1398 | @_documentation(visibility: private)
1399 | #endif
1400 | public func FfiConverterTypeCompression_lift(_ buf: RustBuffer) throws -> Compression {
| `- error: cannot find type 'RustBuffer' in scope
1401 | return try FfiConverterTypeCompression.lift(buf)
1402 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1407:72: error: cannot find type 'RustBuffer' in scope
1405 | @_documentation(visibility: private)
1406 | #endif
1407 | public func FfiConverterTypeCompression_lower(_ value: Compression) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1408 | return FfiConverterTypeCompression.lower(value)
1409 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1437:15: error: type 'FfiConverterTypeEncoding' 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 |
:
1435 | @_documentation(visibility: private)
1436 | #endif
1437 | public struct FfiConverterTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1438 | typealias SwiftType = Encoding
1439 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1495:50: error: cannot find type 'RustBuffer' in scope
1493 | @_documentation(visibility: private)
1494 | #endif
1495 | public func FfiConverterTypeEncoding_lift(_ buf: RustBuffer) throws -> Encoding {
| `- error: cannot find type 'RustBuffer' in scope
1496 | return try FfiConverterTypeEncoding.lift(buf)
1497 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1502:66: error: cannot find type 'RustBuffer' in scope
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | public func FfiConverterTypeEncoding_lower(_ value: Encoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1503 | return FfiConverterTypeEncoding.lower(value)
1504 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1548:15: error: type 'FfiConverterTypeFieldSchema' 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 |
:
1546 | @_documentation(visibility: private)
1547 | #endif
1548 | public struct FfiConverterTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1549 | typealias SwiftType = FieldSchema
1550 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1610:53: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFieldSchema_lift(_ buf: RustBuffer) throws -> FieldSchema {
| `- error: cannot find type 'RustBuffer' in scope
1611 | return try FfiConverterTypeFieldSchema.lift(buf)
1612 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1617:72: error: cannot find type 'RustBuffer' in scope
1615 | @_documentation(visibility: private)
1616 | #endif
1617 | public func FfiConverterTypeFieldSchema_lower(_ value: FieldSchema) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1618 | return FfiConverterTypeFieldSchema.lower(value)
1619 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1654:15: error: type 'FfiConverterTypeParquetError' 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 |
:
1652 | @_documentation(visibility: private)
1653 | #endif
1654 | public struct FfiConverterTypeParquetError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeParquetError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1655 | typealias SwiftType = ParquetError
1656 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1715:54: error: cannot find type 'RustBuffer' in scope
1713 | @_documentation(visibility: private)
1714 | #endif
1715 | public func FfiConverterTypeParquetError_lift(_ buf: RustBuffer) throws -> ParquetError {
| `- error: cannot find type 'RustBuffer' in scope
1716 | return try FfiConverterTypeParquetError.lift(buf)
1717 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1722:74: error: cannot find type 'RustBuffer' in scope
1720 | @_documentation(visibility: private)
1721 | #endif
1722 | public func FfiConverterTypeParquetError_lower(_ value: ParquetError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1723 | return FfiConverterTypeParquetError.lower(value)
1724 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1781:15: error: type 'FfiConverterTypePrimitiveType' 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 |
:
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public struct FfiConverterTypePrimitiveType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePrimitiveType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1782 | typealias SwiftType = PrimitiveType
1783 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1982:55: error: cannot find type 'RustBuffer' in scope
1980 | @_documentation(visibility: private)
1981 | #endif
1982 | public func FfiConverterTypePrimitiveType_lift(_ buf: RustBuffer) throws -> PrimitiveType {
| `- error: cannot find type 'RustBuffer' in scope
1983 | return try FfiConverterTypePrimitiveType.lift(buf)
1984 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1989:76: error: cannot find type 'RustBuffer' in scope
1987 | @_documentation(visibility: private)
1988 | #endif
1989 | public func FfiConverterTypePrimitiveType_lower(_ value: PrimitiveType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1990 | return FfiConverterTypePrimitiveType.lower(value)
1991 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1997: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 |
:
1995 | @_documentation(visibility: private)
1996 | #endif
1997 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1998 | typealias SwiftType = Bool?
1999 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2021:20: error: type 'FfiConverterOptionTypeCompression' 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 |
:
2019 | @_documentation(visibility: private)
2020 | #endif
2021 | fileprivate struct FfiConverterOptionTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2022 | typealias SwiftType = Compression?
2023 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2045:20: error: type 'FfiConverterOptionTypeEncoding' 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 FfiConverterOptionTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = Encoding?
2047 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2069:20: error: type 'FfiConverterOptionSequenceTypeColumnValue' 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 |
:
2067 | @_documentation(visibility: private)
2068 | #endif
2069 | fileprivate struct FfiConverterOptionSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2070 | typealias SwiftType = [ColumnValue]?
2071 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2093:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2091 | @_documentation(visibility: private)
2092 | #endif
2093 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2094 | typealias SwiftType = [String]
2095 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2118:20: error: type 'FfiConverterSequenceTypeColumnConfig' 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 |
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | fileprivate struct FfiConverterSequenceTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | typealias SwiftType = [ColumnConfig]
2120 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2143:20: error: type 'FfiConverterSequenceTypeColumnValue' 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 |
:
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | fileprivate struct FfiConverterSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2144 | typealias SwiftType = [ColumnValue]
2145 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2168:20: error: type 'FfiConverterSequenceTypeFieldSchema' 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 |
:
2166 | @_documentation(visibility: private)
2167 | #endif
2168 | fileprivate struct FfiConverterSequenceTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2169 | typealias SwiftType = [FieldSchema]
2170 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2201:40: error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2199 | let bindings_contract_version = 30
2200 | // Get the scaffolding contract version by calling the into the dylib
2201 | let scaffolding_contract_version = ffi_parquetkit_driver_uniffi_contract_version()
| `- error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2202 | if bindings_contract_version != scaffolding_contract_version {
2203 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2205:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2203 | return InitializationResult.contractVersionMismatch
2204 | }
2205 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_close() != 10175) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2208:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_read_row() != 34049) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2211:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_schema() != 61691) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2214:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_append_row() != 24053) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2217:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_close() != 16779) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2220:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new() != 12290) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2223:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected() != 48764) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2226:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_parquetkit_driver_checksum_constructor_writerhandle_new() != 26774) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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 | uniffiEnsureParquetkitDriverInitialized()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:608:25: error: cannot find type 'RustBuffer' in scope
606 | fileprivate struct FfiConverterString: FfiConverter {
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:610:38: error: cannot find type 'RustBuffer' in scope
608 | typealias FfiType = RustBuffer
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
611 | defer {
612 | value.deallocate()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:621:50: error: cannot find type 'RustBuffer' in scope
619 | }
620 |
621 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
622 | return value.utf8CString.withUnsafeBufferPointer { ptr in
623 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:606: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 |
:
604 | @_documentation(visibility: private)
605 | #endif
606 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:647: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 |
:
645 | @_documentation(visibility: private)
646 | #endif
647 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
648 | typealias SwiftType = Data
649 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:984:15: error: type 'FfiConverterTypeColumnConfig' 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
:
982 | @_documentation(visibility: private)
983 | #endif
984 | public struct FfiConverterTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
985 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ColumnConfig {
986 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1007:54: error: cannot find type 'RustBuffer' in scope
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public func FfiConverterTypeColumnConfig_lift(_ buf: RustBuffer) throws -> ColumnConfig {
| `- error: cannot find type 'RustBuffer' in scope
1008 | return try FfiConverterTypeColumnConfig.lift(buf)
1009 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1014:74: error: cannot find type 'RustBuffer' in scope
1012 | @_documentation(visibility: private)
1013 | #endif
1014 | public func FfiConverterTypeColumnConfig_lower(_ value: ColumnConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1015 | return FfiConverterTypeColumnConfig.lower(value)
1016 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1050:15: error: type 'FfiConverterTypeWriterConfig' 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
:
1048 | @_documentation(visibility: private)
1049 | #endif
1050 | public struct FfiConverterTypeWriterConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeWriterConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1051 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WriterConfig {
1052 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1077:54: error: cannot find type 'RustBuffer' in scope
1075 | @_documentation(visibility: private)
1076 | #endif
1077 | public func FfiConverterTypeWriterConfig_lift(_ buf: RustBuffer) throws -> WriterConfig {
| `- error: cannot find type 'RustBuffer' in scope
1078 | return try FfiConverterTypeWriterConfig.lift(buf)
1079 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1084:74: error: cannot find type 'RustBuffer' in scope
1082 | @_documentation(visibility: private)
1083 | #endif
1084 | public func FfiConverterTypeWriterConfig_lower(_ value: WriterConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1085 | return FfiConverterTypeWriterConfig.lower(value)
1086 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1140:15: error: type 'FfiConverterTypeColumnValue' 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 |
:
1138 | @_documentation(visibility: private)
1139 | #endif
1140 | public struct FfiConverterTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1141 | typealias SwiftType = ColumnValue
1142 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1296:53: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeColumnValue_lift(_ buf: RustBuffer) throws -> ColumnValue {
| `- error: cannot find type 'RustBuffer' in scope
1297 | return try FfiConverterTypeColumnValue.lift(buf)
1298 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1303:72: error: cannot find type 'RustBuffer' in scope
1301 | @_documentation(visibility: private)
1302 | #endif
1303 | public func FfiConverterTypeColumnValue_lower(_ value: ColumnValue) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1304 | return FfiConverterTypeColumnValue.lower(value)
1305 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1336:15: error: type 'FfiConverterTypeCompression' 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 |
:
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public struct FfiConverterTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1337 | typealias SwiftType = Compression
1338 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1400:53: error: cannot find type 'RustBuffer' in scope
1398 | @_documentation(visibility: private)
1399 | #endif
1400 | public func FfiConverterTypeCompression_lift(_ buf: RustBuffer) throws -> Compression {
| `- error: cannot find type 'RustBuffer' in scope
1401 | return try FfiConverterTypeCompression.lift(buf)
1402 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1407:72: error: cannot find type 'RustBuffer' in scope
1405 | @_documentation(visibility: private)
1406 | #endif
1407 | public func FfiConverterTypeCompression_lower(_ value: Compression) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1408 | return FfiConverterTypeCompression.lower(value)
1409 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1437:15: error: type 'FfiConverterTypeEncoding' 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 |
:
1435 | @_documentation(visibility: private)
1436 | #endif
1437 | public struct FfiConverterTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1438 | typealias SwiftType = Encoding
1439 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1495:50: error: cannot find type 'RustBuffer' in scope
1493 | @_documentation(visibility: private)
1494 | #endif
1495 | public func FfiConverterTypeEncoding_lift(_ buf: RustBuffer) throws -> Encoding {
| `- error: cannot find type 'RustBuffer' in scope
1496 | return try FfiConverterTypeEncoding.lift(buf)
1497 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1502:66: error: cannot find type 'RustBuffer' in scope
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | public func FfiConverterTypeEncoding_lower(_ value: Encoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1503 | return FfiConverterTypeEncoding.lower(value)
1504 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1548:15: error: type 'FfiConverterTypeFieldSchema' 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 |
:
1546 | @_documentation(visibility: private)
1547 | #endif
1548 | public struct FfiConverterTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1549 | typealias SwiftType = FieldSchema
1550 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1610:53: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFieldSchema_lift(_ buf: RustBuffer) throws -> FieldSchema {
| `- error: cannot find type 'RustBuffer' in scope
1611 | return try FfiConverterTypeFieldSchema.lift(buf)
1612 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1617:72: error: cannot find type 'RustBuffer' in scope
1615 | @_documentation(visibility: private)
1616 | #endif
1617 | public func FfiConverterTypeFieldSchema_lower(_ value: FieldSchema) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1618 | return FfiConverterTypeFieldSchema.lower(value)
1619 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1654:15: error: type 'FfiConverterTypeParquetError' 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 |
:
1652 | @_documentation(visibility: private)
1653 | #endif
1654 | public struct FfiConverterTypeParquetError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeParquetError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1655 | typealias SwiftType = ParquetError
1656 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1715:54: error: cannot find type 'RustBuffer' in scope
1713 | @_documentation(visibility: private)
1714 | #endif
1715 | public func FfiConverterTypeParquetError_lift(_ buf: RustBuffer) throws -> ParquetError {
| `- error: cannot find type 'RustBuffer' in scope
1716 | return try FfiConverterTypeParquetError.lift(buf)
1717 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1722:74: error: cannot find type 'RustBuffer' in scope
1720 | @_documentation(visibility: private)
1721 | #endif
1722 | public func FfiConverterTypeParquetError_lower(_ value: ParquetError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1723 | return FfiConverterTypeParquetError.lower(value)
1724 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1781:15: error: type 'FfiConverterTypePrimitiveType' 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 |
:
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public struct FfiConverterTypePrimitiveType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePrimitiveType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1782 | typealias SwiftType = PrimitiveType
1783 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1982:55: error: cannot find type 'RustBuffer' in scope
1980 | @_documentation(visibility: private)
1981 | #endif
1982 | public func FfiConverterTypePrimitiveType_lift(_ buf: RustBuffer) throws -> PrimitiveType {
| `- error: cannot find type 'RustBuffer' in scope
1983 | return try FfiConverterTypePrimitiveType.lift(buf)
1984 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1989:76: error: cannot find type 'RustBuffer' in scope
1987 | @_documentation(visibility: private)
1988 | #endif
1989 | public func FfiConverterTypePrimitiveType_lower(_ value: PrimitiveType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1990 | return FfiConverterTypePrimitiveType.lower(value)
1991 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1997: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 |
:
1995 | @_documentation(visibility: private)
1996 | #endif
1997 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1998 | typealias SwiftType = Bool?
1999 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2021:20: error: type 'FfiConverterOptionTypeCompression' 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 |
:
2019 | @_documentation(visibility: private)
2020 | #endif
2021 | fileprivate struct FfiConverterOptionTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2022 | typealias SwiftType = Compression?
2023 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2045:20: error: type 'FfiConverterOptionTypeEncoding' 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 FfiConverterOptionTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = Encoding?
2047 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2069:20: error: type 'FfiConverterOptionSequenceTypeColumnValue' 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 |
:
2067 | @_documentation(visibility: private)
2068 | #endif
2069 | fileprivate struct FfiConverterOptionSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2070 | typealias SwiftType = [ColumnValue]?
2071 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2093:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2091 | @_documentation(visibility: private)
2092 | #endif
2093 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2094 | typealias SwiftType = [String]
2095 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2118:20: error: type 'FfiConverterSequenceTypeColumnConfig' 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 |
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | fileprivate struct FfiConverterSequenceTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | typealias SwiftType = [ColumnConfig]
2120 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2143:20: error: type 'FfiConverterSequenceTypeColumnValue' 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 |
:
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | fileprivate struct FfiConverterSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2144 | typealias SwiftType = [ColumnValue]
2145 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2168:20: error: type 'FfiConverterSequenceTypeFieldSchema' 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 |
:
2166 | @_documentation(visibility: private)
2167 | #endif
2168 | fileprivate struct FfiConverterSequenceTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2169 | typealias SwiftType = [FieldSchema]
2170 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2201:40: error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2199 | let bindings_contract_version = 30
2200 | // Get the scaffolding contract version by calling the into the dylib
2201 | let scaffolding_contract_version = ffi_parquetkit_driver_uniffi_contract_version()
| `- error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2202 | if bindings_contract_version != scaffolding_contract_version {
2203 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2205:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2203 | return InitializationResult.contractVersionMismatch
2204 | }
2205 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_close() != 10175) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2208:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_read_row() != 34049) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2211:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_schema() != 61691) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2214:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_append_row() != 24053) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2217:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_close() != 16779) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2220:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new() != 12290) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2223:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected() != 48764) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2226:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_parquetkit_driver_checksum_constructor_writerhandle_new() != 26774) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureParquetkitDriverInitialized()
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/ParquetKitFFI/ParquetKitFFI.swift:711:32: error: cannot find 'uniffi_parquetkit_driver_fn_clone_readerhandle' in scope
709 | #endif
710 | public func uniffiCloneHandle() -> UInt64 {
711 | return try! rustCall { uniffi_parquetkit_driver_fn_clone_readerhandle(self.handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_clone_readerhandle' in scope
712 | }
713 | public convenience init(path: String)throws {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:716:5: error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new' in scope
714 | let handle =
715 | try rustCallWithError(FfiConverterTypeParquetError_lift) {
716 | uniffi_parquetkit_driver_fn_constructor_readerhandle_new(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new' in scope
717 | FfiConverterString.lower(path),$0
718 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:729:25: error: cannot find 'uniffi_parquetkit_driver_fn_free_readerhandle' in scope
727 | }
728 |
729 | try! rustCall { uniffi_parquetkit_driver_fn_free_readerhandle(handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_free_readerhandle' in scope
730 | }
731 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:742:5: error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new_projected' in scope
740 | public static func newProjected(path: String, columns: [String])throws -> ReaderHandle {
741 | return try FfiConverterTypeReaderHandle_lift(try rustCallWithError(FfiConverterTypeParquetError_lift) {
742 | uniffi_parquetkit_driver_fn_constructor_readerhandle_new_projected(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new_projected' in scope
743 | FfiConverterString.lower(path),
744 | FfiConverterSequenceString.lower(columns),$0
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:752:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_close' in scope
750 |
751 | open func close() {try! rustCall() {
752 | uniffi_parquetkit_driver_fn_method_readerhandle_close(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_close' in scope
753 | self.uniffiCloneHandle(),$0
754 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:760:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_read_row' in scope
758 | open func readRow()throws -> [ColumnValue]? {
759 | return try FfiConverterOptionSequenceTypeColumnValue.lift(try rustCallWithError(FfiConverterTypeParquetError_lift) {
760 | uniffi_parquetkit_driver_fn_method_readerhandle_read_row(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_read_row' in scope
761 | self.uniffiCloneHandle(),$0
762 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:768:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_schema' in scope
766 | open func schema()throws -> [FieldSchema] {
767 | return try FfiConverterSequenceTypeFieldSchema.lift(try rustCallWithError(FfiConverterTypeParquetError_lift) {
768 | uniffi_parquetkit_driver_fn_method_readerhandle_schema(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_schema' in scope
769 | self.uniffiCloneHandle(),$0
770 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:868:32: error: cannot find 'uniffi_parquetkit_driver_fn_clone_writerhandle' in scope
866 | #endif
867 | public func uniffiCloneHandle() -> UInt64 {
868 | return try! rustCall { uniffi_parquetkit_driver_fn_clone_writerhandle(self.handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_clone_writerhandle' in scope
869 | }
870 | public convenience init(path: String, schema: [FieldSchema], config: WriterConfig)throws {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:873:5: error: cannot find 'uniffi_parquetkit_driver_fn_constructor_writerhandle_new' in scope
871 | let handle =
872 | try rustCallWithError(FfiConverterTypeParquetError_lift) {
873 | uniffi_parquetkit_driver_fn_constructor_writerhandle_new(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_constructor_writerhandle_new' in scope
874 | FfiConverterString.lower(path),
875 | FfiConverterSequenceTypeFieldSchema.lower(schema),
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:888:25: error: cannot find 'uniffi_parquetkit_driver_fn_free_writerhandle' in scope
886 | }
887 |
888 | try! rustCall { uniffi_parquetkit_driver_fn_free_writerhandle(handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_free_writerhandle' in scope
889 | }
890 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:895:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_append_row' in scope
893 |
894 | open func appendRow(values: [ColumnValue])throws {try rustCallWithError(FfiConverterTypeParquetError_lift) {
895 | uniffi_parquetkit_driver_fn_method_writerhandle_append_row(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_append_row' in scope
896 | self.uniffiCloneHandle(),
897 | FfiConverterSequenceTypeColumnValue.lower(values),$0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/74] Write swift-version-24593BA9C3E375BF.txt
[4/90] Compiling SwiftSyntax510 Empty.swift
[5/90] Emitting module SwiftSyntax510
[6/91] Compiling SwiftSyntax509 Empty.swift
[8/91] Emitting module SwiftSyntax509
[9/91] Compiling SwiftSyntax601 Empty.swift
[10/91] Compiling SwiftSyntax603 Empty.swift
[11/91] Emitting module SwiftSyntax603
[12/92] Compiling SwiftSyntax600 Empty.swift
[14/92] Emitting module SwiftSyntax602
[15/92] Compiling SwiftSyntax602 Empty.swift
[16/93] Emitting module SwiftSyntax601
[17/94] Emitting module SwiftSyntax600
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/144] Emitting module ParquetKitFFI
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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 | uniffiEnsureParquetkitDriverInitialized()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:608:25: error: cannot find type 'RustBuffer' in scope
606 | fileprivate struct FfiConverterString: FfiConverter {
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:610:38: error: cannot find type 'RustBuffer' in scope
608 | typealias FfiType = RustBuffer
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
611 | defer {
612 | value.deallocate()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:621:50: error: cannot find type 'RustBuffer' in scope
619 | }
620 |
621 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
622 | return value.utf8CString.withUnsafeBufferPointer { ptr in
623 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:606: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 |
:
604 | @_documentation(visibility: private)
605 | #endif
606 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:647: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 |
:
645 | @_documentation(visibility: private)
646 | #endif
647 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
648 | typealias SwiftType = Data
649 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:984:15: error: type 'FfiConverterTypeColumnConfig' 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
:
982 | @_documentation(visibility: private)
983 | #endif
984 | public struct FfiConverterTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
985 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ColumnConfig {
986 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1007:54: error: cannot find type 'RustBuffer' in scope
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public func FfiConverterTypeColumnConfig_lift(_ buf: RustBuffer) throws -> ColumnConfig {
| `- error: cannot find type 'RustBuffer' in scope
1008 | return try FfiConverterTypeColumnConfig.lift(buf)
1009 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1014:74: error: cannot find type 'RustBuffer' in scope
1012 | @_documentation(visibility: private)
1013 | #endif
1014 | public func FfiConverterTypeColumnConfig_lower(_ value: ColumnConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1015 | return FfiConverterTypeColumnConfig.lower(value)
1016 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1050:15: error: type 'FfiConverterTypeWriterConfig' 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
:
1048 | @_documentation(visibility: private)
1049 | #endif
1050 | public struct FfiConverterTypeWriterConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeWriterConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1051 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WriterConfig {
1052 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1077:54: error: cannot find type 'RustBuffer' in scope
1075 | @_documentation(visibility: private)
1076 | #endif
1077 | public func FfiConverterTypeWriterConfig_lift(_ buf: RustBuffer) throws -> WriterConfig {
| `- error: cannot find type 'RustBuffer' in scope
1078 | return try FfiConverterTypeWriterConfig.lift(buf)
1079 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1084:74: error: cannot find type 'RustBuffer' in scope
1082 | @_documentation(visibility: private)
1083 | #endif
1084 | public func FfiConverterTypeWriterConfig_lower(_ value: WriterConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1085 | return FfiConverterTypeWriterConfig.lower(value)
1086 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1140:15: error: type 'FfiConverterTypeColumnValue' 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 |
:
1138 | @_documentation(visibility: private)
1139 | #endif
1140 | public struct FfiConverterTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1141 | typealias SwiftType = ColumnValue
1142 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1296:53: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeColumnValue_lift(_ buf: RustBuffer) throws -> ColumnValue {
| `- error: cannot find type 'RustBuffer' in scope
1297 | return try FfiConverterTypeColumnValue.lift(buf)
1298 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1303:72: error: cannot find type 'RustBuffer' in scope
1301 | @_documentation(visibility: private)
1302 | #endif
1303 | public func FfiConverterTypeColumnValue_lower(_ value: ColumnValue) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1304 | return FfiConverterTypeColumnValue.lower(value)
1305 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1336:15: error: type 'FfiConverterTypeCompression' 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 |
:
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public struct FfiConverterTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1337 | typealias SwiftType = Compression
1338 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1400:53: error: cannot find type 'RustBuffer' in scope
1398 | @_documentation(visibility: private)
1399 | #endif
1400 | public func FfiConverterTypeCompression_lift(_ buf: RustBuffer) throws -> Compression {
| `- error: cannot find type 'RustBuffer' in scope
1401 | return try FfiConverterTypeCompression.lift(buf)
1402 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1407:72: error: cannot find type 'RustBuffer' in scope
1405 | @_documentation(visibility: private)
1406 | #endif
1407 | public func FfiConverterTypeCompression_lower(_ value: Compression) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1408 | return FfiConverterTypeCompression.lower(value)
1409 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1437:15: error: type 'FfiConverterTypeEncoding' 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 |
:
1435 | @_documentation(visibility: private)
1436 | #endif
1437 | public struct FfiConverterTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1438 | typealias SwiftType = Encoding
1439 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1495:50: error: cannot find type 'RustBuffer' in scope
1493 | @_documentation(visibility: private)
1494 | #endif
1495 | public func FfiConverterTypeEncoding_lift(_ buf: RustBuffer) throws -> Encoding {
| `- error: cannot find type 'RustBuffer' in scope
1496 | return try FfiConverterTypeEncoding.lift(buf)
1497 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1502:66: error: cannot find type 'RustBuffer' in scope
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | public func FfiConverterTypeEncoding_lower(_ value: Encoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1503 | return FfiConverterTypeEncoding.lower(value)
1504 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1548:15: error: type 'FfiConverterTypeFieldSchema' 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 |
:
1546 | @_documentation(visibility: private)
1547 | #endif
1548 | public struct FfiConverterTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1549 | typealias SwiftType = FieldSchema
1550 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1610:53: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFieldSchema_lift(_ buf: RustBuffer) throws -> FieldSchema {
| `- error: cannot find type 'RustBuffer' in scope
1611 | return try FfiConverterTypeFieldSchema.lift(buf)
1612 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1617:72: error: cannot find type 'RustBuffer' in scope
1615 | @_documentation(visibility: private)
1616 | #endif
1617 | public func FfiConverterTypeFieldSchema_lower(_ value: FieldSchema) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1618 | return FfiConverterTypeFieldSchema.lower(value)
1619 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1654:15: error: type 'FfiConverterTypeParquetError' 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 |
:
1652 | @_documentation(visibility: private)
1653 | #endif
1654 | public struct FfiConverterTypeParquetError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeParquetError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1655 | typealias SwiftType = ParquetError
1656 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1715:54: error: cannot find type 'RustBuffer' in scope
1713 | @_documentation(visibility: private)
1714 | #endif
1715 | public func FfiConverterTypeParquetError_lift(_ buf: RustBuffer) throws -> ParquetError {
| `- error: cannot find type 'RustBuffer' in scope
1716 | return try FfiConverterTypeParquetError.lift(buf)
1717 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1722:74: error: cannot find type 'RustBuffer' in scope
1720 | @_documentation(visibility: private)
1721 | #endif
1722 | public func FfiConverterTypeParquetError_lower(_ value: ParquetError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1723 | return FfiConverterTypeParquetError.lower(value)
1724 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1781:15: error: type 'FfiConverterTypePrimitiveType' 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 |
:
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public struct FfiConverterTypePrimitiveType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePrimitiveType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1782 | typealias SwiftType = PrimitiveType
1783 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1982:55: error: cannot find type 'RustBuffer' in scope
1980 | @_documentation(visibility: private)
1981 | #endif
1982 | public func FfiConverterTypePrimitiveType_lift(_ buf: RustBuffer) throws -> PrimitiveType {
| `- error: cannot find type 'RustBuffer' in scope
1983 | return try FfiConverterTypePrimitiveType.lift(buf)
1984 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1989:76: error: cannot find type 'RustBuffer' in scope
1987 | @_documentation(visibility: private)
1988 | #endif
1989 | public func FfiConverterTypePrimitiveType_lower(_ value: PrimitiveType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1990 | return FfiConverterTypePrimitiveType.lower(value)
1991 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1997: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 |
:
1995 | @_documentation(visibility: private)
1996 | #endif
1997 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1998 | typealias SwiftType = Bool?
1999 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2021:20: error: type 'FfiConverterOptionTypeCompression' 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 |
:
2019 | @_documentation(visibility: private)
2020 | #endif
2021 | fileprivate struct FfiConverterOptionTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2022 | typealias SwiftType = Compression?
2023 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2045:20: error: type 'FfiConverterOptionTypeEncoding' 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 FfiConverterOptionTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = Encoding?
2047 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2069:20: error: type 'FfiConverterOptionSequenceTypeColumnValue' 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 |
:
2067 | @_documentation(visibility: private)
2068 | #endif
2069 | fileprivate struct FfiConverterOptionSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2070 | typealias SwiftType = [ColumnValue]?
2071 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2093:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2091 | @_documentation(visibility: private)
2092 | #endif
2093 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2094 | typealias SwiftType = [String]
2095 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2118:20: error: type 'FfiConverterSequenceTypeColumnConfig' 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 |
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | fileprivate struct FfiConverterSequenceTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | typealias SwiftType = [ColumnConfig]
2120 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2143:20: error: type 'FfiConverterSequenceTypeColumnValue' 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 |
:
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | fileprivate struct FfiConverterSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2144 | typealias SwiftType = [ColumnValue]
2145 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2168:20: error: type 'FfiConverterSequenceTypeFieldSchema' 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 |
:
2166 | @_documentation(visibility: private)
2167 | #endif
2168 | fileprivate struct FfiConverterSequenceTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2169 | typealias SwiftType = [FieldSchema]
2170 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2201:40: error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2199 | let bindings_contract_version = 30
2200 | // Get the scaffolding contract version by calling the into the dylib
2201 | let scaffolding_contract_version = ffi_parquetkit_driver_uniffi_contract_version()
| `- error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2202 | if bindings_contract_version != scaffolding_contract_version {
2203 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2205:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2203 | return InitializationResult.contractVersionMismatch
2204 | }
2205 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_close() != 10175) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2208:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_read_row() != 34049) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2211:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_schema() != 61691) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2214:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_append_row() != 24053) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2217:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_close() != 16779) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2220:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new() != 12290) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2223:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected() != 48764) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2226:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_parquetkit_driver_checksum_constructor_writerhandle_new() != 26774) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
[23/144] Compiling ParquetKitFFI ParquetKitFFI.swift
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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 | uniffiEnsureParquetkitDriverInitialized()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:608:25: error: cannot find type 'RustBuffer' in scope
606 | fileprivate struct FfiConverterString: FfiConverter {
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:610:38: error: cannot find type 'RustBuffer' in scope
608 | typealias FfiType = RustBuffer
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
611 | defer {
612 | value.deallocate()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:621:50: error: cannot find type 'RustBuffer' in scope
619 | }
620 |
621 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
622 | return value.utf8CString.withUnsafeBufferPointer { ptr in
623 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:606: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 |
:
604 | @_documentation(visibility: private)
605 | #endif
606 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:647: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 |
:
645 | @_documentation(visibility: private)
646 | #endif
647 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
648 | typealias SwiftType = Data
649 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:984:15: error: type 'FfiConverterTypeColumnConfig' 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
:
982 | @_documentation(visibility: private)
983 | #endif
984 | public struct FfiConverterTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
985 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ColumnConfig {
986 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1007:54: error: cannot find type 'RustBuffer' in scope
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public func FfiConverterTypeColumnConfig_lift(_ buf: RustBuffer) throws -> ColumnConfig {
| `- error: cannot find type 'RustBuffer' in scope
1008 | return try FfiConverterTypeColumnConfig.lift(buf)
1009 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1014:74: error: cannot find type 'RustBuffer' in scope
1012 | @_documentation(visibility: private)
1013 | #endif
1014 | public func FfiConverterTypeColumnConfig_lower(_ value: ColumnConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1015 | return FfiConverterTypeColumnConfig.lower(value)
1016 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1050:15: error: type 'FfiConverterTypeWriterConfig' 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
:
1048 | @_documentation(visibility: private)
1049 | #endif
1050 | public struct FfiConverterTypeWriterConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeWriterConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1051 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WriterConfig {
1052 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1077:54: error: cannot find type 'RustBuffer' in scope
1075 | @_documentation(visibility: private)
1076 | #endif
1077 | public func FfiConverterTypeWriterConfig_lift(_ buf: RustBuffer) throws -> WriterConfig {
| `- error: cannot find type 'RustBuffer' in scope
1078 | return try FfiConverterTypeWriterConfig.lift(buf)
1079 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1084:74: error: cannot find type 'RustBuffer' in scope
1082 | @_documentation(visibility: private)
1083 | #endif
1084 | public func FfiConverterTypeWriterConfig_lower(_ value: WriterConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1085 | return FfiConverterTypeWriterConfig.lower(value)
1086 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1140:15: error: type 'FfiConverterTypeColumnValue' 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 |
:
1138 | @_documentation(visibility: private)
1139 | #endif
1140 | public struct FfiConverterTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1141 | typealias SwiftType = ColumnValue
1142 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1296:53: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeColumnValue_lift(_ buf: RustBuffer) throws -> ColumnValue {
| `- error: cannot find type 'RustBuffer' in scope
1297 | return try FfiConverterTypeColumnValue.lift(buf)
1298 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1303:72: error: cannot find type 'RustBuffer' in scope
1301 | @_documentation(visibility: private)
1302 | #endif
1303 | public func FfiConverterTypeColumnValue_lower(_ value: ColumnValue) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1304 | return FfiConverterTypeColumnValue.lower(value)
1305 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1336:15: error: type 'FfiConverterTypeCompression' 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 |
:
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public struct FfiConverterTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1337 | typealias SwiftType = Compression
1338 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1400:53: error: cannot find type 'RustBuffer' in scope
1398 | @_documentation(visibility: private)
1399 | #endif
1400 | public func FfiConverterTypeCompression_lift(_ buf: RustBuffer) throws -> Compression {
| `- error: cannot find type 'RustBuffer' in scope
1401 | return try FfiConverterTypeCompression.lift(buf)
1402 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1407:72: error: cannot find type 'RustBuffer' in scope
1405 | @_documentation(visibility: private)
1406 | #endif
1407 | public func FfiConverterTypeCompression_lower(_ value: Compression) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1408 | return FfiConverterTypeCompression.lower(value)
1409 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1437:15: error: type 'FfiConverterTypeEncoding' 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 |
:
1435 | @_documentation(visibility: private)
1436 | #endif
1437 | public struct FfiConverterTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1438 | typealias SwiftType = Encoding
1439 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1495:50: error: cannot find type 'RustBuffer' in scope
1493 | @_documentation(visibility: private)
1494 | #endif
1495 | public func FfiConverterTypeEncoding_lift(_ buf: RustBuffer) throws -> Encoding {
| `- error: cannot find type 'RustBuffer' in scope
1496 | return try FfiConverterTypeEncoding.lift(buf)
1497 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1502:66: error: cannot find type 'RustBuffer' in scope
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | public func FfiConverterTypeEncoding_lower(_ value: Encoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1503 | return FfiConverterTypeEncoding.lower(value)
1504 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1548:15: error: type 'FfiConverterTypeFieldSchema' 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 |
:
1546 | @_documentation(visibility: private)
1547 | #endif
1548 | public struct FfiConverterTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1549 | typealias SwiftType = FieldSchema
1550 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1610:53: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFieldSchema_lift(_ buf: RustBuffer) throws -> FieldSchema {
| `- error: cannot find type 'RustBuffer' in scope
1611 | return try FfiConverterTypeFieldSchema.lift(buf)
1612 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1617:72: error: cannot find type 'RustBuffer' in scope
1615 | @_documentation(visibility: private)
1616 | #endif
1617 | public func FfiConverterTypeFieldSchema_lower(_ value: FieldSchema) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1618 | return FfiConverterTypeFieldSchema.lower(value)
1619 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1654:15: error: type 'FfiConverterTypeParquetError' 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 |
:
1652 | @_documentation(visibility: private)
1653 | #endif
1654 | public struct FfiConverterTypeParquetError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeParquetError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1655 | typealias SwiftType = ParquetError
1656 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1715:54: error: cannot find type 'RustBuffer' in scope
1713 | @_documentation(visibility: private)
1714 | #endif
1715 | public func FfiConverterTypeParquetError_lift(_ buf: RustBuffer) throws -> ParquetError {
| `- error: cannot find type 'RustBuffer' in scope
1716 | return try FfiConverterTypeParquetError.lift(buf)
1717 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1722:74: error: cannot find type 'RustBuffer' in scope
1720 | @_documentation(visibility: private)
1721 | #endif
1722 | public func FfiConverterTypeParquetError_lower(_ value: ParquetError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1723 | return FfiConverterTypeParquetError.lower(value)
1724 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1781:15: error: type 'FfiConverterTypePrimitiveType' 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 |
:
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public struct FfiConverterTypePrimitiveType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePrimitiveType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1782 | typealias SwiftType = PrimitiveType
1783 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1982:55: error: cannot find type 'RustBuffer' in scope
1980 | @_documentation(visibility: private)
1981 | #endif
1982 | public func FfiConverterTypePrimitiveType_lift(_ buf: RustBuffer) throws -> PrimitiveType {
| `- error: cannot find type 'RustBuffer' in scope
1983 | return try FfiConverterTypePrimitiveType.lift(buf)
1984 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1989:76: error: cannot find type 'RustBuffer' in scope
1987 | @_documentation(visibility: private)
1988 | #endif
1989 | public func FfiConverterTypePrimitiveType_lower(_ value: PrimitiveType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1990 | return FfiConverterTypePrimitiveType.lower(value)
1991 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1997: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 |
:
1995 | @_documentation(visibility: private)
1996 | #endif
1997 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1998 | typealias SwiftType = Bool?
1999 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2021:20: error: type 'FfiConverterOptionTypeCompression' 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 |
:
2019 | @_documentation(visibility: private)
2020 | #endif
2021 | fileprivate struct FfiConverterOptionTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2022 | typealias SwiftType = Compression?
2023 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2045:20: error: type 'FfiConverterOptionTypeEncoding' 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 FfiConverterOptionTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = Encoding?
2047 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2069:20: error: type 'FfiConverterOptionSequenceTypeColumnValue' 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 |
:
2067 | @_documentation(visibility: private)
2068 | #endif
2069 | fileprivate struct FfiConverterOptionSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2070 | typealias SwiftType = [ColumnValue]?
2071 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2093:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2091 | @_documentation(visibility: private)
2092 | #endif
2093 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2094 | typealias SwiftType = [String]
2095 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2118:20: error: type 'FfiConverterSequenceTypeColumnConfig' 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 |
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | fileprivate struct FfiConverterSequenceTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | typealias SwiftType = [ColumnConfig]
2120 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2143:20: error: type 'FfiConverterSequenceTypeColumnValue' 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 |
:
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | fileprivate struct FfiConverterSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2144 | typealias SwiftType = [ColumnValue]
2145 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2168:20: error: type 'FfiConverterSequenceTypeFieldSchema' 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 |
:
2166 | @_documentation(visibility: private)
2167 | #endif
2168 | fileprivate struct FfiConverterSequenceTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2169 | typealias SwiftType = [FieldSchema]
2170 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2201:40: error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2199 | let bindings_contract_version = 30
2200 | // Get the scaffolding contract version by calling the into the dylib
2201 | let scaffolding_contract_version = ffi_parquetkit_driver_uniffi_contract_version()
| `- error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2202 | if bindings_contract_version != scaffolding_contract_version {
2203 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2205:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2203 | return InitializationResult.contractVersionMismatch
2204 | }
2205 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_close() != 10175) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2208:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_read_row() != 34049) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2211:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_schema() != 61691) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2214:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_append_row() != 24053) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2217:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_close() != 16779) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2220:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new() != 12290) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2223:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected() != 48764) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2226:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_parquetkit_driver_checksum_constructor_writerhandle_new() != 26774) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureParquetkitDriverInitialized()
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/ParquetKitFFI/ParquetKitFFI.swift:711:32: error: cannot find 'uniffi_parquetkit_driver_fn_clone_readerhandle' in scope
709 | #endif
710 | public func uniffiCloneHandle() -> UInt64 {
711 | return try! rustCall { uniffi_parquetkit_driver_fn_clone_readerhandle(self.handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_clone_readerhandle' in scope
712 | }
713 | public convenience init(path: String)throws {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:716:5: error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new' in scope
714 | let handle =
715 | try rustCallWithError(FfiConverterTypeParquetError_lift) {
716 | uniffi_parquetkit_driver_fn_constructor_readerhandle_new(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new' in scope
717 | FfiConverterString.lower(path),$0
718 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:729:25: error: cannot find 'uniffi_parquetkit_driver_fn_free_readerhandle' in scope
727 | }
728 |
729 | try! rustCall { uniffi_parquetkit_driver_fn_free_readerhandle(handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_free_readerhandle' in scope
730 | }
731 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:742:5: error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new_projected' in scope
740 | public static func newProjected(path: String, columns: [String])throws -> ReaderHandle {
741 | return try FfiConverterTypeReaderHandle_lift(try rustCallWithError(FfiConverterTypeParquetError_lift) {
742 | uniffi_parquetkit_driver_fn_constructor_readerhandle_new_projected(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_constructor_readerhandle_new_projected' in scope
743 | FfiConverterString.lower(path),
744 | FfiConverterSequenceString.lower(columns),$0
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:752:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_close' in scope
750 |
751 | open func close() {try! rustCall() {
752 | uniffi_parquetkit_driver_fn_method_readerhandle_close(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_close' in scope
753 | self.uniffiCloneHandle(),$0
754 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:760:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_read_row' in scope
758 | open func readRow()throws -> [ColumnValue]? {
759 | return try FfiConverterOptionSequenceTypeColumnValue.lift(try rustCallWithError(FfiConverterTypeParquetError_lift) {
760 | uniffi_parquetkit_driver_fn_method_readerhandle_read_row(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_read_row' in scope
761 | self.uniffiCloneHandle(),$0
762 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:768:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_schema' in scope
766 | open func schema()throws -> [FieldSchema] {
767 | return try FfiConverterSequenceTypeFieldSchema.lift(try rustCallWithError(FfiConverterTypeParquetError_lift) {
768 | uniffi_parquetkit_driver_fn_method_readerhandle_schema(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_readerhandle_schema' in scope
769 | self.uniffiCloneHandle(),$0
770 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:868:32: error: cannot find 'uniffi_parquetkit_driver_fn_clone_writerhandle' in scope
866 | #endif
867 | public func uniffiCloneHandle() -> UInt64 {
868 | return try! rustCall { uniffi_parquetkit_driver_fn_clone_writerhandle(self.handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_clone_writerhandle' in scope
869 | }
870 | public convenience init(path: String, schema: [FieldSchema], config: WriterConfig)throws {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:873:5: error: cannot find 'uniffi_parquetkit_driver_fn_constructor_writerhandle_new' in scope
871 | let handle =
872 | try rustCallWithError(FfiConverterTypeParquetError_lift) {
873 | uniffi_parquetkit_driver_fn_constructor_writerhandle_new(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_constructor_writerhandle_new' in scope
874 | FfiConverterString.lower(path),
875 | FfiConverterSequenceTypeFieldSchema.lower(schema),
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:888:25: error: cannot find 'uniffi_parquetkit_driver_fn_free_writerhandle' in scope
886 | }
887 |
888 | try! rustCall { uniffi_parquetkit_driver_fn_free_writerhandle(handle, $0) }
| `- error: cannot find 'uniffi_parquetkit_driver_fn_free_writerhandle' in scope
889 | }
890 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:895:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_append_row' in scope
893 |
894 | open func appendRow(values: [ColumnValue])throws {try rustCallWithError(FfiConverterTypeParquetError_lift) {
895 | uniffi_parquetkit_driver_fn_method_writerhandle_append_row(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_append_row' in scope
896 | self.uniffiCloneHandle(),
897 | FfiConverterSequenceTypeColumnValue.lower(values),$0
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:903:5: error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_close' in scope
901 |
902 | open func close()throws {try rustCallWithError(FfiConverterTypeParquetError_lift) {
903 | uniffi_parquetkit_driver_fn_method_writerhandle_close(
| `- error: cannot find 'uniffi_parquetkit_driver_fn_method_writerhandle_close' in scope
904 | self.uniffiCloneHandle(),$0
905 | )
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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_parquetkit_driver_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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 | uniffiEnsureParquetkitDriverInitialized()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.swift:608:25: error: cannot find type 'RustBuffer' in scope
606 | fileprivate struct FfiConverterString: FfiConverter {
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:610:38: error: cannot find type 'RustBuffer' in scope
608 | typealias FfiType = RustBuffer
609 |
610 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
611 | defer {
612 | value.deallocate()
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:621:50: error: cannot find type 'RustBuffer' in scope
619 | }
620 |
621 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
622 | return value.utf8CString.withUnsafeBufferPointer { ptr in
623 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:606: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 |
:
604 | @_documentation(visibility: private)
605 | #endif
606 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
607 | typealias SwiftType = String
608 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:647: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 |
:
645 | @_documentation(visibility: private)
646 | #endif
647 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
648 | typealias SwiftType = Data
649 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:984:15: error: type 'FfiConverterTypeColumnConfig' 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
:
982 | @_documentation(visibility: private)
983 | #endif
984 | public struct FfiConverterTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
985 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ColumnConfig {
986 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1007:54: error: cannot find type 'RustBuffer' in scope
1005 | @_documentation(visibility: private)
1006 | #endif
1007 | public func FfiConverterTypeColumnConfig_lift(_ buf: RustBuffer) throws -> ColumnConfig {
| `- error: cannot find type 'RustBuffer' in scope
1008 | return try FfiConverterTypeColumnConfig.lift(buf)
1009 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1014:74: error: cannot find type 'RustBuffer' in scope
1012 | @_documentation(visibility: private)
1013 | #endif
1014 | public func FfiConverterTypeColumnConfig_lower(_ value: ColumnConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1015 | return FfiConverterTypeColumnConfig.lower(value)
1016 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1050:15: error: type 'FfiConverterTypeWriterConfig' 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
:
1048 | @_documentation(visibility: private)
1049 | #endif
1050 | public struct FfiConverterTypeWriterConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeWriterConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1051 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> WriterConfig {
1052 | return
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1077:54: error: cannot find type 'RustBuffer' in scope
1075 | @_documentation(visibility: private)
1076 | #endif
1077 | public func FfiConverterTypeWriterConfig_lift(_ buf: RustBuffer) throws -> WriterConfig {
| `- error: cannot find type 'RustBuffer' in scope
1078 | return try FfiConverterTypeWriterConfig.lift(buf)
1079 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1084:74: error: cannot find type 'RustBuffer' in scope
1082 | @_documentation(visibility: private)
1083 | #endif
1084 | public func FfiConverterTypeWriterConfig_lower(_ value: WriterConfig) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1085 | return FfiConverterTypeWriterConfig.lower(value)
1086 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1140:15: error: type 'FfiConverterTypeColumnValue' 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 |
:
1138 | @_documentation(visibility: private)
1139 | #endif
1140 | public struct FfiConverterTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1141 | typealias SwiftType = ColumnValue
1142 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1296:53: error: cannot find type 'RustBuffer' in scope
1294 | @_documentation(visibility: private)
1295 | #endif
1296 | public func FfiConverterTypeColumnValue_lift(_ buf: RustBuffer) throws -> ColumnValue {
| `- error: cannot find type 'RustBuffer' in scope
1297 | return try FfiConverterTypeColumnValue.lift(buf)
1298 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1303:72: error: cannot find type 'RustBuffer' in scope
1301 | @_documentation(visibility: private)
1302 | #endif
1303 | public func FfiConverterTypeColumnValue_lower(_ value: ColumnValue) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1304 | return FfiConverterTypeColumnValue.lower(value)
1305 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1336:15: error: type 'FfiConverterTypeCompression' 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 |
:
1334 | @_documentation(visibility: private)
1335 | #endif
1336 | public struct FfiConverterTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1337 | typealias SwiftType = Compression
1338 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1400:53: error: cannot find type 'RustBuffer' in scope
1398 | @_documentation(visibility: private)
1399 | #endif
1400 | public func FfiConverterTypeCompression_lift(_ buf: RustBuffer) throws -> Compression {
| `- error: cannot find type 'RustBuffer' in scope
1401 | return try FfiConverterTypeCompression.lift(buf)
1402 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1407:72: error: cannot find type 'RustBuffer' in scope
1405 | @_documentation(visibility: private)
1406 | #endif
1407 | public func FfiConverterTypeCompression_lower(_ value: Compression) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1408 | return FfiConverterTypeCompression.lower(value)
1409 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1437:15: error: type 'FfiConverterTypeEncoding' 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 |
:
1435 | @_documentation(visibility: private)
1436 | #endif
1437 | public struct FfiConverterTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1438 | typealias SwiftType = Encoding
1439 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1495:50: error: cannot find type 'RustBuffer' in scope
1493 | @_documentation(visibility: private)
1494 | #endif
1495 | public func FfiConverterTypeEncoding_lift(_ buf: RustBuffer) throws -> Encoding {
| `- error: cannot find type 'RustBuffer' in scope
1496 | return try FfiConverterTypeEncoding.lift(buf)
1497 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1502:66: error: cannot find type 'RustBuffer' in scope
1500 | @_documentation(visibility: private)
1501 | #endif
1502 | public func FfiConverterTypeEncoding_lower(_ value: Encoding) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1503 | return FfiConverterTypeEncoding.lower(value)
1504 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1548:15: error: type 'FfiConverterTypeFieldSchema' 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 |
:
1546 | @_documentation(visibility: private)
1547 | #endif
1548 | public struct FfiConverterTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1549 | typealias SwiftType = FieldSchema
1550 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1610:53: error: cannot find type 'RustBuffer' in scope
1608 | @_documentation(visibility: private)
1609 | #endif
1610 | public func FfiConverterTypeFieldSchema_lift(_ buf: RustBuffer) throws -> FieldSchema {
| `- error: cannot find type 'RustBuffer' in scope
1611 | return try FfiConverterTypeFieldSchema.lift(buf)
1612 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1617:72: error: cannot find type 'RustBuffer' in scope
1615 | @_documentation(visibility: private)
1616 | #endif
1617 | public func FfiConverterTypeFieldSchema_lower(_ value: FieldSchema) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1618 | return FfiConverterTypeFieldSchema.lower(value)
1619 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1654:15: error: type 'FfiConverterTypeParquetError' 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 |
:
1652 | @_documentation(visibility: private)
1653 | #endif
1654 | public struct FfiConverterTypeParquetError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeParquetError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1655 | typealias SwiftType = ParquetError
1656 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1715:54: error: cannot find type 'RustBuffer' in scope
1713 | @_documentation(visibility: private)
1714 | #endif
1715 | public func FfiConverterTypeParquetError_lift(_ buf: RustBuffer) throws -> ParquetError {
| `- error: cannot find type 'RustBuffer' in scope
1716 | return try FfiConverterTypeParquetError.lift(buf)
1717 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1722:74: error: cannot find type 'RustBuffer' in scope
1720 | @_documentation(visibility: private)
1721 | #endif
1722 | public func FfiConverterTypeParquetError_lower(_ value: ParquetError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1723 | return FfiConverterTypeParquetError.lower(value)
1724 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1781:15: error: type 'FfiConverterTypePrimitiveType' 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 |
:
1779 | @_documentation(visibility: private)
1780 | #endif
1781 | public struct FfiConverterTypePrimitiveType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypePrimitiveType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1782 | typealias SwiftType = PrimitiveType
1783 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1982:55: error: cannot find type 'RustBuffer' in scope
1980 | @_documentation(visibility: private)
1981 | #endif
1982 | public func FfiConverterTypePrimitiveType_lift(_ buf: RustBuffer) throws -> PrimitiveType {
| `- error: cannot find type 'RustBuffer' in scope
1983 | return try FfiConverterTypePrimitiveType.lift(buf)
1984 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1989:76: error: cannot find type 'RustBuffer' in scope
1987 | @_documentation(visibility: private)
1988 | #endif
1989 | public func FfiConverterTypePrimitiveType_lower(_ value: PrimitiveType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1990 | return FfiConverterTypePrimitiveType.lower(value)
1991 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:1997: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 |
:
1995 | @_documentation(visibility: private)
1996 | #endif
1997 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1998 | typealias SwiftType = Bool?
1999 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2021:20: error: type 'FfiConverterOptionTypeCompression' 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 |
:
2019 | @_documentation(visibility: private)
2020 | #endif
2021 | fileprivate struct FfiConverterOptionTypeCompression: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeCompression' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2022 | typealias SwiftType = Compression?
2023 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2045:20: error: type 'FfiConverterOptionTypeEncoding' 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 FfiConverterOptionTypeEncoding: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeEncoding' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = Encoding?
2047 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2069:20: error: type 'FfiConverterOptionSequenceTypeColumnValue' 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 |
:
2067 | @_documentation(visibility: private)
2068 | #endif
2069 | fileprivate struct FfiConverterOptionSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2070 | typealias SwiftType = [ColumnValue]?
2071 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2093:20: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2091 | @_documentation(visibility: private)
2092 | #endif
2093 | fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2094 | typealias SwiftType = [String]
2095 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2118:20: error: type 'FfiConverterSequenceTypeColumnConfig' 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 |
:
2116 | @_documentation(visibility: private)
2117 | #endif
2118 | fileprivate struct FfiConverterSequenceTypeColumnConfig: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnConfig' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2119 | typealias SwiftType = [ColumnConfig]
2120 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2143:20: error: type 'FfiConverterSequenceTypeColumnValue' 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 |
:
2141 | @_documentation(visibility: private)
2142 | #endif
2143 | fileprivate struct FfiConverterSequenceTypeColumnValue: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeColumnValue' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2144 | typealias SwiftType = [ColumnValue]
2145 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2168:20: error: type 'FfiConverterSequenceTypeFieldSchema' 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 |
:
2166 | @_documentation(visibility: private)
2167 | #endif
2168 | fileprivate struct FfiConverterSequenceTypeFieldSchema: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeFieldSchema' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2169 | typealias SwiftType = [FieldSchema]
2170 |
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2201:40: error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2199 | let bindings_contract_version = 30
2200 | // Get the scaffolding contract version by calling the into the dylib
2201 | let scaffolding_contract_version = ffi_parquetkit_driver_uniffi_contract_version()
| `- error: cannot find 'ffi_parquetkit_driver_uniffi_contract_version' in scope
2202 | if bindings_contract_version != scaffolding_contract_version {
2203 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2205:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2203 | return InitializationResult.contractVersionMismatch
2204 | }
2205 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_close() != 10175) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_close' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2208:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_read_row() != 34049) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_read_row' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2211:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_parquetkit_driver_checksum_method_readerhandle_schema() != 61691) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_readerhandle_schema' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2214:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_append_row() != 24053) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_append_row' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2217:9: error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_parquetkit_driver_checksum_method_writerhandle_close() != 16779) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_method_writerhandle_close' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2220:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new() != 12290) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2223:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected() != 48764) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_readerhandle_new_projected' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.swift:2226:9: error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_parquetkit_driver_checksum_constructor_writerhandle_new() != 26774) {
| `- error: cannot find 'uniffi_parquetkit_driver_checksum_constructor_writerhandle_new' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/ParquetKitFFI/ParquetKitFFI.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/ParquetKitFFI/ParquetKitFFI.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 | }
BUILD FAILURE 6.1 wasm