Build Information
Failed to build YSwift, reference 0.2.1 (8c25f0
), with Swift 6.0 for Linux on 30 Nov 2024 20:47:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/y-crdt/yswift.git
Reference: 0.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/y-crdt/yswift
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 8c25f08 updating package for 0.2.1 release
Cloned https://github.com/y-crdt/yswift.git
Revision (git rev-parse @):
8c25f088fcccfc3c428c37ac9206a297d031f1c5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/y-crdt/yswift.git at 0.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/y-crdt/yswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.57s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[901/12023644] Downloading https://github.com/y-crdt/yswift/releases/download/0.2.1/yniffiFFI.xcframework.zip
Downloading binary artifact https://github.com/y-crdt/yswift/releases/download/0.2.1/yniffiFFI.xcframework.zip
Downloaded https://github.com/y-crdt/yswift/releases/download/0.2.1/yniffiFFI.xcframework.zip (1.72s)
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/11] Write sources
[5/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Emitting module Yniffi
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:14:19: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | private extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | // Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:38:19: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | private extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | private extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | // TODO: This copies the buffer. Can we read directly from a
54 | // Rust buffer?
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:182:72: error: cannot find type 'RustBuffer' in scope
180 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
181 | // Used for complex types where it's hard to write a custom lift/lower.
182 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
183 |
184 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:185:36: error: cannot find type 'RustBuffer' in scope
183 |
184 | extension FfiConverterRustBuffer {
185 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
186 | var reader = createReader(data: Data(rustBuffer: buf))
187 | let value = try read(from: &reader)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:195:53: error: cannot find type 'RustBuffer' in scope
193 | }
194 |
195 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
196 | var writer = createWriter()
197 | write(value, into: &writer)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:243:19: error: cannot find type 'RustCallStatus' in scope
241 | private let CALL_CANCELLED: Int8 = 3
242 |
243 | private extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
244 | init() {
245 | self.init(
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:256:60: error: cannot find type 'RustCallStatus' in scope
254 | }
255 |
256 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
257 | try makeRustCall(callback, errorHandler: nil)
258 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:261:32: error: cannot find type 'RustBuffer' in scope
259 |
260 | private func rustCallWithError<T>(
261 | _ errorHandler: @escaping (RustBuffer) throws -> Error,
| `- error: cannot find type 'RustBuffer' in scope
262 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
263 | ) throws -> T {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:262:39: error: cannot find type 'RustCallStatus' in scope
260 | private func rustCallWithError<T>(
261 | _ errorHandler: @escaping (RustBuffer) throws -> Error,
262 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
| `- error: cannot find type 'RustCallStatus' in scope
263 | ) throws -> T {
264 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:268:39: error: cannot find type 'RustCallStatus' in scope
266 |
267 | private func makeRustCall<T>(
268 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
269 | errorHandler: ((RustBuffer) throws -> Error)?
270 | ) throws -> T {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:269:21: error: cannot find type 'RustBuffer' in scope
267 | private func makeRustCall<T>(
268 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
269 | errorHandler: ((RustBuffer) throws -> Error)?
| `- error: cannot find type 'RustBuffer' in scope
270 | ) throws -> T {
271 | uniffiEnsureInitialized()
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:279:17: error: cannot find type 'RustCallStatus' in scope
277 |
278 | private func uniffiCheckCallStatus(
279 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
280 | errorHandler: ((RustBuffer) throws -> Error)?
281 | ) throws {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:280:21: error: cannot find type 'RustBuffer' in scope
278 | private func uniffiCheckCallStatus(
279 | callStatus: RustCallStatus,
280 | errorHandler: ((RustBuffer) throws -> Error)?
| `- error: cannot find type 'RustBuffer' in scope
281 | ) throws {
282 | switch callStatus.code {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:314:38: error: cannot find type 'RustCallStatus' in scope
312 |
313 | private func uniffiTraitInterfaceCall<T>(
314 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
315 | makeCall: () throws -> T,
316 | writeReturn: (T) -> Void
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:327:38: error: cannot find type 'RustCallStatus' in scope
325 |
326 | private func uniffiTraitInterfaceCallWithError<T, E>(
327 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> Void,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:330:24: error: cannot find type 'RustBuffer' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> Void,
330 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
331 | ) {
332 | do {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:445:25: error: cannot find type 'RustBuffer' in scope
443 | private struct FfiConverterString: FfiConverter {
444 | typealias SwiftType = String
445 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
446 |
447 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:447:38: error: cannot find type 'RustBuffer' in scope
445 | typealias FfiType = RustBuffer
446 |
447 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
448 | defer {
449 | value.deallocate()
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:458:50: error: cannot find type 'RustBuffer' in scope
456 | }
457 |
458 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
459 | return value.utf8CString.withUnsafeBufferPointer { ptr in
460 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:443:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
441 | }
442 |
443 | private struct FfiConverterString: FfiConverter {
| `- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
444 | typealias SwiftType = String
445 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1796:15: error: type 'FfiConverterTypeYrsMapChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'; add nested type 'SwiftType' for conformance
160 |
161 | static func lift(_ value: FfiType) throws -> SwiftType
:
1794 | }
1795 |
1796 | public struct FfiConverterTypeYrsMapChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsMapChange' does not conform to protocol 'FfiConverter'
1797 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> YrsMapChange {
1798 | return
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1811:54: error: cannot find type 'RustBuffer' in scope
1809 | }
1810 |
1811 | public func FfiConverterTypeYrsMapChange_lift(_ buf: RustBuffer) throws -> YrsMapChange {
| `- error: cannot find type 'RustBuffer' in scope
1812 | return try FfiConverterTypeYrsMapChange.lift(buf)
1813 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1815:74: error: cannot find type 'RustBuffer' in scope
1813 | }
1814 |
1815 | public func FfiConverterTypeYrsMapChange_lower(_ value: YrsMapChange) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1816 | return FfiConverterTypeYrsMapChange.lower(value)
1817 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1825:15: error: type 'FfiConverterTypeCodingError' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1823 | }
1824 |
1825 | public struct FfiConverterTypeCodingError: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeCodingError' does not conform to protocol 'FfiConverter'
1826 | typealias SwiftType = CodingError
1827 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1869:15: error: type 'FfiConverterTypeYrsChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1867 | }
1868 |
1869 | public struct FfiConverterTypeYrsChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsChange' does not conform to protocol 'FfiConverter'
1870 | typealias SwiftType = YrsChange
1871 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1905:51: error: cannot find type 'RustBuffer' in scope
1903 | }
1904 |
1905 | public func FfiConverterTypeYrsChange_lift(_ buf: RustBuffer) throws -> YrsChange {
| `- error: cannot find type 'RustBuffer' in scope
1906 | return try FfiConverterTypeYrsChange.lift(buf)
1907 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1909:68: error: cannot find type 'RustBuffer' in scope
1907 | }
1908 |
1909 | public func FfiConverterTypeYrsChange_lower(_ value: YrsChange) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1910 | return FfiConverterTypeYrsChange.lower(value)
1911 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1925:15: error: type 'FfiConverterTypeYrsDelta' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1923 | }
1924 |
1925 | public struct FfiConverterTypeYrsDelta: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsDelta' does not conform to protocol 'FfiConverter'
1926 | typealias SwiftType = YrsDelta
1927 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1961:50: error: cannot find type 'RustBuffer' in scope
1959 | }
1960 |
1961 | public func FfiConverterTypeYrsDelta_lift(_ buf: RustBuffer) throws -> YrsDelta {
| `- error: cannot find type 'RustBuffer' in scope
1962 | return try FfiConverterTypeYrsDelta.lift(buf)
1963 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1965:66: error: cannot find type 'RustBuffer' in scope
1963 | }
1964 |
1965 | public func FfiConverterTypeYrsDelta_lower(_ value: YrsDelta) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1966 | return FfiConverterTypeYrsDelta.lower(value)
1967 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1982:15: error: type 'FfiConverterTypeYrsEntryChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1980 | }
1981 |
1982 | public struct FfiConverterTypeYrsEntryChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsEntryChange' does not conform to protocol 'FfiConverter'
1983 | typealias SwiftType = YrsEntryChange
1984 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2018:56: error: cannot find type 'RustBuffer' in scope
2016 | }
2017 |
2018 | public func FfiConverterTypeYrsEntryChange_lift(_ buf: RustBuffer) throws -> YrsEntryChange {
| `- error: cannot find type 'RustBuffer' in scope
2019 | return try FfiConverterTypeYrsEntryChange.lift(buf)
2020 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2022:78: error: cannot find type 'RustBuffer' in scope
2020 | }
2021 |
2022 | public func FfiConverterTypeYrsEntryChange_lower(_ value: YrsEntryChange) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2023 | return FfiConverterTypeYrsEntryChange.lower(value)
2024 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2032:15: error: type 'FfiConverterTypeYrsUndoError' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2030 | }
2031 |
2032 | public struct FfiConverterTypeYrsUndoError: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsUndoError' does not conform to protocol 'FfiConverter'
2033 | typealias SwiftType = YrsUndoError
2034 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2066:15: error: type 'FfiConverterTypeYrsUndoEventKind' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2064 | }
2065 |
2066 | public struct FfiConverterTypeYrsUndoEventKind: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsUndoEventKind' does not conform to protocol 'FfiConverter'
2067 | typealias SwiftType = YrsUndoEventKind
2068 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2091:58: error: cannot find type 'RustBuffer' in scope
2089 | }
2090 |
2091 | public func FfiConverterTypeYrsUndoEventKind_lift(_ buf: RustBuffer) throws -> YrsUndoEventKind {
| `- error: cannot find type 'RustBuffer' in scope
2092 | return try FfiConverterTypeYrsUndoEventKind.lift(buf)
2093 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2095:82: error: cannot find type 'RustBuffer' in scope
2093 | }
2094 |
2095 | public func FfiConverterTypeYrsUndoEventKind_lower(_ value: YrsUndoEventKind) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2096 | return FfiConverterTypeYrsUndoEventKind.lower(value)
2097 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2117:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayEachDelegate' in scope
2115 | // Create the VTable using a series of closures.
2116 | // Swift automatically converts these into C callback functions.
2117 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayEachDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayEachDelegate' in scope
2118 | call: { (
2119 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2117:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2115 | // Create the VTable using a series of closures.
2116 | // Swift automatically converts these into C callback functions.
2117 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayEachDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2118 | call: { (
2119 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2156:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2154 | // FfiConverter protocol for callback interfaces
2155 | private enum FfiConverterCallbackInterfaceYrsArrayEachDelegate {
2156 | fileprivate static var handleMap = UniffiHandleMap<YrsArrayEachDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2157 | }
2158 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2189:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayObservationDelegate' in scope
2187 | // Create the VTable using a series of closures.
2188 | // Swift automatically converts these into C callback functions.
2189 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayObservationDelegate' in scope
2190 | call: { (
2191 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2189:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2187 | // Create the VTable using a series of closures.
2188 | // Swift automatically converts these into C callback functions.
2189 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2190 | call: { (
2191 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2228:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2226 | // FfiConverter protocol for callback interfaces
2227 | private enum FfiConverterCallbackInterfaceYrsArrayObservationDelegate {
2228 | fileprivate static var handleMap = UniffiHandleMap<YrsArrayObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2229 | }
2230 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2261:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapIteratorDelegate' in scope
2259 | // Create the VTable using a series of closures.
2260 | // Swift automatically converts these into C callback functions.
2261 | static var vtable: UniffiVTableCallbackInterfaceYrsMapIteratorDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapIteratorDelegate' in scope
2262 | call: { (
2263 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2261:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2259 | // Create the VTable using a series of closures.
2260 | // Swift automatically converts these into C callback functions.
2261 | static var vtable: UniffiVTableCallbackInterfaceYrsMapIteratorDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2262 | call: { (
2263 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2300:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2298 | // FfiConverter protocol for callback interfaces
2299 | private enum FfiConverterCallbackInterfaceYrsMapIteratorDelegate {
2300 | fileprivate static var handleMap = UniffiHandleMap<YrsMapIteratorDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2301 | }
2302 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2333:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate' in scope
2331 | // Create the VTable using a series of closures.
2332 | // Swift automatically converts these into C callback functions.
2333 | static var vtable: UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate' in scope
2334 | call: { (
2335 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2333:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2331 | // Create the VTable using a series of closures.
2332 | // Swift automatically converts these into C callback functions.
2333 | static var vtable: UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2334 | call: { (
2335 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2374:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2372 | // FfiConverter protocol for callback interfaces
2373 | private enum FfiConverterCallbackInterfaceYrsMapKvIteratorDelegate {
2374 | fileprivate static var handleMap = UniffiHandleMap<YrsMapKvIteratorDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2375 | }
2376 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2407:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapObservationDelegate' in scope
2405 | // Create the VTable using a series of closures.
2406 | // Swift automatically converts these into C callback functions.
2407 | static var vtable: UniffiVTableCallbackInterfaceYrsMapObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapObservationDelegate' in scope
2408 | call: { (
2409 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2407:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2405 | // Create the VTable using a series of closures.
2406 | // Swift automatically converts these into C callback functions.
2407 | static var vtable: UniffiVTableCallbackInterfaceYrsMapObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2408 | call: { (
2409 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2446:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2444 | // FfiConverter protocol for callback interfaces
2445 | private enum FfiConverterCallbackInterfaceYrsMapObservationDelegate {
2446 | fileprivate static var handleMap = UniffiHandleMap<YrsMapObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2447 | }
2448 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2479:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsTextObservationDelegate' in scope
2477 | // Create the VTable using a series of closures.
2478 | // Swift automatically converts these into C callback functions.
2479 | static var vtable: UniffiVTableCallbackInterfaceYrsTextObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsTextObservationDelegate' in scope
2480 | call: { (
2481 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2479:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2477 | // Create the VTable using a series of closures.
2478 | // Swift automatically converts these into C callback functions.
2479 | static var vtable: UniffiVTableCallbackInterfaceYrsTextObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2480 | call: { (
2481 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2518:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2516 | // FfiConverter protocol for callback interfaces
2517 | private enum FfiConverterCallbackInterfaceYrsTextObservationDelegate {
2518 | fileprivate static var handleMap = UniffiHandleMap<YrsTextObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2519 | }
2520 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2551:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate' in scope
2549 | // Create the VTable using a series of closures.
2550 | // Swift automatically converts these into C callback functions.
2551 | static var vtable: UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate' in scope
2552 | call: { (
2553 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2551:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2549 | // Create the VTable using a series of closures.
2550 | // Swift automatically converts these into C callback functions.
2551 | static var vtable: UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2552 | call: { (
2553 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2592:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2590 | // FfiConverter protocol for callback interfaces
2591 | private enum FfiConverterCallbackInterfaceYrsUndoManagerObservationDelegate {
2592 | fileprivate static var handleMap = UniffiHandleMap<YrsUndoManagerObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2593 | }
2594 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2617:16: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2615 | }
2616 |
2617 | private struct FfiConverterOptionString: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
2618 | typealias SwiftType = String?
2619 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2638:16: error: type 'FfiConverterOptionTypeYrsArray' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2636 | }
2637 |
2638 | private struct FfiConverterOptionTypeYrsArray: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsArray' does not conform to protocol 'FfiConverter'
2639 | typealias SwiftType = YrsArray?
2640 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2659:16: error: type 'FfiConverterOptionTypeYrsMap' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2657 | }
2658 |
2659 | private struct FfiConverterOptionTypeYrsMap: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsMap' does not conform to protocol 'FfiConverter'
2660 | typealias SwiftType = YrsMap?
2661 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2680:16: error: type 'FfiConverterOptionTypeYrsText' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2678 | }
2679 |
2680 | private struct FfiConverterOptionTypeYrsText: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsText' does not conform to protocol 'FfiConverter'
2681 | typealias SwiftType = YrsText?
2682 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2701:16: error: type 'FfiConverterOptionTypeYrsOrigin' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2699 | }
2700 |
2701 | private struct FfiConverterOptionTypeYrsOrigin: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsOrigin' does not conform to protocol 'FfiConverter'
2702 | typealias SwiftType = YrsOrigin?
2703 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2722:16: error: type 'FfiConverterSequenceUInt8' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2720 | }
2721 |
2722 | private struct FfiConverterSequenceUInt8: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceUInt8' does not conform to protocol 'FfiConverter'
2723 | typealias SwiftType = [UInt8]
2724 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2744:16: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2742 | }
2743 |
2744 | private struct FfiConverterSequenceString: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
2745 | typealias SwiftType = [String]
2746 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2766:16: error: type 'FfiConverterSequenceTypeYrsMapChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2764 | }
2765 |
2766 | private struct FfiConverterSequenceTypeYrsMapChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsMapChange' does not conform to protocol 'FfiConverter'
2767 | typealias SwiftType = [YrsMapChange]
2768 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2788:16: error: type 'FfiConverterSequenceTypeYrsChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2786 | }
2787 |
2788 | private struct FfiConverterSequenceTypeYrsChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsChange' does not conform to protocol 'FfiConverter'
2789 | typealias SwiftType = [YrsChange]
2790 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2810:16: error: type 'FfiConverterSequenceTypeYrsDelta' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2808 | }
2809 |
2810 | private struct FfiConverterSequenceTypeYrsDelta: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsDelta' does not conform to protocol 'FfiConverter'
2811 | typealias SwiftType = [YrsDelta]
2812 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2832:16: error: type 'FfiConverterSequenceTypeYrsCollectionPtr' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2830 | }
2831 |
2832 | private struct FfiConverterSequenceTypeYrsCollectionPtr: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsCollectionPtr' does not conform to protocol 'FfiConverter'
2833 | typealias SwiftType = [YrsCollectionPtr]
2834 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2899:38: error: cannot find type 'RustBuffer' in scope
2897 | }
2898 |
2899 | public static func lift(_ value: RustBuffer) throws -> YrsOrigin {
| `- error: cannot find type 'RustBuffer' in scope
2900 | return try FfiConverterSequenceUInt8.lift(value)
2901 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2903:53: error: cannot find type 'RustBuffer' in scope
2901 | }
2902 |
2903 | public static func lower(_ value: YrsOrigin) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2904 | return FfiConverterSequenceUInt8.lower(value)
2905 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2890:15: error: type 'FfiConverterTypeYrsOrigin' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'; add nested type 'SwiftType' for conformance
160 |
161 | static func lift(_ value: FfiType) throws -> SwiftType
:
2888 | */
2889 | public typealias YrsOrigin = [UInt8]
2890 | public struct FfiConverterTypeYrsOrigin: FfiConverter {
| `- error: type 'FfiConverterTypeYrsOrigin' does not conform to protocol 'FfiConverter'
2891 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> YrsOrigin {
2892 | return try FfiConverterSequenceUInt8.read(from: &buf)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2908:53: error: cannot find type 'RustBuffer' in scope
2906 | }
2907 |
2908 | public func FfiConverterTypeYrsOrigin_lift(_ value: RustBuffer) throws -> YrsOrigin {
| `- error: cannot find type 'RustBuffer' in scope
2909 | return try FfiConverterTypeYrsOrigin.lift(value)
2910 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2912:68: error: cannot find type 'RustBuffer' in scope
2910 | }
2911 |
2912 | public func FfiConverterTypeYrsOrigin_lower(_ value: YrsOrigin) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2913 | return FfiConverterTypeYrsOrigin.lower(value)
2914 | }
[8/13] Compiling Yniffi yniffi.swift
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:14:19: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | private extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | // Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:38:19: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | private extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | private extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | // TODO: This copies the buffer. Can we read directly from a
54 | // Rust buffer?
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:182:72: error: cannot find type 'RustBuffer' in scope
180 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
181 | // Used for complex types where it's hard to write a custom lift/lower.
182 | private protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
183 |
184 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:185:36: error: cannot find type 'RustBuffer' in scope
183 |
184 | extension FfiConverterRustBuffer {
185 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
186 | var reader = createReader(data: Data(rustBuffer: buf))
187 | let value = try read(from: &reader)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:195:53: error: cannot find type 'RustBuffer' in scope
193 | }
194 |
195 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
196 | var writer = createWriter()
197 | write(value, into: &writer)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:243:19: error: cannot find type 'RustCallStatus' in scope
241 | private let CALL_CANCELLED: Int8 = 3
242 |
243 | private extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
244 | init() {
245 | self.init(
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:256:60: error: cannot find type 'RustCallStatus' in scope
254 | }
255 |
256 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
257 | try makeRustCall(callback, errorHandler: nil)
258 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:261:32: error: cannot find type 'RustBuffer' in scope
259 |
260 | private func rustCallWithError<T>(
261 | _ errorHandler: @escaping (RustBuffer) throws -> Error,
| `- error: cannot find type 'RustBuffer' in scope
262 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
263 | ) throws -> T {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:262:39: error: cannot find type 'RustCallStatus' in scope
260 | private func rustCallWithError<T>(
261 | _ errorHandler: @escaping (RustBuffer) throws -> Error,
262 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T
| `- error: cannot find type 'RustCallStatus' in scope
263 | ) throws -> T {
264 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:268:39: error: cannot find type 'RustCallStatus' in scope
266 |
267 | private func makeRustCall<T>(
268 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
269 | errorHandler: ((RustBuffer) throws -> Error)?
270 | ) throws -> T {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:269:21: error: cannot find type 'RustBuffer' in scope
267 | private func makeRustCall<T>(
268 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
269 | errorHandler: ((RustBuffer) throws -> Error)?
| `- error: cannot find type 'RustBuffer' in scope
270 | ) throws -> T {
271 | uniffiEnsureInitialized()
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:279:17: error: cannot find type 'RustCallStatus' in scope
277 |
278 | private func uniffiCheckCallStatus(
279 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
280 | errorHandler: ((RustBuffer) throws -> Error)?
281 | ) throws {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:280:21: error: cannot find type 'RustBuffer' in scope
278 | private func uniffiCheckCallStatus(
279 | callStatus: RustCallStatus,
280 | errorHandler: ((RustBuffer) throws -> Error)?
| `- error: cannot find type 'RustBuffer' in scope
281 | ) throws {
282 | switch callStatus.code {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:314:38: error: cannot find type 'RustCallStatus' in scope
312 |
313 | private func uniffiTraitInterfaceCall<T>(
314 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
315 | makeCall: () throws -> T,
316 | writeReturn: (T) -> Void
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:327:38: error: cannot find type 'RustCallStatus' in scope
325 |
326 | private func uniffiTraitInterfaceCallWithError<T, E>(
327 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> Void,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:330:24: error: cannot find type 'RustBuffer' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> Void,
330 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
331 | ) {
332 | do {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:445:25: error: cannot find type 'RustBuffer' in scope
443 | private struct FfiConverterString: FfiConverter {
444 | typealias SwiftType = String
445 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
446 |
447 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:447:38: error: cannot find type 'RustBuffer' in scope
445 | typealias FfiType = RustBuffer
446 |
447 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
448 | defer {
449 | value.deallocate()
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:458:50: error: cannot find type 'RustBuffer' in scope
456 | }
457 |
458 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
459 | return value.utf8CString.withUnsafeBufferPointer { ptr in
460 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:443:16: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
441 | }
442 |
443 | private struct FfiConverterString: FfiConverter {
| `- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
444 | typealias SwiftType = String
445 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1796:15: error: type 'FfiConverterTypeYrsMapChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'; add nested type 'SwiftType' for conformance
160 |
161 | static func lift(_ value: FfiType) throws -> SwiftType
:
1794 | }
1795 |
1796 | public struct FfiConverterTypeYrsMapChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsMapChange' does not conform to protocol 'FfiConverter'
1797 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> YrsMapChange {
1798 | return
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1811:54: error: cannot find type 'RustBuffer' in scope
1809 | }
1810 |
1811 | public func FfiConverterTypeYrsMapChange_lift(_ buf: RustBuffer) throws -> YrsMapChange {
| `- error: cannot find type 'RustBuffer' in scope
1812 | return try FfiConverterTypeYrsMapChange.lift(buf)
1813 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1815:74: error: cannot find type 'RustBuffer' in scope
1813 | }
1814 |
1815 | public func FfiConverterTypeYrsMapChange_lower(_ value: YrsMapChange) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1816 | return FfiConverterTypeYrsMapChange.lower(value)
1817 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1825:15: error: type 'FfiConverterTypeCodingError' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1823 | }
1824 |
1825 | public struct FfiConverterTypeCodingError: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeCodingError' does not conform to protocol 'FfiConverter'
1826 | typealias SwiftType = CodingError
1827 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1869:15: error: type 'FfiConverterTypeYrsChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1867 | }
1868 |
1869 | public struct FfiConverterTypeYrsChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsChange' does not conform to protocol 'FfiConverter'
1870 | typealias SwiftType = YrsChange
1871 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1905:51: error: cannot find type 'RustBuffer' in scope
1903 | }
1904 |
1905 | public func FfiConverterTypeYrsChange_lift(_ buf: RustBuffer) throws -> YrsChange {
| `- error: cannot find type 'RustBuffer' in scope
1906 | return try FfiConverterTypeYrsChange.lift(buf)
1907 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1909:68: error: cannot find type 'RustBuffer' in scope
1907 | }
1908 |
1909 | public func FfiConverterTypeYrsChange_lower(_ value: YrsChange) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1910 | return FfiConverterTypeYrsChange.lower(value)
1911 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1925:15: error: type 'FfiConverterTypeYrsDelta' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1923 | }
1924 |
1925 | public struct FfiConverterTypeYrsDelta: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsDelta' does not conform to protocol 'FfiConverter'
1926 | typealias SwiftType = YrsDelta
1927 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1961:50: error: cannot find type 'RustBuffer' in scope
1959 | }
1960 |
1961 | public func FfiConverterTypeYrsDelta_lift(_ buf: RustBuffer) throws -> YrsDelta {
| `- error: cannot find type 'RustBuffer' in scope
1962 | return try FfiConverterTypeYrsDelta.lift(buf)
1963 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1965:66: error: cannot find type 'RustBuffer' in scope
1963 | }
1964 |
1965 | public func FfiConverterTypeYrsDelta_lower(_ value: YrsDelta) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1966 | return FfiConverterTypeYrsDelta.lower(value)
1967 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1982:15: error: type 'FfiConverterTypeYrsEntryChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
1980 | }
1981 |
1982 | public struct FfiConverterTypeYrsEntryChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsEntryChange' does not conform to protocol 'FfiConverter'
1983 | typealias SwiftType = YrsEntryChange
1984 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2018:56: error: cannot find type 'RustBuffer' in scope
2016 | }
2017 |
2018 | public func FfiConverterTypeYrsEntryChange_lift(_ buf: RustBuffer) throws -> YrsEntryChange {
| `- error: cannot find type 'RustBuffer' in scope
2019 | return try FfiConverterTypeYrsEntryChange.lift(buf)
2020 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2022:78: error: cannot find type 'RustBuffer' in scope
2020 | }
2021 |
2022 | public func FfiConverterTypeYrsEntryChange_lower(_ value: YrsEntryChange) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2023 | return FfiConverterTypeYrsEntryChange.lower(value)
2024 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2032:15: error: type 'FfiConverterTypeYrsUndoError' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2030 | }
2031 |
2032 | public struct FfiConverterTypeYrsUndoError: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsUndoError' does not conform to protocol 'FfiConverter'
2033 | typealias SwiftType = YrsUndoError
2034 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2066:15: error: type 'FfiConverterTypeYrsUndoEventKind' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2064 | }
2065 |
2066 | public struct FfiConverterTypeYrsUndoEventKind: FfiConverterRustBuffer {
| `- error: type 'FfiConverterTypeYrsUndoEventKind' does not conform to protocol 'FfiConverter'
2067 | typealias SwiftType = YrsUndoEventKind
2068 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2091:58: error: cannot find type 'RustBuffer' in scope
2089 | }
2090 |
2091 | public func FfiConverterTypeYrsUndoEventKind_lift(_ buf: RustBuffer) throws -> YrsUndoEventKind {
| `- error: cannot find type 'RustBuffer' in scope
2092 | return try FfiConverterTypeYrsUndoEventKind.lift(buf)
2093 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2095:82: error: cannot find type 'RustBuffer' in scope
2093 | }
2094 |
2095 | public func FfiConverterTypeYrsUndoEventKind_lower(_ value: YrsUndoEventKind) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2096 | return FfiConverterTypeYrsUndoEventKind.lower(value)
2097 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2117:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayEachDelegate' in scope
2115 | // Create the VTable using a series of closures.
2116 | // Swift automatically converts these into C callback functions.
2117 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayEachDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayEachDelegate' in scope
2118 | call: { (
2119 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2117:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2115 | // Create the VTable using a series of closures.
2116 | // Swift automatically converts these into C callback functions.
2117 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayEachDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2118 | call: { (
2119 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2156:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2154 | // FfiConverter protocol for callback interfaces
2155 | private enum FfiConverterCallbackInterfaceYrsArrayEachDelegate {
2156 | fileprivate static var handleMap = UniffiHandleMap<YrsArrayEachDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2157 | }
2158 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2189:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayObservationDelegate' in scope
2187 | // Create the VTable using a series of closures.
2188 | // Swift automatically converts these into C callback functions.
2189 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsArrayObservationDelegate' in scope
2190 | call: { (
2191 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2189:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2187 | // Create the VTable using a series of closures.
2188 | // Swift automatically converts these into C callback functions.
2189 | static var vtable: UniffiVTableCallbackInterfaceYrsArrayObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2190 | call: { (
2191 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2228:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2226 | // FfiConverter protocol for callback interfaces
2227 | private enum FfiConverterCallbackInterfaceYrsArrayObservationDelegate {
2228 | fileprivate static var handleMap = UniffiHandleMap<YrsArrayObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2229 | }
2230 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2261:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapIteratorDelegate' in scope
2259 | // Create the VTable using a series of closures.
2260 | // Swift automatically converts these into C callback functions.
2261 | static var vtable: UniffiVTableCallbackInterfaceYrsMapIteratorDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapIteratorDelegate' in scope
2262 | call: { (
2263 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2261:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2259 | // Create the VTable using a series of closures.
2260 | // Swift automatically converts these into C callback functions.
2261 | static var vtable: UniffiVTableCallbackInterfaceYrsMapIteratorDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2262 | call: { (
2263 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2300:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2298 | // FfiConverter protocol for callback interfaces
2299 | private enum FfiConverterCallbackInterfaceYrsMapIteratorDelegate {
2300 | fileprivate static var handleMap = UniffiHandleMap<YrsMapIteratorDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2301 | }
2302 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2333:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate' in scope
2331 | // Create the VTable using a series of closures.
2332 | // Swift automatically converts these into C callback functions.
2333 | static var vtable: UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate' in scope
2334 | call: { (
2335 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2333:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2331 | // Create the VTable using a series of closures.
2332 | // Swift automatically converts these into C callback functions.
2333 | static var vtable: UniffiVTableCallbackInterfaceYrsMapKvIteratorDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2334 | call: { (
2335 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2374:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2372 | // FfiConverter protocol for callback interfaces
2373 | private enum FfiConverterCallbackInterfaceYrsMapKvIteratorDelegate {
2374 | fileprivate static var handleMap = UniffiHandleMap<YrsMapKvIteratorDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2375 | }
2376 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2407:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapObservationDelegate' in scope
2405 | // Create the VTable using a series of closures.
2406 | // Swift automatically converts these into C callback functions.
2407 | static var vtable: UniffiVTableCallbackInterfaceYrsMapObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsMapObservationDelegate' in scope
2408 | call: { (
2409 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2407:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2405 | // Create the VTable using a series of closures.
2406 | // Swift automatically converts these into C callback functions.
2407 | static var vtable: UniffiVTableCallbackInterfaceYrsMapObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2408 | call: { (
2409 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2446:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2444 | // FfiConverter protocol for callback interfaces
2445 | private enum FfiConverterCallbackInterfaceYrsMapObservationDelegate {
2446 | fileprivate static var handleMap = UniffiHandleMap<YrsMapObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2447 | }
2448 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2479:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsTextObservationDelegate' in scope
2477 | // Create the VTable using a series of closures.
2478 | // Swift automatically converts these into C callback functions.
2479 | static var vtable: UniffiVTableCallbackInterfaceYrsTextObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsTextObservationDelegate' in scope
2480 | call: { (
2481 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2479:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2477 | // Create the VTable using a series of closures.
2478 | // Swift automatically converts these into C callback functions.
2479 | static var vtable: UniffiVTableCallbackInterfaceYrsTextObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2480 | call: { (
2481 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2518:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2516 | // FfiConverter protocol for callback interfaces
2517 | private enum FfiConverterCallbackInterfaceYrsTextObservationDelegate {
2518 | fileprivate static var handleMap = UniffiHandleMap<YrsTextObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2519 | }
2520 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2551:24: error: cannot find type 'UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate' in scope
2549 | // Create the VTable using a series of closures.
2550 | // Swift automatically converts these into C callback functions.
2551 | static var vtable: UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate = .init(
| `- error: cannot find type 'UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate' in scope
2552 | call: { (
2553 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2551:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2549 | // Create the VTable using a series of closures.
2550 | // Swift automatically converts these into C callback functions.
2551 | static var vtable: UniffiVTableCallbackInterfaceYrsUndoManagerObservationDelegate = .init(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2552 | call: { (
2553 | uniffiHandle: UInt64,
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2592:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2590 | // FfiConverter protocol for callback interfaces
2591 | private enum FfiConverterCallbackInterfaceYrsUndoManagerObservationDelegate {
2592 | fileprivate static var handleMap = UniffiHandleMap<YrsUndoManagerObservationDelegate>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2593 | }
2594 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2617:16: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2615 | }
2616 |
2617 | private struct FfiConverterOptionString: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
2618 | typealias SwiftType = String?
2619 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2638:16: error: type 'FfiConverterOptionTypeYrsArray' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2636 | }
2637 |
2638 | private struct FfiConverterOptionTypeYrsArray: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsArray' does not conform to protocol 'FfiConverter'
2639 | typealias SwiftType = YrsArray?
2640 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2659:16: error: type 'FfiConverterOptionTypeYrsMap' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2657 | }
2658 |
2659 | private struct FfiConverterOptionTypeYrsMap: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsMap' does not conform to protocol 'FfiConverter'
2660 | typealias SwiftType = YrsMap?
2661 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2680:16: error: type 'FfiConverterOptionTypeYrsText' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2678 | }
2679 |
2680 | private struct FfiConverterOptionTypeYrsText: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsText' does not conform to protocol 'FfiConverter'
2681 | typealias SwiftType = YrsText?
2682 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2701:16: error: type 'FfiConverterOptionTypeYrsOrigin' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2699 | }
2700 |
2701 | private struct FfiConverterOptionTypeYrsOrigin: FfiConverterRustBuffer {
| `- error: type 'FfiConverterOptionTypeYrsOrigin' does not conform to protocol 'FfiConverter'
2702 | typealias SwiftType = YrsOrigin?
2703 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2722:16: error: type 'FfiConverterSequenceUInt8' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2720 | }
2721 |
2722 | private struct FfiConverterSequenceUInt8: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceUInt8' does not conform to protocol 'FfiConverter'
2723 | typealias SwiftType = [UInt8]
2724 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2744:16: error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2742 | }
2743 |
2744 | private struct FfiConverterSequenceString: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceString' does not conform to protocol 'FfiConverter'
2745 | typealias SwiftType = [String]
2746 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2766:16: error: type 'FfiConverterSequenceTypeYrsMapChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2764 | }
2765 |
2766 | private struct FfiConverterSequenceTypeYrsMapChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsMapChange' does not conform to protocol 'FfiConverter'
2767 | typealias SwiftType = [YrsMapChange]
2768 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2788:16: error: type 'FfiConverterSequenceTypeYrsChange' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2786 | }
2787 |
2788 | private struct FfiConverterSequenceTypeYrsChange: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsChange' does not conform to protocol 'FfiConverter'
2789 | typealias SwiftType = [YrsChange]
2790 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2810:16: error: type 'FfiConverterSequenceTypeYrsDelta' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2808 | }
2809 |
2810 | private struct FfiConverterSequenceTypeYrsDelta: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsDelta' does not conform to protocol 'FfiConverter'
2811 | typealias SwiftType = [YrsDelta]
2812 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2832:16: error: type 'FfiConverterSequenceTypeYrsCollectionPtr' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
160 |
:
2830 | }
2831 |
2832 | private struct FfiConverterSequenceTypeYrsCollectionPtr: FfiConverterRustBuffer {
| `- error: type 'FfiConverterSequenceTypeYrsCollectionPtr' does not conform to protocol 'FfiConverter'
2833 | typealias SwiftType = [YrsCollectionPtr]
2834 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2899:38: error: cannot find type 'RustBuffer' in scope
2897 | }
2898 |
2899 | public static func lift(_ value: RustBuffer) throws -> YrsOrigin {
| `- error: cannot find type 'RustBuffer' in scope
2900 | return try FfiConverterSequenceUInt8.lift(value)
2901 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2903:53: error: cannot find type 'RustBuffer' in scope
2901 | }
2902 |
2903 | public static func lower(_ value: YrsOrigin) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2904 | return FfiConverterSequenceUInt8.lower(value)
2905 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2890:15: error: type 'FfiConverterTypeYrsOrigin' does not conform to protocol 'FfiConverter'
156 | // analogous go the Rust trait of the same name.
157 | private protocol FfiConverter {
158 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'; add nested type 'FfiType' for conformance
159 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'; add nested type 'SwiftType' for conformance
160 |
161 | static func lift(_ value: FfiType) throws -> SwiftType
:
2888 | */
2889 | public typealias YrsOrigin = [UInt8]
2890 | public struct FfiConverterTypeYrsOrigin: FfiConverter {
| `- error: type 'FfiConverterTypeYrsOrigin' does not conform to protocol 'FfiConverter'
2891 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> YrsOrigin {
2892 | return try FfiConverterSequenceUInt8.read(from: &buf)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2908:53: error: cannot find type 'RustBuffer' in scope
2906 | }
2907 |
2908 | public func FfiConverterTypeYrsOrigin_lift(_ value: RustBuffer) throws -> YrsOrigin {
| `- error: cannot find type 'RustBuffer' in scope
2909 | return try FfiConverterTypeYrsOrigin.lift(value)
2910 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2912:68: error: cannot find type 'RustBuffer' in scope
2910 | }
2911 |
2912 | public func FfiConverterTypeYrsOrigin_lower(_ value: YrsOrigin) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
2913 | return FfiConverterTypeYrsOrigin.lower(value)
2914 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:186:41: error: no exact matches in call to initializer
184 | extension FfiConverterRustBuffer {
185 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
186 | var reader = createReader(data: Data(rustBuffer: buf))
| `- error: no exact matches in call to initializer
187 | let value = try read(from: &reader)
188 | if hasRemaining(reader) {
FoundationEssentials.Data:19:23: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
17 | @inlinable public init()
18 | @inlinable public init(bytesNoCopy bytes: UnsafeMutableRawPointer, count: Int, deallocator: Data.Deallocator)
19 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
20 | @available(swift 4.2)
21 | @available(swift, deprecated: 5, message: "use `init(_:)` instead")
Swift.RangeReplaceableCollection:3:23: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | extension RangeReplaceableCollection {
2 | @inlinable public init(repeating repeatedValue: Self.Element, count: Int)
3 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
4 | @inlinable public mutating func append(_ newElement: __owned Self.Element)
5 | @inlinable public mutating func append<S>(contentsOf newElements: __owned S) where S : Sequence, Self.Element == S.Element
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:257:46: error: 'nil' requires a contextual type
255 |
256 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
257 | try makeRustCall(callback, errorHandler: nil)
| `- error: 'nil' requires a contextual type
258 | }
259 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:272:22: error: cannot find 'RustCallStatus' in scope
270 | ) throws -> T {
271 | uniffiEnsureInitialized()
272 | var callStatus = RustCallStatus()
| `- error: cannot find 'RustCallStatus' in scope
273 | let returnedVal = callback(&callStatus)
274 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:510:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_ysubscription' in scope
508 |
509 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
510 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_ysubscription(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_ysubscription' in scope
511 | }
512 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:520:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_ysubscription' in scope
518 | }
519 |
520 | try! rustCall { uniffi_uniffi_yniffi_fn_free_ysubscription(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_ysubscription' in scope
521 | }
522 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:615:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsarray' in scope
613 |
614 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
615 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrsarray(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsarray' in scope
616 | }
617 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:625:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsarray' in scope
623 | }
624 |
625 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrsarray(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsarray' in scope
626 | }
627 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:629:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_each' in scope
627 |
628 | open func each(tx: YrsTransaction, delegate: YrsArrayEachDelegate) { try! rustCall {
629 | uniffi_uniffi_yniffi_fn_method_yrsarray_each(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_each' in scope
630 | FfiConverterTypeYrsTransaction.lower(tx),
631 | FfiConverterCallbackInterfaceYrsArrayEachDelegate.lower(delegate), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:637:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_get' in scope
635 | open func get(tx: YrsTransaction, index: UInt32) throws -> String {
636 | return try FfiConverterString.lift(rustCallWithError(FfiConverterTypeCodingError.lift) {
637 | uniffi_uniffi_yniffi_fn_method_yrsarray_get(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_get' in scope
638 | FfiConverterTypeYrsTransaction.lower(tx),
639 | FfiConverterUInt32.lower(index), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:644:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_insert' in scope
642 |
643 | open func insert(tx: YrsTransaction, index: UInt32, value: String) { try! rustCall {
644 | uniffi_uniffi_yniffi_fn_method_yrsarray_insert(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_insert' in scope
645 | FfiConverterTypeYrsTransaction.lower(tx),
646 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:652:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_insert_range' in scope
650 |
651 | open func insertRange(tx: YrsTransaction, index: UInt32, values: [String]) { try! rustCall {
652 | uniffi_uniffi_yniffi_fn_method_yrsarray_insert_range(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_insert_range' in scope
653 | FfiConverterTypeYrsTransaction.lower(tx),
654 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:661:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_length' in scope
659 | open func length(tx: YrsTransaction) -> UInt32 {
660 | return try! FfiConverterUInt32.lift(try! rustCall {
661 | uniffi_uniffi_yniffi_fn_method_yrsarray_length(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_length' in scope
662 | FfiConverterTypeYrsTransaction.lower(tx), $0)
663 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:668:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_observe' in scope
666 | open func observe(delegate: YrsArrayObservationDelegate) -> YSubscription {
667 | return try! FfiConverterTypeYSubscription.lift(try! rustCall {
668 | uniffi_uniffi_yniffi_fn_method_yrsarray_observe(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_observe' in scope
669 | FfiConverterCallbackInterfaceYrsArrayObservationDelegate.lower(delegate), $0)
670 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:674:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_push_back' in scope
672 |
673 | open func pushBack(tx: YrsTransaction, value: String) { try! rustCall {
674 | uniffi_uniffi_yniffi_fn_method_yrsarray_push_back(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_push_back' in scope
675 | FfiConverterTypeYrsTransaction.lower(tx),
676 | FfiConverterString.lower(value), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:681:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_push_front' in scope
679 |
680 | open func pushFront(tx: YrsTransaction, value: String) { try! rustCall {
681 | uniffi_uniffi_yniffi_fn_method_yrsarray_push_front(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_push_front' in scope
682 | FfiConverterTypeYrsTransaction.lower(tx),
683 | FfiConverterString.lower(value), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:689:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_raw_ptr' in scope
687 | open func rawPtr() -> YrsCollectionPtr {
688 | return try! FfiConverterTypeYrsCollectionPtr.lift(try! rustCall {
689 | uniffi_uniffi_yniffi_fn_method_yrsarray_raw_ptr(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_raw_ptr' in scope
690 | })
691 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:694:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_remove' in scope
692 |
693 | open func remove(tx: YrsTransaction, index: UInt32) { try! rustCall {
694 | uniffi_uniffi_yniffi_fn_method_yrsarray_remove(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_remove' in scope
695 | FfiConverterTypeYrsTransaction.lower(tx),
696 | FfiConverterUInt32.lower(index), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:701:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_remove_range' in scope
699 |
700 | open func removeRange(tx: YrsTransaction, index: UInt32, len: UInt32) { try! rustCall {
701 | uniffi_uniffi_yniffi_fn_method_yrsarray_remove_range(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_remove_range' in scope
702 | FfiConverterTypeYrsTransaction.lower(tx),
703 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:710:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_to_a' in scope
708 | open func toA(tx: YrsTransaction) -> [String] {
709 | return try! FfiConverterSequenceString.lift(try! rustCall {
710 | uniffi_uniffi_yniffi_fn_method_yrsarray_to_a(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsarray_to_a' in scope
711 | FfiConverterTypeYrsTransaction.lower(tx), $0)
712 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:795:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsdoc' in scope
793 |
794 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
795 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrsdoc(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsdoc' in scope
796 | }
797 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:801:17: error: cannot find 'uniffi_uniffi_yniffi_fn_constructor_yrsdoc_new' in scope
799 | let pointer =
800 | try! rustCall {
801 | uniffi_uniffi_yniffi_fn_constructor_yrsdoc_new($0
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_constructor_yrsdoc_new' in scope
802 | )
803 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:812:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsdoc' in scope
810 | }
811 |
812 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrsdoc(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsdoc' in scope
813 | }
814 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:817:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_encode_diff_v1' in scope
815 | open func encodeDiffV1(tx: YrsTransaction, stateVector: [UInt8]) throws -> [UInt8] {
816 | return try FfiConverterSequenceUInt8.lift(rustCallWithError(FfiConverterTypeCodingError.lift) {
817 | uniffi_uniffi_yniffi_fn_method_yrsdoc_encode_diff_v1(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_encode_diff_v1' in scope
818 | FfiConverterTypeYrsTransaction.lower(tx),
819 | FfiConverterSequenceUInt8.lower(stateVector), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:825:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_get_array' in scope
823 | open func getArray(name: String) -> YrsArray {
824 | return try! FfiConverterTypeYrsArray.lift(try! rustCall {
825 | uniffi_uniffi_yniffi_fn_method_yrsdoc_get_array(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_get_array' in scope
826 | FfiConverterString.lower(name), $0)
827 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:832:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_get_map' in scope
830 | open func getMap(name: String) -> YrsMap {
831 | return try! FfiConverterTypeYrsMap.lift(try! rustCall {
832 | uniffi_uniffi_yniffi_fn_method_yrsdoc_get_map(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_get_map' in scope
833 | FfiConverterString.lower(name), $0)
834 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:839:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_get_text' in scope
837 | open func getText(name: String) -> YrsText {
838 | return try! FfiConverterTypeYrsText.lift(try! rustCall {
839 | uniffi_uniffi_yniffi_fn_method_yrsdoc_get_text(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_get_text' in scope
840 | FfiConverterString.lower(name), $0)
841 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:846:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_transact' in scope
844 | open func transact(origin: YrsOrigin?) -> YrsTransaction {
845 | return try! FfiConverterTypeYrsTransaction.lift(try! rustCall {
846 | uniffi_uniffi_yniffi_fn_method_yrsdoc_transact(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_transact' in scope
847 | FfiConverterOptionTypeYrsOrigin.lower(origin), $0)
848 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:853:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_undo_manager' in scope
851 | open func undoManager(trackedRefs: [YrsCollectionPtr]) -> YrsUndoManager {
852 | return try! FfiConverterTypeYrsUndoManager.lift(try! rustCall {
853 | uniffi_uniffi_yniffi_fn_method_yrsdoc_undo_manager(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsdoc_undo_manager' in scope
854 | FfiConverterSequenceTypeYrsCollectionPtr.lower(trackedRefs), $0)
855 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:948:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsmap' in scope
946 |
947 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
948 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrsmap(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsmap' in scope
949 | }
950 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:958:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsmap' in scope
956 | }
957 |
958 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrsmap(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsmap' in scope
959 | }
960 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:962:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_clear' in scope
960 |
961 | open func clear(tx: YrsTransaction) { try! rustCall {
962 | uniffi_uniffi_yniffi_fn_method_yrsmap_clear(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_clear' in scope
963 | FfiConverterTypeYrsTransaction.lower(tx), $0)
964 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:969:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_contains_key' in scope
967 | open func containsKey(tx: YrsTransaction, key: String) -> Bool {
968 | return try! FfiConverterBool.lift(try! rustCall {
969 | uniffi_uniffi_yniffi_fn_method_yrsmap_contains_key(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_contains_key' in scope
970 | FfiConverterTypeYrsTransaction.lower(tx),
971 | FfiConverterString.lower(key), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:976:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_each' in scope
974 |
975 | open func each(tx: YrsTransaction, delegate: YrsMapKvIteratorDelegate) { try! rustCall {
976 | uniffi_uniffi_yniffi_fn_method_yrsmap_each(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_each' in scope
977 | FfiConverterTypeYrsTransaction.lower(tx),
978 | FfiConverterCallbackInterfaceYrsMapKvIteratorDelegate.lower(delegate), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:984:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_get' in scope
982 | open func get(tx: YrsTransaction, key: String) throws -> String {
983 | return try FfiConverterString.lift(rustCallWithError(FfiConverterTypeCodingError.lift) {
984 | uniffi_uniffi_yniffi_fn_method_yrsmap_get(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_get' in scope
985 | FfiConverterTypeYrsTransaction.lower(tx),
986 | FfiConverterString.lower(key), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:991:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_insert' in scope
989 |
990 | open func insert(tx: YrsTransaction, key: String, value: String) { try! rustCall {
991 | uniffi_uniffi_yniffi_fn_method_yrsmap_insert(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_insert' in scope
992 | FfiConverterTypeYrsTransaction.lower(tx),
993 | FfiConverterString.lower(key),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:999:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_keys' in scope
997 |
998 | open func keys(tx: YrsTransaction, delegate: YrsMapIteratorDelegate) { try! rustCall {
999 | uniffi_uniffi_yniffi_fn_method_yrsmap_keys(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_keys' in scope
1000 | FfiConverterTypeYrsTransaction.lower(tx),
1001 | FfiConverterCallbackInterfaceYrsMapIteratorDelegate.lower(delegate), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1007:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_length' in scope
1005 | open func length(tx: YrsTransaction) -> UInt32 {
1006 | return try! FfiConverterUInt32.lift(try! rustCall {
1007 | uniffi_uniffi_yniffi_fn_method_yrsmap_length(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_length' in scope
1008 | FfiConverterTypeYrsTransaction.lower(tx), $0)
1009 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1014:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_observe' in scope
1012 | open func observe(delegate: YrsMapObservationDelegate) -> YSubscription {
1013 | return try! FfiConverterTypeYSubscription.lift(try! rustCall {
1014 | uniffi_uniffi_yniffi_fn_method_yrsmap_observe(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_observe' in scope
1015 | FfiConverterCallbackInterfaceYrsMapObservationDelegate.lower(delegate), $0)
1016 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1021:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_raw_ptr' in scope
1019 | open func rawPtr() -> YrsCollectionPtr {
1020 | return try! FfiConverterTypeYrsCollectionPtr.lift(try! rustCall {
1021 | uniffi_uniffi_yniffi_fn_method_yrsmap_raw_ptr(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_raw_ptr' in scope
1022 | })
1023 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1027:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_remove' in scope
1025 | open func remove(tx: YrsTransaction, key: String) throws -> String? {
1026 | return try FfiConverterOptionString.lift(rustCallWithError(FfiConverterTypeCodingError.lift) {
1027 | uniffi_uniffi_yniffi_fn_method_yrsmap_remove(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_remove' in scope
1028 | FfiConverterTypeYrsTransaction.lower(tx),
1029 | FfiConverterString.lower(key), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1034:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_values' in scope
1032 |
1033 | open func values(tx: YrsTransaction, delegate: YrsMapIteratorDelegate) { try! rustCall {
1034 | uniffi_uniffi_yniffi_fn_method_yrsmap_values(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsmap_values' in scope
1035 | FfiConverterTypeYrsTransaction.lower(tx),
1036 | FfiConverterCallbackInterfaceYrsMapIteratorDelegate.lower(delegate), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1130:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrstext' in scope
1128 |
1129 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
1130 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrstext(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrstext' in scope
1131 | }
1132 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1140:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrstext' in scope
1138 | }
1139 |
1140 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrstext(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrstext' in scope
1141 | }
1142 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1144:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_append' in scope
1142 |
1143 | open func append(tx: YrsTransaction, text: String) { try! rustCall {
1144 | uniffi_uniffi_yniffi_fn_method_yrstext_append(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_append' in scope
1145 | FfiConverterTypeYrsTransaction.lower(tx),
1146 | FfiConverterString.lower(text), $0)
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1151:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_format' in scope
1149 |
1150 | open func format(tx: YrsTransaction, index: UInt32, length: UInt32, attrs: String) { try! rustCall {
1151 | uniffi_uniffi_yniffi_fn_method_yrstext_format(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_format' in scope
1152 | FfiConverterTypeYrsTransaction.lower(tx),
1153 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1161:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_get_string' in scope
1159 | open func getString(tx: YrsTransaction) -> String {
1160 | return try! FfiConverterString.lift(try! rustCall {
1161 | uniffi_uniffi_yniffi_fn_method_yrstext_get_string(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_get_string' in scope
1162 | FfiConverterTypeYrsTransaction.lower(tx), $0)
1163 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1167:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert' in scope
1165 |
1166 | open func insert(tx: YrsTransaction, index: UInt32, chunk: String) { try! rustCall {
1167 | uniffi_uniffi_yniffi_fn_method_yrstext_insert(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert' in scope
1168 | FfiConverterTypeYrsTransaction.lower(tx),
1169 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1175:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert_embed' in scope
1173 |
1174 | open func insertEmbed(tx: YrsTransaction, index: UInt32, content: String) { try! rustCall {
1175 | uniffi_uniffi_yniffi_fn_method_yrstext_insert_embed(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert_embed' in scope
1176 | FfiConverterTypeYrsTransaction.lower(tx),
1177 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1183:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert_embed_with_attributes' in scope
1181 |
1182 | open func insertEmbedWithAttributes(tx: YrsTransaction, index: UInt32, content: String, attrs: String) { try! rustCall {
1183 | uniffi_uniffi_yniffi_fn_method_yrstext_insert_embed_with_attributes(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert_embed_with_attributes' in scope
1184 | FfiConverterTypeYrsTransaction.lower(tx),
1185 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1192:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert_with_attributes' in scope
1190 |
1191 | open func insertWithAttributes(tx: YrsTransaction, index: UInt32, chunk: String, attrs: String) { try! rustCall {
1192 | uniffi_uniffi_yniffi_fn_method_yrstext_insert_with_attributes(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_insert_with_attributes' in scope
1193 | FfiConverterTypeYrsTransaction.lower(tx),
1194 | FfiConverterUInt32.lower(index),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1202:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_length' in scope
1200 | open func length(tx: YrsTransaction) -> UInt32 {
1201 | return try! FfiConverterUInt32.lift(try! rustCall {
1202 | uniffi_uniffi_yniffi_fn_method_yrstext_length(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_length' in scope
1203 | FfiConverterTypeYrsTransaction.lower(tx), $0)
1204 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1209:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_observe' in scope
1207 | open func observe(delegate: YrsTextObservationDelegate) -> YSubscription {
1208 | return try! FfiConverterTypeYSubscription.lift(try! rustCall {
1209 | uniffi_uniffi_yniffi_fn_method_yrstext_observe(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_observe' in scope
1210 | FfiConverterCallbackInterfaceYrsTextObservationDelegate.lower(delegate), $0)
1211 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1216:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_raw_ptr' in scope
1214 | open func rawPtr() -> YrsCollectionPtr {
1215 | return try! FfiConverterTypeYrsCollectionPtr.lift(try! rustCall {
1216 | uniffi_uniffi_yniffi_fn_method_yrstext_raw_ptr(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_raw_ptr' in scope
1217 | })
1218 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1221:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_remove_range' in scope
1219 |
1220 | open func removeRange(tx: YrsTransaction, start: UInt32, length: UInt32) { try! rustCall {
1221 | uniffi_uniffi_yniffi_fn_method_yrstext_remove_range(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstext_remove_range' in scope
1222 | FfiConverterTypeYrsTransaction.lower(tx),
1223 | FfiConverterUInt32.lower(start),
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1316:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrstransaction' in scope
1314 |
1315 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
1316 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrstransaction(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrstransaction' in scope
1317 | }
1318 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1326:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrstransaction' in scope
1324 | }
1325 |
1326 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrstransaction(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrstransaction' in scope
1327 | }
1328 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1330:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_free' in scope
1328 |
1329 | open func free() { try! rustCall {
1330 | uniffi_uniffi_yniffi_fn_method_yrstransaction_free(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_free' in scope
1331 | }
1332 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1336:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_origin' in scope
1334 | open func origin() -> YrsOrigin? {
1335 | return try! FfiConverterOptionTypeYrsOrigin.lift(try! rustCall {
1336 | uniffi_uniffi_yniffi_fn_method_yrstransaction_origin(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_origin' in scope
1337 | })
1338 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1341:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_apply_update' in scope
1339 |
1340 | open func transactionApplyUpdate(update: [UInt8]) throws { try rustCallWithError(FfiConverterTypeCodingError.lift) {
1341 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_apply_update(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_apply_update' in scope
1342 | FfiConverterSequenceUInt8.lower(update), $0)
1343 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1348:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_state_as_update' in scope
1346 | open func transactionEncodeStateAsUpdate() -> [UInt8] {
1347 | return try! FfiConverterSequenceUInt8.lift(try! rustCall {
1348 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_state_as_update(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_state_as_update' in scope
1349 | })
1350 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1354:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_state_as_update_from_sv' in scope
1352 | open func transactionEncodeStateAsUpdateFromSv(stateVector: [UInt8]) throws -> [UInt8] {
1353 | return try FfiConverterSequenceUInt8.lift(rustCallWithError(FfiConverterTypeCodingError.lift) {
1354 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_state_as_update_from_sv(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_state_as_update_from_sv' in scope
1355 | FfiConverterSequenceUInt8.lower(stateVector), $0)
1356 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1361:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_update' in scope
1359 | open func transactionEncodeUpdate() -> [UInt8] {
1360 | return try! FfiConverterSequenceUInt8.lift(try! rustCall {
1361 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_update(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_encode_update' in scope
1362 | })
1363 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1367:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_array' in scope
1365 | open func transactionGetArray(name: String) -> YrsArray? {
1366 | return try! FfiConverterOptionTypeYrsArray.lift(try! rustCall {
1367 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_array(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_array' in scope
1368 | FfiConverterString.lower(name), $0)
1369 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1374:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_map' in scope
1372 | open func transactionGetMap(name: String) -> YrsMap? {
1373 | return try! FfiConverterOptionTypeYrsMap.lift(try! rustCall {
1374 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_map(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_map' in scope
1375 | FfiConverterString.lower(name), $0)
1376 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1381:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_text' in scope
1379 | open func transactionGetText(name: String) -> YrsText? {
1380 | return try! FfiConverterOptionTypeYrsText.lift(try! rustCall {
1381 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_text(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_get_text' in scope
1382 | FfiConverterString.lower(name), $0)
1383 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1388:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_state_vector' in scope
1386 | open func transactionStateVector() -> [UInt8] {
1387 | return try! FfiConverterSequenceUInt8.lift(try! rustCall {
1388 | uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_state_vector(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrstransaction_transaction_state_vector' in scope
1389 | })
1390 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1466:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsundoevent' in scope
1464 |
1465 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
1466 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrsundoevent(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsundoevent' in scope
1467 | }
1468 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1476:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsundoevent' in scope
1474 | }
1475 |
1476 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrsundoevent(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsundoevent' in scope
1477 | }
1478 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1481:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundoevent_has_changed' in scope
1479 | open func hasChanged(sharedRef: YrsCollectionPtr) -> Bool {
1480 | return try! FfiConverterBool.lift(try! rustCall {
1481 | uniffi_uniffi_yniffi_fn_method_yrsundoevent_has_changed(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundoevent_has_changed' in scope
1482 | FfiConverterTypeYrsCollectionPtr.lower(sharedRef), $0)
1483 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1488:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundoevent_kind' in scope
1486 | open func kind() -> YrsUndoEventKind {
1487 | return try! FfiConverterTypeYrsUndoEventKind.lift(try! rustCall {
1488 | uniffi_uniffi_yniffi_fn_method_yrsundoevent_kind(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundoevent_kind' in scope
1489 | })
1490 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1494:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundoevent_origin' in scope
1492 | open func origin() -> YrsOrigin? {
1493 | return try! FfiConverterOptionTypeYrsOrigin.lift(try! rustCall {
1494 | uniffi_uniffi_yniffi_fn_method_yrsundoevent_origin(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundoevent_origin' in scope
1495 | })
1496 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1624:32: error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsundomanager' in scope
1622 |
1623 | public func uniffiClonePointer() -> UnsafeMutableRawPointer {
1624 | return try! rustCall { uniffi_uniffi_yniffi_fn_clone_yrsundomanager(self.pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_clone_yrsundomanager' in scope
1625 | }
1626 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1634:25: error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsundomanager' in scope
1632 | }
1633 |
1634 | try! rustCall { uniffi_uniffi_yniffi_fn_free_yrsundomanager(pointer, $0) }
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_free_yrsundomanager' in scope
1635 | }
1636 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1643:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_add_origin' in scope
1641 | */
1642 | open func addOrigin(origin: YrsOrigin) { try! rustCall {
1643 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_add_origin(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_add_origin' in scope
1644 | FfiConverterTypeYrsOrigin.lower(origin), $0)
1645 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1652:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_add_scope' in scope
1650 | */
1651 | open func addScope(trackedRef: YrsCollectionPtr) { try! rustCall {
1652 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_add_scope(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_add_scope' in scope
1653 | FfiConverterTypeYrsCollectionPtr.lower(trackedRef), $0)
1654 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1661:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_clear' in scope
1659 | */
1660 | open func clear() throws { try rustCallWithError(FfiConverterTypeYrsUndoError.lift) {
1661 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_clear(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_clear' in scope
1662 | }
1663 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1667:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_added' in scope
1665 | open func observeAdded(delegate: YrsUndoManagerObservationDelegate) -> YSubscription {
1666 | return try! FfiConverterTypeYSubscription.lift(try! rustCall {
1667 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_added(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_added' in scope
1668 | FfiConverterCallbackInterfaceYrsUndoManagerObservationDelegate.lower(delegate), $0)
1669 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1674:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_popped' in scope
1672 | open func observePopped(delegate: YrsUndoManagerObservationDelegate) -> YSubscription {
1673 | return try! FfiConverterTypeYSubscription.lift(try! rustCall {
1674 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_popped(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_popped' in scope
1675 | FfiConverterCallbackInterfaceYrsUndoManagerObservationDelegate.lower(delegate), $0)
1676 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1681:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_updated' in scope
1679 | open func observeUpdated(delegate: YrsUndoManagerObservationDelegate) -> YSubscription {
1680 | return try! FfiConverterTypeYSubscription.lift(try! rustCall {
1681 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_updated(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_observe_updated' in scope
1682 | FfiConverterCallbackInterfaceYrsUndoManagerObservationDelegate.lower(delegate), $0)
1683 | })
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1693:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_redo' in scope
1691 | open func redo() throws -> Bool {
1692 | return try FfiConverterBool.lift(rustCallWithError(FfiConverterTypeYrsUndoError.lift) {
1693 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_redo(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_redo' in scope
1694 | })
1695 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1703:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_remove_origin' in scope
1701 | */
1702 | open func removeOrigin(origin: YrsOrigin) { try! rustCall {
1703 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_remove_origin(self.uniffiClonePointer(),
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_remove_origin' in scope
1704 | FfiConverterTypeYrsOrigin.lower(origin), $0)
1705 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1715:13: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_undo' in scope
1713 | open func undo() throws -> Bool {
1714 | return try FfiConverterBool.lift(rustCallWithError(FfiConverterTypeYrsUndoError.lift) {
1715 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_undo(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_undo' in scope
1716 | })
1717 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:1724:9: error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_wrap_changes' in scope
1722 | */
1723 | open func wrapChanges() { try! rustCall {
1724 | uniffi_uniffi_yniffi_fn_method_yrsundomanager_wrap_changes(self.uniffiClonePointer(), $0)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_method_yrsundomanager_wrap_changes' in scope
1725 | }
1726 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2151:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsarrayeachdelegate' in scope
2149 |
2150 | private func uniffiCallbackInitYrsArrayEachDelegate() {
2151 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsarrayeachdelegate(&UniffiCallbackInterfaceYrsArrayEachDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsarrayeachdelegate' in scope
2152 | }
2153 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2223:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsarrayobservationdelegate' in scope
2221 |
2222 | private func uniffiCallbackInitYrsArrayObservationDelegate() {
2223 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsarrayobservationdelegate(&UniffiCallbackInterfaceYrsArrayObservationDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsarrayobservationdelegate' in scope
2224 | }
2225 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2295:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapiteratordelegate' in scope
2293 |
2294 | private func uniffiCallbackInitYrsMapIteratorDelegate() {
2295 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapiteratordelegate(&UniffiCallbackInterfaceYrsMapIteratorDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapiteratordelegate' in scope
2296 | }
2297 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2369:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapkviteratordelegate' in scope
2367 |
2368 | private func uniffiCallbackInitYrsMapKVIteratorDelegate() {
2369 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapkviteratordelegate(&UniffiCallbackInterfaceYrsMapKVIteratorDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapkviteratordelegate' in scope
2370 | }
2371 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2441:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapobservationdelegate' in scope
2439 |
2440 | private func uniffiCallbackInitYrsMapObservationDelegate() {
2441 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapobservationdelegate(&UniffiCallbackInterfaceYrsMapObservationDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsmapobservationdelegate' in scope
2442 | }
2443 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2513:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrstextobservationdelegate' in scope
2511 |
2512 | private func uniffiCallbackInitYrsTextObservationDelegate() {
2513 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrstextobservationdelegate(&UniffiCallbackInterfaceYrsTextObservationDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrstextobservationdelegate' in scope
2514 | }
2515 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2587:5: error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsundomanagerobservationdelegate' in scope
2585 |
2586 | private func uniffiCallbackInitYrsUndoManagerObservationDelegate() {
2587 | uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsundomanagerobservationdelegate(&UniffiCallbackInterfaceYrsUndoManagerObservationDelegate.vtable)
| `- error: cannot find 'uniffi_uniffi_yniffi_fn_init_callback_vtable_yrsundomanagerobservationdelegate' in scope
2588 | }
2589 |
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2928:40: error: cannot find 'ffi_uniffi_yniffi_uniffi_contract_version' in scope
2926 | let bindings_contract_version = 26
2927 | // Get the scaffolding contract version by calling the into the dylib
2928 | let scaffolding_contract_version = ffi_uniffi_yniffi_uniffi_contract_version()
| `- error: cannot find 'ffi_uniffi_yniffi_uniffi_contract_version' in scope
2929 | if bindings_contract_version != scaffolding_contract_version {
2930 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2932:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_each' in scope
2930 | return InitializationResult.contractVersionMismatch
2931 | }
2932 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_each() != 62231 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_each' in scope
2933 | return InitializationResult.apiChecksumMismatch
2934 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2935:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_get' in scope
2933 | return InitializationResult.apiChecksumMismatch
2934 | }
2935 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_get() != 63631 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_get' in scope
2936 | return InitializationResult.apiChecksumMismatch
2937 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2938:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_insert' in scope
2936 | return InitializationResult.apiChecksumMismatch
2937 | }
2938 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_insert() != 50029 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_insert' in scope
2939 | return InitializationResult.apiChecksumMismatch
2940 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2941:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_insert_range' in scope
2939 | return InitializationResult.apiChecksumMismatch
2940 | }
2941 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_insert_range() != 7117 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_insert_range' in scope
2942 | return InitializationResult.apiChecksumMismatch
2943 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2944:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_length' in scope
2942 | return InitializationResult.apiChecksumMismatch
2943 | }
2944 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_length() != 39378 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_length' in scope
2945 | return InitializationResult.apiChecksumMismatch
2946 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2947:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_observe' in scope
2945 | return InitializationResult.apiChecksumMismatch
2946 | }
2947 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_observe() != 7991 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_observe' in scope
2948 | return InitializationResult.apiChecksumMismatch
2949 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2950:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_push_back' in scope
2948 | return InitializationResult.apiChecksumMismatch
2949 | }
2950 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_push_back() != 15550 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_push_back' in scope
2951 | return InitializationResult.apiChecksumMismatch
2952 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2953:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_push_front' in scope
2951 | return InitializationResult.apiChecksumMismatch
2952 | }
2953 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_push_front() != 8045 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_push_front' in scope
2954 | return InitializationResult.apiChecksumMismatch
2955 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2956:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_raw_ptr' in scope
2954 | return InitializationResult.apiChecksumMismatch
2955 | }
2956 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_raw_ptr() != 57629 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_raw_ptr' in scope
2957 | return InitializationResult.apiChecksumMismatch
2958 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2959:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_remove' in scope
2957 | return InitializationResult.apiChecksumMismatch
2958 | }
2959 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_remove() != 49300 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_remove' in scope
2960 | return InitializationResult.apiChecksumMismatch
2961 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2962:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_remove_range' in scope
2960 | return InitializationResult.apiChecksumMismatch
2961 | }
2962 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_remove_range() != 5300 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_remove_range' in scope
2963 | return InitializationResult.apiChecksumMismatch
2964 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2965:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_to_a' in scope
2963 | return InitializationResult.apiChecksumMismatch
2964 | }
2965 | if uniffi_uniffi_yniffi_checksum_method_yrsarray_to_a() != 10731 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarray_to_a' in scope
2966 | return InitializationResult.apiChecksumMismatch
2967 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2968:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_encode_diff_v1' in scope
2966 | return InitializationResult.apiChecksumMismatch
2967 | }
2968 | if uniffi_uniffi_yniffi_checksum_method_yrsdoc_encode_diff_v1() != 16238 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_encode_diff_v1' in scope
2969 | return InitializationResult.apiChecksumMismatch
2970 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2971:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_array' in scope
2969 | return InitializationResult.apiChecksumMismatch
2970 | }
2971 | if uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_array() != 64460 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_array' in scope
2972 | return InitializationResult.apiChecksumMismatch
2973 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2974:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_map' in scope
2972 | return InitializationResult.apiChecksumMismatch
2973 | }
2974 | if uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_map() != 11751 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_map' in scope
2975 | return InitializationResult.apiChecksumMismatch
2976 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2977:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_text' in scope
2975 | return InitializationResult.apiChecksumMismatch
2976 | }
2977 | if uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_text() != 33749 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_get_text' in scope
2978 | return InitializationResult.apiChecksumMismatch
2979 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2980:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_transact' in scope
2978 | return InitializationResult.apiChecksumMismatch
2979 | }
2980 | if uniffi_uniffi_yniffi_checksum_method_yrsdoc_transact() != 24297 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_transact' in scope
2981 | return InitializationResult.apiChecksumMismatch
2982 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2983:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_undo_manager' in scope
2981 | return InitializationResult.apiChecksumMismatch
2982 | }
2983 | if uniffi_uniffi_yniffi_checksum_method_yrsdoc_undo_manager() != 22583 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsdoc_undo_manager' in scope
2984 | return InitializationResult.apiChecksumMismatch
2985 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2986:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_clear' in scope
2984 | return InitializationResult.apiChecksumMismatch
2985 | }
2986 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_clear() != 58500 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_clear' in scope
2987 | return InitializationResult.apiChecksumMismatch
2988 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2989:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_contains_key' in scope
2987 | return InitializationResult.apiChecksumMismatch
2988 | }
2989 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_contains_key() != 62951 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_contains_key' in scope
2990 | return InitializationResult.apiChecksumMismatch
2991 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2992:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_each' in scope
2990 | return InitializationResult.apiChecksumMismatch
2991 | }
2992 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_each() != 3606 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_each' in scope
2993 | return InitializationResult.apiChecksumMismatch
2994 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2995:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_get' in scope
2993 | return InitializationResult.apiChecksumMismatch
2994 | }
2995 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_get() != 30941 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_get' in scope
2996 | return InitializationResult.apiChecksumMismatch
2997 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:2998:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_insert' in scope
2996 | return InitializationResult.apiChecksumMismatch
2997 | }
2998 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_insert() != 48558 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_insert' in scope
2999 | return InitializationResult.apiChecksumMismatch
3000 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3001:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_keys' in scope
2999 | return InitializationResult.apiChecksumMismatch
3000 | }
3001 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_keys() != 31471 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_keys' in scope
3002 | return InitializationResult.apiChecksumMismatch
3003 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3004:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_length' in scope
3002 | return InitializationResult.apiChecksumMismatch
3003 | }
3004 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_length() != 64910 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_length' in scope
3005 | return InitializationResult.apiChecksumMismatch
3006 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3007:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_observe' in scope
3005 | return InitializationResult.apiChecksumMismatch
3006 | }
3007 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_observe() != 12647 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_observe' in scope
3008 | return InitializationResult.apiChecksumMismatch
3009 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3010:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_raw_ptr' in scope
3008 | return InitializationResult.apiChecksumMismatch
3009 | }
3010 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_raw_ptr() != 14101 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_raw_ptr' in scope
3011 | return InitializationResult.apiChecksumMismatch
3012 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3013:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_remove' in scope
3011 | return InitializationResult.apiChecksumMismatch
3012 | }
3013 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_remove() != 48362 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_remove' in scope
3014 | return InitializationResult.apiChecksumMismatch
3015 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3016:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_values' in scope
3014 | return InitializationResult.apiChecksumMismatch
3015 | }
3016 | if uniffi_uniffi_yniffi_checksum_method_yrsmap_values() != 31747 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmap_values' in scope
3017 | return InitializationResult.apiChecksumMismatch
3018 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3019:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_append' in scope
3017 | return InitializationResult.apiChecksumMismatch
3018 | }
3019 | if uniffi_uniffi_yniffi_checksum_method_yrstext_append() != 7637 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_append' in scope
3020 | return InitializationResult.apiChecksumMismatch
3021 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3022:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_format' in scope
3020 | return InitializationResult.apiChecksumMismatch
3021 | }
3022 | if uniffi_uniffi_yniffi_checksum_method_yrstext_format() != 43452 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_format' in scope
3023 | return InitializationResult.apiChecksumMismatch
3024 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3025:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_get_string' in scope
3023 | return InitializationResult.apiChecksumMismatch
3024 | }
3025 | if uniffi_uniffi_yniffi_checksum_method_yrstext_get_string() != 57825 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_get_string' in scope
3026 | return InitializationResult.apiChecksumMismatch
3027 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3028:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert' in scope
3026 | return InitializationResult.apiChecksumMismatch
3027 | }
3028 | if uniffi_uniffi_yniffi_checksum_method_yrstext_insert() != 7968 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert' in scope
3029 | return InitializationResult.apiChecksumMismatch
3030 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3031:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert_embed' in scope
3029 | return InitializationResult.apiChecksumMismatch
3030 | }
3031 | if uniffi_uniffi_yniffi_checksum_method_yrstext_insert_embed() != 2895 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert_embed' in scope
3032 | return InitializationResult.apiChecksumMismatch
3033 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3034:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert_embed_with_attributes' in scope
3032 | return InitializationResult.apiChecksumMismatch
3033 | }
3034 | if uniffi_uniffi_yniffi_checksum_method_yrstext_insert_embed_with_attributes() != 25810 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert_embed_with_attributes' in scope
3035 | return InitializationResult.apiChecksumMismatch
3036 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3037:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert_with_attributes' in scope
3035 | return InitializationResult.apiChecksumMismatch
3036 | }
3037 | if uniffi_uniffi_yniffi_checksum_method_yrstext_insert_with_attributes() != 54237 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_insert_with_attributes' in scope
3038 | return InitializationResult.apiChecksumMismatch
3039 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3040:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_length' in scope
3038 | return InitializationResult.apiChecksumMismatch
3039 | }
3040 | if uniffi_uniffi_yniffi_checksum_method_yrstext_length() != 40452 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_length' in scope
3041 | return InitializationResult.apiChecksumMismatch
3042 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3043:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_observe' in scope
3041 | return InitializationResult.apiChecksumMismatch
3042 | }
3043 | if uniffi_uniffi_yniffi_checksum_method_yrstext_observe() != 45326 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_observe' in scope
3044 | return InitializationResult.apiChecksumMismatch
3045 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3046:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_raw_ptr' in scope
3044 | return InitializationResult.apiChecksumMismatch
3045 | }
3046 | if uniffi_uniffi_yniffi_checksum_method_yrstext_raw_ptr() != 42166 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_raw_ptr' in scope
3047 | return InitializationResult.apiChecksumMismatch
3048 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3049:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_remove_range' in scope
3047 | return InitializationResult.apiChecksumMismatch
3048 | }
3049 | if uniffi_uniffi_yniffi_checksum_method_yrstext_remove_range() != 46008 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstext_remove_range' in scope
3050 | return InitializationResult.apiChecksumMismatch
3051 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3052:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_free' in scope
3050 | return InitializationResult.apiChecksumMismatch
3051 | }
3052 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_free() != 42613 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_free' in scope
3053 | return InitializationResult.apiChecksumMismatch
3054 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3055:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_origin' in scope
3053 | return InitializationResult.apiChecksumMismatch
3054 | }
3055 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_origin() != 47344 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_origin' in scope
3056 | return InitializationResult.apiChecksumMismatch
3057 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3058:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_apply_update' in scope
3056 | return InitializationResult.apiChecksumMismatch
3057 | }
3058 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_apply_update() != 45997 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_apply_update' in scope
3059 | return InitializationResult.apiChecksumMismatch
3060 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3061:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_state_as_update' in scope
3059 | return InitializationResult.apiChecksumMismatch
3060 | }
3061 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_state_as_update() != 14549 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_state_as_update' in scope
3062 | return InitializationResult.apiChecksumMismatch
3063 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3064:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_state_as_update_from_sv' in scope
3062 | return InitializationResult.apiChecksumMismatch
3063 | }
3064 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_state_as_update_from_sv() != 63667 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_state_as_update_from_sv' in scope
3065 | return InitializationResult.apiChecksumMismatch
3066 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3067:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_update' in scope
3065 | return InitializationResult.apiChecksumMismatch
3066 | }
3067 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_update() != 31285 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_encode_update' in scope
3068 | return InitializationResult.apiChecksumMismatch
3069 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3070:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_array' in scope
3068 | return InitializationResult.apiChecksumMismatch
3069 | }
3070 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_array() != 34650 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_array' in scope
3071 | return InitializationResult.apiChecksumMismatch
3072 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3073:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_map' in scope
3071 | return InitializationResult.apiChecksumMismatch
3072 | }
3073 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_map() != 24782 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_map' in scope
3074 | return InitializationResult.apiChecksumMismatch
3075 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3076:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_text' in scope
3074 | return InitializationResult.apiChecksumMismatch
3075 | }
3076 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_text() != 54845 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_get_text' in scope
3077 | return InitializationResult.apiChecksumMismatch
3078 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3079:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_state_vector' in scope
3077 | return InitializationResult.apiChecksumMismatch
3078 | }
3079 | if uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_state_vector() != 39028 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstransaction_transaction_state_vector' in scope
3080 | return InitializationResult.apiChecksumMismatch
3081 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3082:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundoevent_has_changed' in scope
3080 | return InitializationResult.apiChecksumMismatch
3081 | }
3082 | if uniffi_uniffi_yniffi_checksum_method_yrsundoevent_has_changed() != 20294 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundoevent_has_changed' in scope
3083 | return InitializationResult.apiChecksumMismatch
3084 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3085:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundoevent_kind' in scope
3083 | return InitializationResult.apiChecksumMismatch
3084 | }
3085 | if uniffi_uniffi_yniffi_checksum_method_yrsundoevent_kind() != 16700 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundoevent_kind' in scope
3086 | return InitializationResult.apiChecksumMismatch
3087 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3088:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundoevent_origin' in scope
3086 | return InitializationResult.apiChecksumMismatch
3087 | }
3088 | if uniffi_uniffi_yniffi_checksum_method_yrsundoevent_origin() != 43650 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundoevent_origin' in scope
3089 | return InitializationResult.apiChecksumMismatch
3090 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3091:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_add_origin' in scope
3089 | return InitializationResult.apiChecksumMismatch
3090 | }
3091 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_add_origin() != 26206 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_add_origin' in scope
3092 | return InitializationResult.apiChecksumMismatch
3093 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3094:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_add_scope' in scope
3092 | return InitializationResult.apiChecksumMismatch
3093 | }
3094 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_add_scope() != 20994 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_add_scope' in scope
3095 | return InitializationResult.apiChecksumMismatch
3096 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3097:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_clear' in scope
3095 | return InitializationResult.apiChecksumMismatch
3096 | }
3097 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_clear() != 62142 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_clear' in scope
3098 | return InitializationResult.apiChecksumMismatch
3099 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3100:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_added' in scope
3098 | return InitializationResult.apiChecksumMismatch
3099 | }
3100 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_added() != 56228 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_added' in scope
3101 | return InitializationResult.apiChecksumMismatch
3102 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3103:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_popped' in scope
3101 | return InitializationResult.apiChecksumMismatch
3102 | }
3103 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_popped() != 53414 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_popped' in scope
3104 | return InitializationResult.apiChecksumMismatch
3105 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3106:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_updated' in scope
3104 | return InitializationResult.apiChecksumMismatch
3105 | }
3106 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_updated() != 19534 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_observe_updated' in scope
3107 | return InitializationResult.apiChecksumMismatch
3108 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3109:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_redo' in scope
3107 | return InitializationResult.apiChecksumMismatch
3108 | }
3109 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_redo() != 5163 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_redo' in scope
3110 | return InitializationResult.apiChecksumMismatch
3111 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3112:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_remove_origin' in scope
3110 | return InitializationResult.apiChecksumMismatch
3111 | }
3112 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_remove_origin() != 14248 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_remove_origin' in scope
3113 | return InitializationResult.apiChecksumMismatch
3114 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3115:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_undo' in scope
3113 | return InitializationResult.apiChecksumMismatch
3114 | }
3115 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_undo() != 44889 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_undo' in scope
3116 | return InitializationResult.apiChecksumMismatch
3117 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3118:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_wrap_changes' in scope
3116 | return InitializationResult.apiChecksumMismatch
3117 | }
3118 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanager_wrap_changes() != 6579 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanager_wrap_changes' in scope
3119 | return InitializationResult.apiChecksumMismatch
3120 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3121:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_constructor_yrsdoc_new' in scope
3119 | return InitializationResult.apiChecksumMismatch
3120 | }
3121 | if uniffi_uniffi_yniffi_checksum_constructor_yrsdoc_new() != 51551 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_constructor_yrsdoc_new' in scope
3122 | return InitializationResult.apiChecksumMismatch
3123 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3124:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarrayeachdelegate_call' in scope
3122 | return InitializationResult.apiChecksumMismatch
3123 | }
3124 | if uniffi_uniffi_yniffi_checksum_method_yrsarrayeachdelegate_call() != 23816 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarrayeachdelegate_call' in scope
3125 | return InitializationResult.apiChecksumMismatch
3126 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3127:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarrayobservationdelegate_call' in scope
3125 | return InitializationResult.apiChecksumMismatch
3126 | }
3127 | if uniffi_uniffi_yniffi_checksum_method_yrsarrayobservationdelegate_call() != 34683 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsarrayobservationdelegate_call' in scope
3128 | return InitializationResult.apiChecksumMismatch
3129 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3130:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmapiteratordelegate_call' in scope
3128 | return InitializationResult.apiChecksumMismatch
3129 | }
3130 | if uniffi_uniffi_yniffi_checksum_method_yrsmapiteratordelegate_call() != 18340 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmapiteratordelegate_call' in scope
3131 | return InitializationResult.apiChecksumMismatch
3132 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3133:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmapkviteratordelegate_call' in scope
3131 | return InitializationResult.apiChecksumMismatch
3132 | }
3133 | if uniffi_uniffi_yniffi_checksum_method_yrsmapkviteratordelegate_call() != 54620 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmapkviteratordelegate_call' in scope
3134 | return InitializationResult.apiChecksumMismatch
3135 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3136:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmapobservationdelegate_call' in scope
3134 | return InitializationResult.apiChecksumMismatch
3135 | }
3136 | if uniffi_uniffi_yniffi_checksum_method_yrsmapobservationdelegate_call() != 51216 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsmapobservationdelegate_call' in scope
3137 | return InitializationResult.apiChecksumMismatch
3138 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3139:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstextobservationdelegate_call' in scope
3137 | return InitializationResult.apiChecksumMismatch
3138 | }
3139 | if uniffi_uniffi_yniffi_checksum_method_yrstextobservationdelegate_call() != 16633 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrstextobservationdelegate_call' in scope
3140 | return InitializationResult.apiChecksumMismatch
3141 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.swift:3142:8: error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanagerobservationdelegate_call' in scope
3140 | return InitializationResult.apiChecksumMismatch
3141 | }
3142 | if uniffi_uniffi_yniffi_checksum_method_yrsundomanagerobservationdelegate_call() != 35430 {
| `- error: cannot find 'uniffi_uniffi_yniffi_checksum_method_yrsundomanagerobservationdelegate_call' in scope
3143 | return InitializationResult.apiChecksumMismatch
3144 | }
/host/spi-builder-workspace/lib/swift/scaffold/yniffi.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/lib/swift/scaffold/yniffi.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_uniffi_yniffi_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
BUILD FAILURE 6.0 linux