Skip to content

Merge pull request #202 from anoma/xuyang/vp_commitment #442

Merge pull request #202 from anoma/xuyang/vp_commitment

Merge pull request #202 from anoma/xuyang/vp_commitment #442

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

Clippy (beta)

6 errors

Details

Results

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

Versions

  • rustc 1.73.0-beta.6 (9b9539791 2023-09-17)
  • cargo 1.73.0-beta.6 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (9b95397 2023-09-17)

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Clippy (beta)

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 (beta)

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 (beta)

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 (beta)

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 (beta)

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 (beta)

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)