Skip to content

zcash_client_backend: Add serialization & parsing for protobuf Propos… #2215

zcash_client_backend: Add serialization & parsing for protobuf Propos…

zcash_client_backend: Add serialization & parsing for protobuf Propos… #2215

Triggered via push November 9, 2023 22:56
Status Failure
Total duration 27m 3s
Artifacts

ci.yml

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

Annotations

5 errors and 2 warnings
Clippy (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
unnecessary closure used to substitute value for `Option::None`: zcash_client_backend/src/proto.rs#L356
error: unnecessary closure used to substitute value for `Option::None` --> zcash_client_backend/src/proto.rs:356:37 | 356 | / ... opt.ok_or_else(|| { 357 | | ... ProposalError::InputNotFound( 358 | | ... txid, 359 | | ... PoolType::Shielded(ShieldedProtocol::Sapling), 360 | | ... s_in.index, 361 | | ... ) 362 | | ... }) | |________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations help: use `ok_or(..)` instead | 356 ~ opt.ok_or({ 357 + ProposalError::InputNotFound( 358 + txid, 359 + PoolType::Shielded(ShieldedProtocol::Sapling), 360 + s_in.index, 361 + ) 362 + }) |
unnecessary closure used to substitute value for `Option::None`: zcash_client_backend/src/proto.rs#L333
error: unnecessary closure used to substitute value for `Option::None` --> zcash_client_backend/src/proto.rs:333:25 | 333 | / wallet_db 334 | | .get_unspent_transparent_output(&outpoint) 335 | | .map_err(ProposalError::InputRetrieval)? 336 | | .ok_or_else(|| { ... | 341 | | ) 342 | | }) | |______________________________^ | = note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations help: use `ok_or(..)` instead | 336 ~ .ok_or({ 337 + ProposalError::InputNotFound( 338 + txid, 339 + PoolType::Transparent, 340 + t_in.index, 341 + ) 342 + }) |
Clippy (MSRV)
Clippy had exited with the 101 exit code
Build target wasm32-wasi
Process completed with exit code 101.
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/