Build Information
Failed to build ZcashLightClientKit, reference main (d2e036), with Swift 6.2 for macOS (SPM) on 4 Sep 2026 18:49:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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/1376] Compiling ZcashLightClientKit WalletSummary+FFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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/1376] Compiling ZcashLightClientKit ZcashEip681Backend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1340/1376] Compiling ZcashLightClientKit ZcashKeyDerivationBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1341/1376] Compiling ZcashLightClientKit ZcashKeyDerivationBackendWelding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1342/1376] Compiling ZcashLightClientKit ZcashRustBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1343/1376] Compiling ZcashLightClientKit ZcashRustBackendWelding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1344/1376] Compiling ZcashLightClientKit Synchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1345/1376] Compiling ZcashLightClientKit ClosureSDKSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1346/1376] Compiling ZcashLightClientKit CombineSDKSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:170:65: error: extra arguments at positions #10, #11, #12 in call
168 | notesBytes.withUnsafeBufferPointer { notesBuf in
169 | urlBytes.withUnsafeBufferPointer { urlBuf in
170 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
171 | dbh,
172 | 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:401:55: error: extra arguments at positions #6, #7 in call
399 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
400 | txHashBytes.withUnsafeBufferPointer { txBuf in
401 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
402 | dbh,
403 | 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:450:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
448 | txHashBytes.withUnsafeBufferPointer { txBuf in
449 | eventsBytes.withUnsafeBufferPointer { evBuf in
450 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
451 | dbh,
452 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:550:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
548 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
549 | bundleBytes.withUnsafeBufferPointer { buf in
550 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
551 | buf.baseAddress,
552 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:583:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
581 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
582 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
583 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
584 | }
585 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1297:59: error: missing arguments for parameters #10, #11 in call
1295 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1296 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1297 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1298 | dbh,
1299 | 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:1306:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1304 | urlsBuf.baseAddress,
1305 | UInt(urlsBuf.count),
1306 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1307 | )
1308 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1421:56: error: missing arguments for parameters #2, #3 in call
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1422 | throw VotingRustBackendError.rustError(
1423 | 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:1421:56: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1419 | /// with the same care as any other key material.
1420 | public static func generateHotkey(networkId: UInt32) throws -> VotingHotkey {
1421 | guard let ptr = zcashlc_voting_generate_hotkey(networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1422 | throw VotingRustBackendError.rustError(
1423 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1473:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1471 | bundleCount: raw.bundle_count,
1472 | eligibleWeight: raw.eligible_weight,
1473 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1474 | )
1475 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1514:62: error: extra arguments at positions #13, #14, #15, #16 in call
1512 | keys.seedFingerprint.withUnsafeBufferPointer { fpBuf in
1513 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1514 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1515 | dbh,
1516 | 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:1525:48: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1523 | secretBuf.baseAddress,
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1526 | fpBuf.baseAddress,
1527 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1526:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1524 | UInt(secretBuf.count),
1525 | params.consensusBranchId,
1526 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1527 | UInt(fpBuf.count),
1528 | keys.accountIndex,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1631:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1629 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1630 | seed.withUnsafeBufferPointer { seedBuf in
1631 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1632 | dbh,
1633 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1696:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1694 | signature.withUnsafeBufferPointer { sigBuf in
1695 | sighash.withUnsafeBufferPointer { shBuf in
1696 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1697 | dbh,
1698 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1911:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1909 | draft.hotkeyStoredSecret.withUnsafeBufferPointer { secretBuf in
1910 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1911 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1912 | dbh,
1913 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2056:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2054 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2055 | urlBytes.withUnsafeBufferPointer { urlBuf in
2056 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2057 | dbh,
2058 | 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:2069:50: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2067 | fpBuf.baseAddress,
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2070:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2068 | UInt(fpBuf.count),
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2071 | UInt(nameBuf.count),
2072 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | 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
2072 | urlBuf.baseAddress,
2073 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2072:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
2072 | 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
2073 | UInt(urlBuf.count),
2074 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2071:50: error: missing argument label 'exactly:' in call
2069 | keys.accountIndex,
2070 | nameBuf.baseAddress,
2071 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2072 | urlBuf.baseAddress,
2073 | 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)
[1347/1376] Compiling ZcashLightClientKit ZcashNetwork+IronwoodActivation.swift
[1348/1376] Compiling ZcashLightClientKit LightWalletGRPCService.swift
[1349/1376] Compiling ZcashLightClientKit Protocolbuffer+Extensions.swift
[1350/1376] Compiling ZcashLightClientKit compact_formats.pb.swift
[1351/1376] Compiling ZcashLightClientKit proposal.pb.swift
[1352/1376] Compiling ZcashLightClientKit service.grpc.swift
[1353/1376] Compiling ZcashLightClientKit service.pb.swift
[1354/1376] Compiling ZcashLightClientKit LightWalletService.swift
[1355/1376] Compiling ZcashLightClientKit LightWalletGRPCServiceOverTor.swift
[1356/1376] Compiling ZcashLightClientKit LatestBlocksDataProvider.swift
[1357/1376] Compiling ZcashLightClientKit ResourceProvider.swift
[1358/1376] Compiling ZcashLightClientKit BlockRepository.swift
[1359/1376] Compiling ZcashLightClientKit CompactBlockRepository.swift
[1360/1376] Compiling ZcashLightClientKit NotesRepository.swift
[1361/1376] Compiling ZcashLightClientKit PaginatedTransactionRepository.swift
[1362/1376] Compiling ZcashLightClientKit Clamped.swift
[1363/1376] Compiling ZcashLightClientKit DBActor.swift
[1364/1376] Compiling ZcashLightClientKit DIContainer.swift
[1365/1376] Compiling ZcashLightClientKit GenericActor.swift
[1366/1376] Compiling ZcashLightClientKit LoggingProxy.swift
[1367/1376] Compiling ZcashLightClientKit OSLogger.swift
[1368/1376] Compiling ZcashLightClientKit SDKFlags.swift
[1369/1376] Compiling ZcashLightClientKit SaplingParameterDownloader.swift
[1370/1376] Compiling ZcashLightClientKit SpecificCombineTypes.swift
[1371/1376] Compiling ZcashLightClientKit SyncSessionIDGenerator.swift
[1372/1376] Compiling ZcashLightClientKit Task+sleep.swift
[1373/1376] Compiling ZcashLightClientKit UsedAliasesChecker.swift
[1374/1376] Compiling ZcashLightClientKit WitnessesFixGate.swift
[1375/1376] Compiling ZcashLightClientKit ZcashFileManager.swift
[1376/1376] Compiling ZcashLightClientKit resource_bundle_accessor.swift
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/grpc/grpc-swift.git
[1/11288] Fetching sqlite.swift
[2033/62892] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.93s)
[14450/51604] Fetching grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (2.90s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (3.47s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (2.17s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
[1/2860] Fetching swift-nio-transport-services
[2/10875] Fetching swift-nio-transport-services, swift-log
[3/12750] Fetching swift-nio-transport-services, swift-log, swift-atomics
[239/19419] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras
[1153/31668] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras, swift-nio-http2
[10740/47700] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[22635/101746] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-atomics.git from cache (2.06s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.06s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.06s)
[17723/80953] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-collections.git
[22529/108089] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl, swift-protobuf, swift-collections
[31301/193864] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl, swift-protobuf, swift-collections, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.28s)
Fetched https://github.com/apple/swift-collections.git from cache (8.28s)
[55607/80953] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (19.18s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (19.18s)
Fetched https://github.com/apple/swift-log.git from cache (19.18s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (19.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (19.74s)
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.55s)
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.53s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.61s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.75s)
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-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1918] Fetching swift-http-types
[2/3171] Fetching swift-http-types, swift-http-structured-headers
[110/5120] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[277/7942] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[613/14076] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms
[1484/21607] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.06s)
[5958/20354] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (1.10s)
[4306/18405] Fetching swift-http-types, swift-service-lifecycle, swift-algorithms, swift-certificates
[16072/25121] Fetching swift-http-types, swift-service-lifecycle, swift-algorithms, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (1.49s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.49s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.49s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.49s)
[269/6716] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.84s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/6584] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.96s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.54s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.60s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.7.0 (0.55s)
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.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.2 (0.63s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.4 (0.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (0.73s)
Fetching https://github.com/apple/swift-system.git
[1/6854] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.37s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.20.0 (2.06s)
Fetching https://github.com/apple/swift-crypto.git
[1/18478] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (3.80s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.87s)
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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.20.0
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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.102.0
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.12.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-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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.4
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.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.0
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.16.0
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.5
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/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.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
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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.7.0
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.18s)
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