Skip to content

Add a Sapling bundle builder function. #58

Add a Sapling bundle builder function.

Add a Sapling bundle builder function. #58

Triggered via pull request December 19, 2023 20:05
Status Failure
Total duration 5m 8s
Artifacts

ci.yml

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

Annotations

4 errors and 2 warnings
using `clone` on type `jubjub::Fq` which implements the `Copy` trait: src/lib.rs#L165
error: using `clone` on type `jubjub::Fq` which implements the `Copy` trait --> src/builder.rs:165:22 | 165 | let anchor = self.spend_info.merkle_path.root(node).inner().clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*self.spend_info.merkle_path.root(node).inner()` | = note: `-D clippy::clone-on-copy` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
using `clone` on type `jubjub::Fq` which implements the `Copy` trait: src/lib.rs#L185
error: using `clone` on type `jubjub::Fq` which implements the `Copy` trait --> src/builder.rs:185:13 | 185 | anchor.clone(), | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `anchor` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
length comparison to zero: src/lib.rs#L485
error: length comparison to zero --> src/builder.rs:485:15 | 485 | } else if spends.len() > 0 { | ^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!spends.is_empty()` | = note: `-D clippy::len-zero` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
aborting due to 3 previous errors
error: aborting due to 3 previous errors
Clippy (MSRV)
clippy-action doesn't have permissions to view Check Runs, disabling!
Clippy (MSRV)
Resource not accessible by integration