Skip to content

replace the sinsemillar note commitment with the poseidon commitment #443

replace the sinsemillar note commitment with the poseidon commitment

replace the sinsemillar note commitment with the poseidon commitment #443

GitHub Actions / Clippy failed Sep 18, 2023 in 0s

Clippy

6 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 6
Warning 0
Note 0
Help 0

Versions

  • rustc 1.72.0 (5680fa18f 2023-08-23)
  • cargo 1.72.0 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (5680fa1 2023-08-23)

Annotations

Check failure on line 24 in taiga_halo2/src/action.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Encoder` is not satisfied

error[E0277]: the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Encoder` is not satisfied
  --> taiga_halo2/src/action.rs:24:36
   |
24 | #[cfg_attr(feature = "nif", derive(NifStruct))]
   |                                    ^^^^^^^^^ the trait `rustler::Encoder` is not implemented for `vp_commitment::ValidityPredicateCommitment`
   |
   = help: the following other types implement trait `rustler::Encoder`:
             bool
             isize
             i8
             i16
             i32
             i64
             usize
             u8
           and 55 others
   = note: this error originates in the derive macro `NifStruct` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 38 in taiga_halo2/src/action.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied

error[E0277]: the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied
  --> taiga_halo2/src/action.rs:38:5
   |
38 |     /// The commitment to output note application(static) vp
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rustler::Decoder<'_>` is not implemented for `vp_commitment::ValidityPredicateCommitment`
   |
   = help: the following other types implement trait `rustler::Decoder<'a>`:
             <bool as rustler::Decoder<'a>>
             <isize as rustler::Decoder<'a>>
             <i8 as rustler::Decoder<'a>>
             <i16 as rustler::Decoder<'a>>
             <i32 as rustler::Decoder<'a>>
             <i64 as rustler::Decoder<'a>>
             <usize as rustler::Decoder<'a>>
             <u8 as rustler::Decoder<'a>>
           and 54 others
note: required by a bound in `<action::ActionInstance as rustler::Decoder<'__rustler_decode_lifetime>>::decode::try_decode_field`
  --> taiga_halo2/src/action.rs:24:36
   |
24 | #[cfg_attr(feature = "nif", derive(NifStruct))]
   |                                    ^^^^^^^^^ required by this bound in `try_decode_field`
   = note: this error originates in the derive macro `NifStruct` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 36 in taiga_halo2/src/action.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied

error[E0277]: the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied
  --> taiga_halo2/src/action.rs:36:5
   |
36 |     /// The commitment to input note application(static) vp
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rustler::Decoder<'_>` is not implemented for `vp_commitment::ValidityPredicateCommitment`
   |
   = help: the following other types implement trait `rustler::Decoder<'a>`:
             <bool as rustler::Decoder<'a>>
             <isize as rustler::Decoder<'a>>
             <i8 as rustler::Decoder<'a>>
             <i16 as rustler::Decoder<'a>>
             <i32 as rustler::Decoder<'a>>
             <i64 as rustler::Decoder<'a>>
             <usize as rustler::Decoder<'a>>
             <u8 as rustler::Decoder<'a>>
           and 54 others
note: required by a bound in `<action::ActionInstance as rustler::Decoder<'__rustler_decode_lifetime>>::decode::try_decode_field`
  --> taiga_halo2/src/action.rs:24:36
   |
24 | #[cfg_attr(feature = "nif", derive(NifStruct))]
   |                                    ^^^^^^^^^ required by this bound in `try_decode_field`
   = note: this error originates in the derive macro `NifStruct` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 24 in taiga_halo2/src/action.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Encoder` is not satisfied

error[E0277]: the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Encoder` is not satisfied
  --> taiga_halo2/src/action.rs:24:36
   |
24 | #[cfg_attr(feature = "nif", derive(NifStruct))]
   |                                    ^^^^^^^^^ the trait `rustler::Encoder` is not implemented for `vp_commitment::ValidityPredicateCommitment`
   |
   = help: the following other types implement trait `rustler::Encoder`:
             bool
             isize
             i8
             i16
             i32
             i64
             usize
             u8
           and 55 others
   = note: this error originates in the derive macro `NifStruct` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 38 in taiga_halo2/src/action.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied

error[E0277]: the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied
  --> taiga_halo2/src/action.rs:38:5
   |
38 |     /// The commitment to output note application(static) vp
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rustler::Decoder<'_>` is not implemented for `vp_commitment::ValidityPredicateCommitment`
   |
   = help: the following other types implement trait `rustler::Decoder<'a>`:
             <bool as rustler::Decoder<'a>>
             <isize as rustler::Decoder<'a>>
             <i8 as rustler::Decoder<'a>>
             <i16 as rustler::Decoder<'a>>
             <i32 as rustler::Decoder<'a>>
             <i64 as rustler::Decoder<'a>>
             <usize as rustler::Decoder<'a>>
             <u8 as rustler::Decoder<'a>>
           and 54 others
note: required by a bound in `<action::ActionInstance as rustler::Decoder<'__rustler_decode_lifetime>>::decode::try_decode_field`
  --> taiga_halo2/src/action.rs:24:36
   |
24 | #[cfg_attr(feature = "nif", derive(NifStruct))]
   |                                    ^^^^^^^^^ required by this bound in `try_decode_field`
   = note: this error originates in the derive macro `NifStruct` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 36 in taiga_halo2/src/action.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied

error[E0277]: the trait bound `vp_commitment::ValidityPredicateCommitment: rustler::Decoder<'_>` is not satisfied
  --> taiga_halo2/src/action.rs:36:5
   |
36 |     /// The commitment to input note application(static) vp
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rustler::Decoder<'_>` is not implemented for `vp_commitment::ValidityPredicateCommitment`
   |
   = help: the following other types implement trait `rustler::Decoder<'a>`:
             <bool as rustler::Decoder<'a>>
             <isize as rustler::Decoder<'a>>
             <i8 as rustler::Decoder<'a>>
             <i16 as rustler::Decoder<'a>>
             <i32 as rustler::Decoder<'a>>
             <i64 as rustler::Decoder<'a>>
             <usize as rustler::Decoder<'a>>
             <u8 as rustler::Decoder<'a>>
           and 54 others
note: required by a bound in `<action::ActionInstance as rustler::Decoder<'__rustler_decode_lifetime>>::decode::try_decode_field`
  --> taiga_halo2/src/action.rs:24:36
   |
24 | #[cfg_attr(feature = "nif", derive(NifStruct))]
   |                                    ^^^^^^^^^ required by this bound in `try_decode_field`
   = note: this error originates in the derive macro `NifStruct` (in Nightly builds, run with -Z macro-backtrace for more info)