Skip to content

Migrate to latest shardtree to improve performance #1848

Migrate to latest shardtree to improve performance

Migrate to latest shardtree to improve performance #1848

Triggered via push July 18, 2023 14:43
Status Failure
Total duration 9m 6s
Artifacts

ci.yml

on: push
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

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/