Skip to content

pczt: Define the structure and semantics of the PCZT format #794

pczt: Define the structure and semantics of the PCZT format

pczt: Define the structure and semantics of the PCZT format #794

Triggered via pull request November 12, 2024 08:14
@str4dstr4d
synchronize #1577
pczt-format
Status Success
Total duration 3m 0s
Artifacts

audits.yml

on: pull_request
Vet Rust dependencies
2m 33s
Vet Rust dependencies
Check licenses
44s
Check licenses
Required status checks have passed
0s
Required status checks have passed
Fit to window
Zoom out
Zoom in

Annotations

6 errors
unused import: `IgnoreMissing`: pczt/src/sapling.rs#L6
error: unused import: `IgnoreMissing` --> pczt/src/sapling.rs:6:5 | 6 | IgnoreMissing, | ^^^^^^^^^^^^^
unused import: `IgnoreMissing`: pczt/src/orchard.rs#L6
error: unused import: `IgnoreMissing` --> pczt/src/orchard.rs:6:5 | 6 | IgnoreMissing, | ^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
usage of `Iterator::fold` on a type that implements `Try`: pczt/src/roles/combiner/mod.rs#L19
error: usage of `Iterator::fold` on a type that implements `Try` --> pczt/src/roles/combiner/mod.rs:19:14 | 19 | .fold(Ok(None), |acc, pczt| match acc { | ______________^ 20 | | Err(e) => Err(e), 21 | | Ok(None) => Ok(Some(pczt)), 22 | | Ok(Some(acc)) => merge(acc, pczt).map(Some), 23 | | }) | |______________^ help: use `try_fold` instead: `try_fold(None, |acc, pczt| ...)` | = 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)]`
variant `V0` is never constructed: pczt/src/lib.rs#L124
error: variant `V0` is never constructed --> pczt/src/lib.rs:124:5 | 123 | enum Version { | ------- variant in this enum 124 | V0, | ^^ | = note: `Version` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
unused import: `IgnoreMissing`: pczt/src/sapling.rs#L6
error: unused import: `IgnoreMissing` --> pczt/src/sapling.rs:6:5 | 6 | IgnoreMissing, | ^^^^^^^^^^^^^
unused import: `IgnoreMissing`: pczt/src/orchard.rs#L6
error: unused import: `IgnoreMissing` --> pczt/src/orchard.rs:6:5 | 6 | IgnoreMissing, | ^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`