Skip to content

Minor fixups related to tests and features #433

Minor fixups related to tests and features

Minor fixups related to tests and features #433

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

Clippy

9 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 9
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 424 in taiga_halo2/src/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/transaction.rs:424:28
    |
424 |             let borsh = tx.try_to_vec().unwrap();
    |                            ^^^^^^^^^^

Check failure on line 234 in taiga_halo2/src/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/transaction.rs:234:28
    |
234 |             self.signature.try_to_vec().unwrap_or(vec![]).encode(env),
    |                            ^^^^^^^^^^

Check failure on line 231 in taiga_halo2/src/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/transaction.rs:231:18
    |
231 |                 .try_to_vec()
    |                  ^^^^^^^^^^

Check failure on line 688 in taiga_halo2/src/note.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/note.rs:688:29
    |
688 |             let borsh = ocm.try_to_vec().unwrap();
    |                             ^^^^^^^^^^

Check failure on line 678 in taiga_halo2/src/note.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/note.rs:678:29
    |
678 |             let borsh = icm.try_to_vec().unwrap();
    |                             ^^^^^^^^^^

Check failure on line 669 in taiga_halo2/src/note.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/note.rs:669:37
    |
669 |             let borsh = output_note.try_to_vec().unwrap();
    |                                     ^^^^^^^^^^

Check failure on line 660 in taiga_halo2/src/note.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/note.rs:660:36
    |
660 |             let borsh = input_note.try_to_vec().unwrap();
    |                                    ^^^^^^^^^^
    |
    = note: `-D deprecated` implied by `-D warnings`

Check failure on line 234 in taiga_halo2/src/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/transaction.rs:234:28
    |
234 |             self.signature.try_to_vec().unwrap_or(vec![]).encode(env),
    |                            ^^^^^^^^^^

Check failure on line 231 in taiga_halo2/src/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead

error: use of deprecated method `borsh::BorshSerialize::try_to_vec`: use `borsh::to_vec(&object)` instead
   --> taiga_halo2/src/transaction.rs:231:18
    |
231 |                 .try_to_vec()
    |                  ^^^^^^^^^^
    |
    = note: `-D deprecated` implied by `-D warnings`