Skip to content

zcash_client_sqlite: Support Orchard scanning #2608

zcash_client_sqlite: Support Orchard scanning

zcash_client_sqlite: Support Orchard scanning #2608

GitHub Actions / Clippy (MSRV) failed Mar 7, 2024 in 0s

Clippy (MSRV)

14 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 14
Warning 0
Note 0
Help 0

Versions

  • rustc 1.65.0 (897e37553 2022-11-02)
  • cargo 1.65.0 (4bc8f24d3 2022-10-20)
  • clippy 0.1.65 (897e375 2022-11-02)

Annotations

Check failure on line 295 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved item provided when a constant was expected

error[E0747]: unresolved item provided when a constant was expected
   --> zcash_client_sqlite/src/wallet.rs:295:13
    |
295 |             ORCHARD_SHARD_HEIGHT,
    |             ^^^^^^^^^^^^^^^^^^^^
    |
help: if this generic argument was intended as a const parameter, surround it with braces
    |
295 |             { ORCHARD_SHARD_HEIGHT },
    |             +                      +

Check failure on line 290 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

no method named `orchard_frontier` found for struct `zcash_client_backend::data_api::AccountBirthday` in the current scope

error[E0599]: no method named `orchard_frontier` found for struct `zcash_client_backend::data_api::AccountBirthday` in the current scope
   --> zcash_client_sqlite/src/wallet.rs:290:38
    |
290 |     if let Some(frontier) = birthday.orchard_frontier().value() {
    |                                      ^^^^^^^^^^^^^^^^ method not found in `zcash_client_backend::data_api::AccountBirthday`

Check failure on line 300 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved item provided when a constant was expected

error[E0747]: unresolved item provided when a constant was expected
   --> zcash_client_sqlite/src/wallet.rs:300:13
    |
300 |             ORCHARD_SHARD_HEIGHT,
    |             ^^^^^^^^^^^^^^^^^^^^
    |
help: if this generic argument was intended as a const parameter, surround it with braces
    |
300 |             { ORCHARD_SHARD_HEIGHT },
    |             +                      +

Check failure on line 295 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved item provided when a constant was expected

error[E0747]: unresolved item provided when a constant was expected
   --> zcash_client_sqlite/src/wallet.rs:295:13
    |
295 |             ORCHARD_SHARD_HEIGHT,
    |             ^^^^^^^^^^^^^^^^^^^^
    |
help: if this generic argument was intended as a const parameter, surround it with braces
    |
295 |             { ORCHARD_SHARD_HEIGHT },
    |             +                      +

Check failure on line 290 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

no method named `orchard_frontier` found for struct `zcash_client_backend::data_api::AccountBirthday` in the current scope

error[E0599]: no method named `orchard_frontier` found for struct `zcash_client_backend::data_api::AccountBirthday` in the current scope
   --> zcash_client_sqlite/src/wallet.rs:290:38
    |
290 |     if let Some(frontier) = birthday.orchard_frontier().value() {
    |                                      ^^^^^^^^^^^^^^^^ method not found in `zcash_client_backend::data_api::AccountBirthday`

Check failure on line 299 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

failed to resolve: could not find `orchard` in the list of imported crates

error[E0433]: failed to resolve: could not find `orchard` in the list of imported crates
   --> zcash_client_sqlite/src/wallet.rs:299:17
    |
299 |             { ::orchard::NOTE_COMMITMENT_TREE_DEPTH as u8 },
    |                 ^^^^^^^ could not find `orchard` in the list of imported crates

Check failure on line 294 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

failed to resolve: could not find `orchard` in the list of imported crates

error[E0433]: failed to resolve: could not find `orchard` in the list of imported crates
   --> zcash_client_sqlite/src/wallet.rs:294:15
    |
294 |             ::orchard::tree::MerkleHashOrchard,
    |               ^^^^^^^ could not find `orchard` in the list of imported crates

Check failure on line 104 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved import `crate::ORCHARD_TABLES_PREFIX`

error[E0432]: unresolved import `crate::ORCHARD_TABLES_PREFIX`
   --> zcash_client_sqlite/src/wallet.rs:104:5
    |
104 | use crate::ORCHARD_TABLES_PREFIX;
    |     ^^^^^^^---------------------
    |     |      |
    |     |      help: a similar name exists in the module: `SAPLING_TABLES_PREFIX`
    |     no `ORCHARD_TABLES_PREFIX` in the root

Check failure on line 76 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved import `zcash_client_backend::data_api::ORCHARD_SHARD_HEIGHT`

error[E0432]: unresolved import `zcash_client_backend::data_api::ORCHARD_SHARD_HEIGHT`
  --> zcash_client_sqlite/src/wallet.rs:76:5
   |
76 | use zcash_client_backend::data_api::ORCHARD_SHARD_HEIGHT;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ORCHARD_SHARD_HEIGHT` in `data_api`

Check failure on line 300 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved item provided when a constant was expected

error[E0747]: unresolved item provided when a constant was expected
   --> zcash_client_sqlite/src/wallet.rs:300:13
    |
300 |             ORCHARD_SHARD_HEIGHT,
    |             ^^^^^^^^^^^^^^^^^^^^
    |
help: if this generic argument was intended as a const parameter, surround it with braces
    |
300 |             { ORCHARD_SHARD_HEIGHT },
    |             +                      +

Check failure on line 299 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

failed to resolve: could not find `orchard` in the list of imported crates

error[E0433]: failed to resolve: could not find `orchard` in the list of imported crates
   --> zcash_client_sqlite/src/wallet.rs:299:17
    |
299 |             { ::orchard::NOTE_COMMITMENT_TREE_DEPTH as u8 },
    |                 ^^^^^^^ could not find `orchard` in the list of imported crates

Check failure on line 294 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

failed to resolve: could not find `orchard` in the list of imported crates

error[E0433]: failed to resolve: could not find `orchard` in the list of imported crates
   --> zcash_client_sqlite/src/wallet.rs:294:15
    |
294 |             ::orchard::tree::MerkleHashOrchard,
    |               ^^^^^^^ could not find `orchard` in the list of imported crates

Check failure on line 104 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved import `crate::ORCHARD_TABLES_PREFIX`

error[E0432]: unresolved import `crate::ORCHARD_TABLES_PREFIX`
   --> zcash_client_sqlite/src/wallet.rs:104:5
    |
104 | use crate::ORCHARD_TABLES_PREFIX;
    |     ^^^^^^^---------------------
    |     |      |
    |     |      help: a similar name exists in the module: `SAPLING_TABLES_PREFIX`
    |     no `ORCHARD_TABLES_PREFIX` in the root

Check failure on line 76 in zcash_client_sqlite/src/wallet.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

unresolved import `zcash_client_backend::data_api::ORCHARD_SHARD_HEIGHT`

error[E0432]: unresolved import `zcash_client_backend::data_api::ORCHARD_SHARD_HEIGHT`
  --> zcash_client_sqlite/src/wallet.rs:76:5
   |
76 | use zcash_client_backend::data_api::ORCHARD_SHARD_HEIGHT;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ORCHARD_SHARD_HEIGHT` in `data_api`