Migrate to latest shardtree
to improve performance
#1848
ci.yml
on: push
Bitrot check
2m 38s
Clippy (MSRV)
3m 32s
Clippy (beta)
21s
Code coverage
8m 57s
Intra-doc links
3m 9s
Rustfmt
16s
Matrix: build
Matrix: test
Annotations
10 errors and 2 warnings
Clippy (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
`?` couldn't convert the error to `wallet::init::WalletMigrationError`:
zcash_client_sqlite/src/wallet/init/migrations/shardtree_support.rs#L207
error[E0277]: `?` couldn't convert the error to `wallet::init::WalletMigrationError`
--> zcash_client_sqlite/src/wallet/init/migrations/shardtree_support.rs:207:90
|
207 | shard_tree.insert_witness_nodes(witness, BlockHeight::from(block_height))?;
| ^ the trait `std::convert::From<shardtree::ShardTreeError<std::convert::Infallible>>` is not implemented for `wallet::init::WalletMigrationError`
|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the following other types implement trait `std::convert::From<T>`:
<wallet::init::WalletMigrationError as std::convert::From<rusqlite::Error>>
<wallet::init::WalletMigrationError as std::convert::From<shardtree::ShardTreeError<either::Either<std::io::Error, rusqlite::Error>>>>
<wallet::init::WalletMigrationError as std::convert::From<zcash_primitives::transaction::components::amount::BalanceError>>
= note: required for `std::result::Result<(), wallet::init::WalletMigrationError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, shardtree::ShardTreeError<std::convert::Infallible>>>`
|
`?` couldn't convert the error to `wallet::init::WalletMigrationError`:
zcash_client_sqlite/src/wallet/init/migrations/shardtree_support.rs#L164
error[E0277]: `?` couldn't convert the error to `wallet::init::WalletMigrationError`
--> zcash_client_sqlite/src/wallet/init/migrations/shardtree_support.rs:164:22
|
164 | )?;
| ^ the trait `std::convert::From<shardtree::ShardTreeError<std::convert::Infallible>>` is not implemented for `wallet::init::WalletMigrationError`
|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the following other types implement trait `std::convert::From<T>`:
<wallet::init::WalletMigrationError as std::convert::From<rusqlite::Error>>
<wallet::init::WalletMigrationError as std::convert::From<shardtree::ShardTreeError<either::Either<std::io::Error, rusqlite::Error>>>>
<wallet::init::WalletMigrationError as std::convert::From<zcash_primitives::transaction::components::amount::BalanceError>>
= note: required for `std::result::Result<(), wallet::init::WalletMigrationError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, shardtree::ShardTreeError<std::convert::Infallible>>>`
|
Clippy (MSRV)
Clippy had exited with the 101 exit code
|
Test on ubuntu-latest
Process completed with exit code 101.
|
Test on windows-latest
The job was canceled because "ubuntu-latest" failed.
|
Test on windows-latest
The operation was canceled.
|
Test on macOS-latest
The job was canceled because "ubuntu-latest" failed.
|
Test on macOS-latest
The operation was canceled.
|
Code coverage
Process completed with exit code 1.
|
Clippy (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy (MSRV)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|