Skip to content

Implement BlockCache Trait #156

Implement BlockCache Trait

Implement BlockCache Trait #156

Triggered via pull request September 19, 2024 21:25
@ec2ec2
synchronize #24
ec2/blockcache
Status Failure
Total duration 2m 34s
Artifacts

audits.yml

on: pull_request
Vet Rust dependencies
2m 26s
Vet Rust dependencies
Check licenses
40s
Check licenses
Fit to window
Zoom out
Zoom in

Annotations

5 errors
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L385
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:385:14 | 385 | iter.fold(Some(Zatoshis::ZERO), |acc, a| acc? + *a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(Zatoshis::ZERO, |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L379
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:379:14 | 379 | iter.fold(Some(Zatoshis::ZERO), |acc, a| acc? + a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(Zatoshis::ZERO, |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L202
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:202:14 | 202 | iter.fold(Some(ZatBalance::zero()), |acc, a| acc? + *a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(ZatBalance::zero(), |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L196
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:196:14 | 196 | iter.fold(Some(ZatBalance::zero()), |acc, a| acc? + a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(ZatBalance::zero(), |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold = note: `-D clippy::manual-try-fold` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_try_fold)]`
Vet Rust dependencies
Process completed with exit code 255.