The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZcashLightClientKit, reference main (ebd0ad), with Swift 6.2 for macOS (SPM) on 28 Oct 2026 03:04:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1330/1353] Compiling ZcashLightClientKit WalletSummary+FFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1331/1353] Compiling ZcashLightClientKit ZcashEip681Backend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1332/1353] Compiling ZcashLightClientKit ZcashKeyDerivationBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1333/1353] Compiling ZcashLightClientKit ZcashKeyDerivationBackendWelding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1334/1353] Compiling ZcashLightClientKit ZcashRustBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1335/1353] Compiling ZcashLightClientKit ZcashRustBackendWelding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1336/1353] Compiling ZcashLightClientKit Synchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1337/1353] Compiling ZcashLightClientKit ClosureSDKSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1338/1353] Compiling ZcashLightClientKit CombineSDKSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
    | `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
 192 |                 notesBytes.withUnsafeBufferPointer { notesBuf in
 193 |                     urlBytes.withUnsafeBufferPointer { urlBuf in
 194 |                         zcashlc_voting_precompute_delegation_pir(
     |                                                                 `- error: extra arguments at positions #10, #11, #12 in call
 195 |                             dbh,
 196 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 |  */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 |                                                                const uint8_t *round_id,
5275 |                                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
 426 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
 427 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 428 |                     zcashlc_voting_mark_vote_submitted(
     |                                                       `- error: extra arguments at positions #6, #7 in call
 429 |                         dbh,
 430 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 |  *   bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 |  */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 |                                            const uint8_t *round_id,
6126 |                                            uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 475 |                 txHashBytes.withUnsafeBufferPointer { txBuf in
 476 |                     eventsBytes.withUnsafeBufferPointer { evBuf in
 477 |                         zcashlc_voting_confirm_vote_submission(
     |                         `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
 478 |                             dbh,
 479 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 580 |         let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
 581 |             bundleBytes.withUnsafeBufferPointer { buf in
 582 |                 zcashlc_voting_recover_wire_json(
     |                 `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
 583 |                     buf.baseAddress,
 584 |                     UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 613 |         let bundleBytes = [UInt8](commitmentBundleJson.utf8)
 614 |         let ptr = bundleBytes.withUnsafeBufferPointer { buf in
 615 |             zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
     |             `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
 616 |         }
 617 |         guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 |             let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 |                 urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 |                     zcashlc_voting_record_share_delegation(
     |                                                           `- error: missing arguments for parameters #10, #11 in call
1331 |                         dbh,
1332 |                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 |  * - `sent_to_urls_json` must be a JSON array of strings.
5794 |  */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
     |         `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 |                                                const uint8_t *round_id,
5797 |                                                uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 |                         urlsBuf.baseAddress,
1338 |                         UInt(urlsBuf.count),
1339 |                         submitAt
     |                         `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 |                     )
1341 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                        `- error: missing arguments for parameters #2, #3 in call
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 |  * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 |  */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
     |                         `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 |                                                        const uint8_t *stored_secret,
5153 |                                                        uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 |     /// with the same care as any other key material.
1453 |     public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 |         guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
     |                                                                `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 |             throw VotingRustBackendError.rustError(
1456 |                 staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 |             bundleCount: raw.bundle_count,
1507 |             eligibleWeight: raw.eligible_weight,
1508 |             droppedCount: raw.dropped_count
     |                               `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 |         )
1510 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 |                             keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 |                                     zcashlc_voting_build_pczt(
     |                                                              `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 |                                         dbh,
1555 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 |  *   non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 |  */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_pczt' declared here
5204 |                                                 const uint8_t *round_id,
5205 |                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 |                                         secretBuf.baseAddress,
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
     |                                         `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 |                                         fpBuf.baseAddress,
1566 |                                         UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 |                                         UInt(secretBuf.count),
1564 |                                         UInt32(bitPattern: params.consensusBranchId),
1565 |                                         fpBuf.baseAddress,
     |                                               `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 |                                         UInt(fpBuf.count),
1567 |                                         keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 |                             roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 |                                 seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 |                                     zcashlc_voting_sign_delegation_request(
     |                                     `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 |                                         dbh,
1662 |                                         ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 |                 signature.withUnsafeBufferPointer { sigBuf in
1724 |                     sighash.withUnsafeBufferPointer { shBuf in
1725 |                         zcashlc_voting_get_delegation_submission_with_signature(
     |                         `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 |                             dbh,
1727 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 |                 draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 |                     authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 |                         zcashlc_voting_commit_vote(
     |                         `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 |                             dbh,
1954 |                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 |                                 roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 |                                     urlBytes.withUnsafeBufferPointer { urlBuf in
2097 |                                         zcashlc_voting_build_and_prove_delegation(
     |                                                                                  `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 |                                             dbh,
2099 |                                             ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 |  *   `zcashlc_voting_build_vote_commitment`.
5299 |  */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
     |                       `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 |                                                                 const uint8_t *round_id,
5302 |                                                                 uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 |                                             fpBuf.baseAddress,
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
     |                                                               `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 |                                             UInt(fpBuf.count),
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
     |                                                     `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                             |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
     |                                             `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
2113 |                                             urlBuf.baseAddress,
     |                                                    |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
     |                                                    `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 |                                             UInt(urlBuf.count),
2115 |                                             pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 |                                             keys.accountIndex.index,
2111 |                                             nameBuf.baseAddress,
2112 |                                             UInt(nameBuf.count),
     |                                                  `- error: missing argument label 'exactly:' in call
2113 |                                             urlBuf.baseAddress,
2114 |                                             UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 |     guard let report = zcashlc_take_last_error_report() else {
     |                        `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 |         return RedactedRustError(kind: .unclassified, message: fallback)
2728 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 |     }
2729 |
2730 |     defer { zcashlc_free_error_report(report) }
     |             `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 |     let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1339/1353] Compiling ZcashLightClientKit LightWalletGRPCService.swift
[1340/1353] Compiling ZcashLightClientKit Protocolbuffer+Extensions.swift
[1341/1353] Compiling ZcashLightClientKit compact_formats.pb.swift
[1342/1353] Compiling ZcashLightClientKit proposal.pb.swift
[1343/1353] Compiling ZcashLightClientKit service.grpc.swift
[1344/1353] Compiling ZcashLightClientKit service.pb.swift
[1345/1353] Compiling ZcashLightClientKit LightWalletService.swift
[1346/1353] Compiling ZcashLightClientKit LightWalletGRPCServiceOverTor.swift
[1347/1353] Compiling ZcashLightClientKit LatestBlocksDataProvider.swift
[1348/1353] Compiling ZcashLightClientKit ResourceProvider.swift
[1349/1353] Compiling ZcashLightClientKit BlockRepository.swift
[1350/1353] Compiling ZcashLightClientKit CompactBlockRepository.swift
[1351/1353] Compiling ZcashLightClientKit NotesRepository.swift
[1352/1353] Compiling ZcashLightClientKit PaginatedTransactionRepository.swift
[1353/1353] Compiling ZcashLightClientKit TransactionRepository.swift
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11501] Fetching sqlite.swift
[5752/63105] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (2.78s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.78s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.17.0 (3.46s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (2.38s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[2/4760] Fetching swift-nio-transport-services, swift-atomics
[2165/13141] Fetching swift-nio-transport-services, swift-atomics, swift-log
[4580/30035] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-ssl
[8118/36745] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras
[29482/66107] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras, swift-collections
[38903/121787] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras, swift-collections, swift-protobuf
Fetched https://github.com/apple/swift-collections.git from cache (3.38s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.38s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.38s)
Fetching https://github.com/apple/swift-nio-http2.git
[28677/72664] Fetching swift-atomics, swift-log, swift-nio-extras, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
[39257/84983] Fetching swift-atomics, swift-log, swift-nio-extras, swift-protobuf, swift-nio-http2
[57701/171674] Fetching swift-atomics, swift-log, swift-nio-extras, swift-protobuf, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.30s)
[55658/159355] Fetching swift-atomics, swift-log, swift-nio-extras, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (9.24s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (9.24s)
Fetched https://github.com/apple/swift-atomics.git from cache (9.24s)
Fetched https://github.com/apple/swift-protobuf.git from cache (9.24s)
Fetched https://github.com/apple/swift-nio.git from cache (5.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (9.89s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.55s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (0.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.64s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.76s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[53/3245] Fetching swift-http-structured-headers, swift-http-types
[1692/6131] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[2365/13738] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates
[3930/19897] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates, swift-algorithms
[13150/21948] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates, swift-algorithms, swift-asn1
[19794/28773] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates, swift-algorithms, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (1.22s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.22s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.25s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.26s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.26s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.26s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.26s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.94s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.33s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.54s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.53s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.56s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.65s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.72s)
Fetching https://github.com/apple/swift-system.git
[1/7381] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (1.57s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.72s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (2.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.91s)
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.17.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Downloading binary artifact https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/3.0.0/libzcashlc.xcframework.zip
[16375/91033856] Downloading https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/3.0.0/libzcashlc.xcframework.zip
Downloaded https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/3.0.0/libzcashlc.xcframework.zip (4.32s)
warning: 'spi-builder-workspace': Source files for target DarksideTests should be located under 'Tests/DarksideTests', or a custom sources path can be set with the 'path' property in Package.swift
BUILD FAILURE 6.2 macosSpm