Build Information
Failed to build ZcashLightClientKit, reference main (d2e036), with Swift 6.3 for macOS (SPM) on 4 Sep 2026 18:53:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
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)
[1222/1275] 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)
[1223/1275] 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)
[1224/1275] 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)
[1225/1275] 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)
[1226/1275] 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)
[1227/1275] 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)
[1228/1275] 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)
[1229/1275] 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)
[1230/1290] Compiling ZcashLightClientKit Data+Zcash.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1231/1290] Compiling ZcashLightClientKit Data+internal.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1232/1290] Compiling ZcashLightClientKit Error+ZcashError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1233/1290] Compiling ZcashLightClientKit HexEncode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1234/1290] Compiling ZcashLightClientKit Int+ToData.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1235/1290] Compiling ZcashLightClientKit NumberFormatter+Zcash.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1236/1290] Compiling ZcashLightClientKit URL+UpdateWithAlias.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1237/1290] Compiling ZcashLightClientKit Undescribable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1238/1290] Compiling ZcashLightClientKit Zatoshi+SQLite.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1239/1290] Compiling ZcashLightClientKit ZcashRust+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1240/1290] Compiling ZcashLightClientKit ZcashSDK+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1241/1290] Compiling ZcashLightClientKit Initializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1242/1290] Compiling ZcashLightClientKit SDKMetrics.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1243/1290] Compiling ZcashLightClientKit ChainTipEstimator.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1244/1290] Compiling ZcashLightClientKit MigrationBroadcaster.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1245/1290] Compiling ZcashLightClientKit MigrationSyncGate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Extensions/Zatoshi+SQLite.swift:10:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
8 | import SQLite
9 |
10 | extension Zatoshi: Value {
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zatoshi'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
11 | public static let declaredDatatype = Int64.declaredDatatype
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Model/Zatoshi.swift:29:16: warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
27 |
28 | @Clamped(-Constants.maxZatoshi...Constants.maxZatoshi)
29 | public var amount: Int64 = 0
| `- warning: stored property '_amount' of 'Sendable'-conforming struct 'Zatoshi' has non-Sendable type 'Clamped<Int64>'; this is an error in the Swift 6 language mode
30 |
31 | /// Converts `Zatoshi` to `NSDecimalNumber`
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Utils/Clamped.swift:14:15: note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
12 | */
13 | @propertyWrapper
14 | public struct Clamped<Value: Comparable> {
| `- note: consider making generic struct 'Clamped' conform to the 'Sendable' protocol
15 | private var value: Value
16 | private let range: ClosedRange<Value>
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Migration/MigrationBroadcaster.swift:92:96: warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
90 | /// instance bootstrap the shared directory at most once (see ``dedicatedTorClient()``).
91 | init(torDirURL: URL, logger: Logger) {
92 | self.init(torDirURL: torDirURL, logger: logger, torClientFactory: MigrationBroadcaster.bootstrapTorClient)
| `- warning: converting non-Sendable function value to '@Sendable (URL) async throws -> TorClient' may introduce data races
93 | }
94 |
[1246/1290] Compiling ZcashLightClientKit Dependencies.swift
[1247/1290] Compiling ZcashLightClientKit SDKBroadcaster.swift
[1248/1290] Compiling ZcashLightClientKit SDKSynchronizer.swift
[1249/1290] Compiling ZcashLightClientKit DerivationTool.swift
[1250/1290] Compiling ZcashLightClientKit TorClient.swift
[1251/1290] Compiling ZcashLightClientKit EndpointSubmitter.swift
[1252/1290] Compiling ZcashLightClientKit MultiEndpointSubmitter.swift
[1253/1290] Compiling ZcashLightClientKit SubmitPlanExecutor.swift
[1254/1290] Compiling ZcashLightClientKit SubmitPlanStore.swift
[1255/1290] Compiling ZcashLightClientKit TransactionEncoder.swift
[1256/1290] Compiling ZcashLightClientKit TxResubmitter.swift
[1257/1290] Compiling ZcashLightClientKit WalletTransactionEncoder.swift
[1258/1290] Compiling ZcashLightClientKit AsyncToClosureGateway.swift
[1259/1290] Compiling ZcashLightClientKit AsyncToCombineGateway.swift
[1260/1290] Compiling ZcashLightClientKit BackupExcludedStorage.swift
[1261/1290] Compiling ZcashLightClientKit ZcashNetwork+IronwoodActivation.swift
[1262/1290] Compiling ZcashLightClientKit LightWalletGRPCService.swift
[1263/1290] Compiling ZcashLightClientKit Protocolbuffer+Extensions.swift
[1264/1290] Compiling ZcashLightClientKit compact_formats.pb.swift
[1265/1290] Compiling ZcashLightClientKit proposal.pb.swift
[1266/1290] Compiling ZcashLightClientKit service.grpc.swift
[1267/1290] Compiling ZcashLightClientKit service.pb.swift
[1268/1290] Compiling ZcashLightClientKit LightWalletService.swift
[1269/1290] Compiling ZcashLightClientKit LightWalletGRPCServiceOverTor.swift
[1270/1290] Compiling ZcashLightClientKit LatestBlocksDataProvider.swift
[1271/1290] Compiling ZcashLightClientKit ResourceProvider.swift
[1272/1290] Compiling ZcashLightClientKit BlockRepository.swift
[1273/1290] Compiling ZcashLightClientKit CompactBlockRepository.swift
[1274/1290] Compiling ZcashLightClientKit NotesRepository.swift
[1275/1290] Compiling ZcashLightClientKit PaginatedTransactionRepository.swift
[1276/1290] Compiling ZcashLightClientKit Clamped.swift
[1277/1290] Compiling ZcashLightClientKit DBActor.swift
[1278/1290] Compiling ZcashLightClientKit DIContainer.swift
[1279/1290] Compiling ZcashLightClientKit GenericActor.swift
[1280/1290] Compiling ZcashLightClientKit LoggingProxy.swift
[1281/1290] Compiling ZcashLightClientKit OSLogger.swift
[1282/1290] Compiling ZcashLightClientKit SDKFlags.swift
[1283/1290] Compiling ZcashLightClientKit SaplingParameterDownloader.swift
[1284/1290] Compiling ZcashLightClientKit SpecificCombineTypes.swift
[1285/1290] Compiling ZcashLightClientKit SyncSessionIDGenerator.swift
[1286/1290] Compiling ZcashLightClientKit Task+sleep.swift
[1287/1290] Compiling ZcashLightClientKit UsedAliasesChecker.swift
[1288/1290] Compiling ZcashLightClientKit WitnessesFixGate.swift
[1289/1290] Compiling ZcashLightClientKit ZcashFileManager.swift
[1290/1290] Compiling ZcashLightClientKit resource_bundle_accessor.swift
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.3 macosSpm