Build Information
Failed to build ZcashLightClientKit, reference main (ebd0ad), with Swift 6.3 for macOS (SPM) on 29 Oct 2026 00:44:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1330/1353] Compiling ZcashLightClientKit WalletSummary+FFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1331/1353] Compiling ZcashLightClientKit ZcashEip681Backend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1332/1353] Compiling ZcashLightClientKit ZcashKeyDerivationBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1333/1353] Compiling ZcashLightClientKit ZcashKeyDerivationBackendWelding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1334/1353] Compiling ZcashLightClientKit ZcashRustBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1335/1353] Compiling ZcashLightClientKit ZcashRustBackendWelding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1336/1353] Compiling ZcashLightClientKit Synchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1337/1353] Compiling ZcashLightClientKit ClosureSDKSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1338/1353] Compiling ZcashLightClientKit CombineSDKSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingKeyTypes.swift:148:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
146 | // across the detached proving task, so the index must be `Sendable` too. Its
147 | // only stored property is a `UInt32`.
148 | extension Zip32AccountIndex: Sendable {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Zip32AccountIndex'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
149 |
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:194:65: error: extra arguments at positions #10, #11, #12 in call
192 | notesBytes.withUnsafeBufferPointer { notesBuf in
193 | urlBytes.withUnsafeBufferPointer { urlBuf in
194 | zcashlc_voting_precompute_delegation_pir(
| `- error: extra arguments at positions #10, #11, #12 in call
195 | dbh,
196 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5273:23: note: 'zcashlc_voting_precompute_delegation_pir' declared here
5271 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5272 | */
5273 | struct FfiBoxedSlice *zcashlc_voting_precompute_delegation_pir(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_precompute_delegation_pir' declared here
5274 | const uint8_t *round_id,
5275 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:428:55: error: extra arguments at positions #6, #7 in call
426 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
427 | txHashBytes.withUnsafeBufferPointer { txBuf in
428 | zcashlc_voting_mark_vote_submitted(
| `- error: extra arguments at positions #6, #7 in call
429 | dbh,
430 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:6124:9: note: 'zcashlc_voting_mark_vote_submitted' declared here
6122 | * bytes; if `round_id_len == 0`, `round_id` is ignored.
6123 | */
6124 | int32_t zcashlc_voting_mark_vote_submitted(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_mark_vote_submitted' declared here
6125 | const uint8_t *round_id,
6126 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:477:25: error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
475 | txHashBytes.withUnsafeBufferPointer { txBuf in
476 | eventsBytes.withUnsafeBufferPointer { evBuf in
477 | zcashlc_voting_confirm_vote_submission(
| `- error: cannot find 'zcashlc_voting_confirm_vote_submission' in scope
478 | dbh,
479 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:582:17: error: cannot find 'zcashlc_voting_recover_wire_json' in scope
580 | let payload = try staticBoxedSliceFFI(fallback: "`recover_wire_json` failed") {
581 | bundleBytes.withUnsafeBufferPointer { buf in
582 | zcashlc_voting_recover_wire_json(
| `- error: cannot find 'zcashlc_voting_recover_wire_json' in scope
583 | buf.baseAddress,
584 | UInt(buf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:615:13: error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
613 | let bundleBytes = [UInt8](commitmentBundleJson.utf8)
614 | let ptr = bundleBytes.withUnsafeBufferPointer { buf in
615 | zcashlc_voting_recoverable_share_indices(buf.baseAddress, UInt(buf.count))
| `- error: cannot find 'zcashlc_voting_recoverable_share_indices' in scope
616 | }
617 | guard let ptr else {
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1330:59: error: missing arguments for parameters #10, #11 in call
1328 | let result = roundIdBytes.withUnsafeBufferPointer { ridBuf in
1329 | urlsBytes.withUnsafeBufferPointer { urlsBuf in
1330 | zcashlc_voting_record_share_delegation(
| `- error: missing arguments for parameters #10, #11 in call
1331 | dbh,
1332 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5795:9: note: 'zcashlc_voting_record_share_delegation' declared here
5793 | * - `sent_to_urls_json` must be a JSON array of strings.
5794 | */
5795 | int32_t zcashlc_voting_record_share_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_record_share_delegation' declared here
5796 | const uint8_t *round_id,
5797 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1339:25: error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1337 | urlsBuf.baseAddress,
1338 | UInt(urlsBuf.count),
1339 | submitAt
| `- error: cannot convert value of type 'UInt64' to expected argument type 'UnsafePointer<UInt8>'
1340 | )
1341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:56: error: missing arguments for parameters #2, #3 in call
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: missing arguments for parameters #2, #3 in call
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5151:25: note: 'zcashlc_voting_generate_hotkey' declared here
5149 | * - `db` must be a valid, non-null `VotingDatabaseHandle` pointer.
5150 | */
5151 | struct FfiVotingHotkey *zcashlc_voting_generate_hotkey(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_generate_hotkey' declared here
5152 | const uint8_t *stored_secret,
5153 | uintptr_t stored_secret_len);
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1454:64: error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1452 | /// with the same care as any other key material.
1453 | public static func generateHotkey(network: NetworkType) throws -> VotingHotkey {
1454 | guard let ptr = zcashlc_voting_generate_hotkey(network.networkId) else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'OpaquePointer'
1455 | throw VotingRustBackendError.rustError(
1456 | staticLastErrorMessage(fallback: "`generate_hotkey` failed")
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1508:31: error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1506 | bundleCount: raw.bundle_count,
1507 | eligibleWeight: raw.eligible_weight,
1508 | droppedCount: raw.dropped_count
| `- error: value of type 'FfiBundleSetupResult' has no member 'dropped_count'
1509 | )
1510 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1553:62: error: extra arguments at positions #13, #14, #15, #16 in call
1551 | keys.seedFingerprint.bytes.withUnsafeBufferPointer { fpBuf in
1552 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1553 | zcashlc_voting_build_pczt(
| `- error: extra arguments at positions #13, #14, #15, #16 in call
1554 | dbh,
1555 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5203:23: note: 'zcashlc_voting_build_pczt' declared here
5201 | * non-null and valid for reads for `len` bytes; if `len == 0`, `ptr` is ignored.
5202 | */
5203 | struct FfiBoxedSlice *zcashlc_voting_build_pczt(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_pczt' declared here
5204 | const uint8_t *round_id,
5205 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1564:41: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1562 | secretBuf.baseAddress,
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
1565 | fpBuf.baseAddress,
1566 | UInt(fpBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1565:47: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1563 | UInt(secretBuf.count),
1564 | UInt32(bitPattern: params.consensusBranchId),
1565 | fpBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
1566 | UInt(fpBuf.count),
1567 | keys.accountIndex.index,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1660:37: error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1658 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
1659 | seed.bytes.withUnsafeBufferPointer { seedBuf in
1660 | zcashlc_voting_sign_delegation_request(
| `- error: cannot find 'zcashlc_voting_sign_delegation_request' in scope
1661 | dbh,
1662 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1725:25: error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1723 | signature.withUnsafeBufferPointer { sigBuf in
1724 | sighash.withUnsafeBufferPointer { shBuf in
1725 | zcashlc_voting_get_delegation_submission_with_signature(
| `- error: cannot find 'zcashlc_voting_get_delegation_submission_with_signature' in scope
1726 | dbh,
1727 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:1952:25: error: cannot find 'zcashlc_voting_commit_vote' in scope
1950 | draft.hotkeyStoredSecret.bytes.withUnsafeBufferPointer { secretBuf in
1951 | authPathBytes.withUnsafeBufferPointer { pathBuf in
1952 | zcashlc_voting_commit_vote(
| `- error: cannot find 'zcashlc_voting_commit_vote' in scope
1953 | dbh,
1954 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2097:82: error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2095 | roundNameBytes.withUnsafeBufferPointer { nameBuf in
2096 | urlBytes.withUnsafeBufferPointer { urlBuf in
2097 | zcashlc_voting_build_and_prove_delegation(
| `- error: extra arguments at positions #17, #18, #19, #20, #21, #22, #23 in call
2098 | dbh,
2099 | ridBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libzcashlc.framework/Headers/zcashlc.h:5300:23: note: 'zcashlc_voting_build_and_prove_delegation' declared here
5298 | * `zcashlc_voting_build_vote_commitment`.
5299 | */
5300 | struct FfiBoxedSlice *zcashlc_voting_build_and_prove_delegation(struct VotingDatabaseHandle *db,
| `- note: 'zcashlc_voting_build_and_prove_delegation' declared here
5301 | const uint8_t *round_id,
5302 | uintptr_t round_id_len,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2110:63: error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2108 | fpBuf.baseAddress,
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
| `- error: cannot convert value of type 'UInt32' to expected argument type 'UnsafePointer<UInt8>'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2111:53: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2109 | UInt(fpBuf.count),
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
| `- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UInt'
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:45: error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| |- error: cannot convert value of type 'UInt?' to expected argument type '(@convention(c) (Double, UnsafeMutableRawPointer?) -> Void)?'
| `- note: arguments to generic parameter 'Wrapped' ('UInt' and '@convention(c) (Double, UnsafeMutableRawPointer?) -> Void') are expected to be equal
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2113:52: error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
2113 | urlBuf.baseAddress,
| |- error: cannot convert value of type 'UnsafePointer<UInt8>?' to expected argument type 'UnsafeMutableRawPointer?'
| `- note: arguments to generic parameter 'Wrapped' ('UnsafePointer<UInt8>' and 'UnsafeMutableRawPointer') are expected to be equal
2114 | UInt(urlBuf.count),
2115 | pirLayout.pirDepth,
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/Voting/VotingRustBackend.swift:2112:50: error: missing argument label 'exactly:' in call
2110 | keys.accountIndex.index,
2111 | nameBuf.baseAddress,
2112 | UInt(nameBuf.count),
| `- error: missing argument label 'exactly:' in call
2113 | urlBuf.baseAddress,
2114 | UInt(urlBuf.count),
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2726:24: error: cannot find 'zcashlc_take_last_error_report' in scope
2724 | /// failure: whichever runs first consumes the error.
2725 | nonisolated func lastErrorReport(fallback: String) -> RedactedRustError {
2726 | guard let report = zcashlc_take_last_error_report() else {
| `- error: cannot find 'zcashlc_take_last_error_report' in scope
2727 | return RedactedRustError(kind: .unclassified, message: fallback)
2728 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZcashLightClientKit/Rust/ZcashRustBackend.swift:2730:13: error: cannot find 'zcashlc_free_error_report' in scope
2728 | }
2729 |
2730 | defer { zcashlc_free_error_report(report) }
| `- error: cannot find 'zcashlc_free_error_report' in scope
2731 |
2732 | let kind = RustErrorKind(ffiValue: report.pointee.kind)
[1339/1353] Compiling ZcashLightClientKit Clamped.swift
[1340/1353] Compiling ZcashLightClientKit DBActor.swift
[1341/1353] Compiling ZcashLightClientKit DIContainer.swift
[1342/1353] Compiling ZcashLightClientKit GenericActor.swift
[1343/1353] Compiling ZcashLightClientKit LoggingProxy.swift
[1344/1353] Compiling ZcashLightClientKit OSLogger.swift
[1345/1353] Compiling ZcashLightClientKit SDKFlags.swift
[1346/1353] Compiling ZcashLightClientKit SaplingParameterDownloader.swift
[1347/1353] Compiling ZcashLightClientKit SpecificCombineTypes.swift
[1348/1353] Compiling ZcashLightClientKit SyncSessionIDGenerator.swift
[1349/1353] Compiling ZcashLightClientKit Task+sleep.swift
[1350/1353] Compiling ZcashLightClientKit UsedAliasesChecker.swift
[1351/1353] Compiling ZcashLightClientKit WitnessesFixGate.swift
[1352/1353] Compiling ZcashLightClientKit ZcashFileManager.swift
[1353/1353] Compiling ZcashLightClientKit resource_bundle_accessor.swift
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/grpc/grpc-swift.git
[1/11501] Fetching sqlite.swift
[1267/63105] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (5.59s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (5.59s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.17.0 (6.25s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (2.36s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/1893] Fetching swift-atomics
[58/10274] Fetching swift-atomics, swift-log
[521/27168] Fetching swift-atomics, swift-log, swift-nio-ssl
[522/33878] Fetching swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras
[1361/46197] Fetching swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras, swift-nio-http2
[21847/132884] Fetching swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras, swift-nio-http2, swift-nio
[28195/188623] Fetching swift-atomics, swift-log, swift-nio-ssl, swift-nio-extras, swift-nio-http2, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (13.91s)
Fetched https://github.com/apple/swift-protobuf.git from cache (13.91s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (13.91s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-collections.git
[99589/117793] Fetching swift-atomics, swift-nio-ssl, swift-nio-http2, swift-nio
[99590/120660] Fetching swift-atomics, swift-nio-ssl, swift-nio-http2, swift-nio, swift-nio-transport-services
[100966/150022] Fetching swift-atomics, swift-nio-ssl, swift-nio-http2, swift-nio, swift-nio-transport-services, swift-collections
Fetched https://github.com/apple/swift-nio-http2.git from cache (18.13s)
Fetched https://github.com/apple/swift-nio.git from cache (18.13s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (18.13s)
Fetched https://github.com/apple/swift-atomics.git from cache (18.13s)
[28119/32229] Fetching swift-nio-transport-services, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.76s)
Fetched https://github.com/apple/swift-collections.git from cache (4.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (19.28s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.57s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.64s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.73s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1961] Fetching swift-http-types
[2/3245] Fetching swift-http-types, swift-http-structured-headers
[54/5296] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[153/8182] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[154/14341] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms
[478/21948] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-certificates
[499/28773] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-certificates, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (4.15s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (4.15s)
[22488/24603] Fetching swift-http-types, swift-asn1, swift-algorithms, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (4.58s)
Fetched https://github.com/apple/swift-certificates.git from cache (4.58s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.58s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (4.58s)
Fetched https://github.com/apple/swift-asn1.git from cache (4.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.26s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.32s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.90s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.56s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.57s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.54s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.56s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.65s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.69s)
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.54s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (2.28s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (6.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (7.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.76s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.17.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Downloading binary artifact https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/3.0.0/libzcashlc.xcframework.zip
[8948/91033856] Downloading https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/3.0.0/libzcashlc.xcframework.zip
Downloaded https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/3.0.0/libzcashlc.xcframework.zip (5.77s)
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