Skip to content

Debugging bridge circuits #64

Debugging bridge circuits

Debugging bridge circuits #64

GitHub Actions / Clippy (beta) succeeded Nov 26, 2024 in 0s

Clippy (beta)

16 warnings

Details

Results

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

Versions

  • rustc 1.80.0 (051478957 2024-07-21)
  • cargo 1.80.0 (376290515 2024-07-16)
  • clippy 0.1.80 (0514789 2024-07-21)

Annotations

Check warning on line 56 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

methods `expressions` and `queries` are never used

warning: methods `expressions` and `queries` are never used
   --> halo2_backend/src/plonk/shuffle/verifier.rs:56:29
    |
54  | impl<C: CurveAffine> Evaluated<C> {
    | --------------------------------- methods in this implementation
55  |     #[allow(clippy::too_many_arguments)]
56  |     pub(in crate::plonk) fn expressions<'a>(
    |                             ^^^^^^^^^^^
...
121 |     pub(in crate::plonk) fn queries<'r, M: MSM<C> + 'r>(
    |                             ^^^^^^^

Check warning on line 39 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

method `evaluate` is never used

warning: method `evaluate` is never used
  --> halo2_backend/src/plonk/shuffle/verifier.rs:39:19
   |
38 | impl<C: CurveAffine> Committed<C> {
   | --------------------------------- method in this implementation
39 |     pub(crate) fn evaluate<E: EncodedChallenge<C>, T: TranscriptRead<C, E>>(
   |                   ^^^^^^^^

Check warning on line 25 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

function `shuffle_read_product_commitment` is never used

warning: function `shuffle_read_product_commitment` is never used
  --> halo2_backend/src/plonk/shuffle/verifier.rs:25:25
   |
25 | pub(in crate::plonk) fn shuffle_read_product_commitment<
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 19 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

struct `Evaluated` is never constructed

warning: struct `Evaluated` is never constructed
  --> halo2_backend/src/plonk/shuffle/verifier.rs:19:19
   |
19 | pub(crate) struct Evaluated<C: CurveAffine> {
   |                   ^^^^^^^^^

Check warning on line 15 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

struct `Committed` is never constructed

warning: struct `Committed` is never constructed
  --> halo2_backend/src/plonk/shuffle/verifier.rs:15:19
   |
15 | pub(crate) struct Committed<C: CurveAffine> {
   |                   ^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 10 in halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs

See this annotation in the file changed.

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

unused imports: `DualMSM` and `MSMKZG`

warning: unused imports: `DualMSM` and `MSMKZG`
  --> halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs:10:29
   |
10 | use crate::poly::kzg::msm::{DualMSM, MSMKZG};
   |                             ^^^^^^^  ^^^^^^

Check warning on line 8 in halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs

See this annotation in the file changed.

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

unused import: `MSM`

warning: unused import: `MSM`
 --> halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs:8:45
  |
8 | use crate::poly::commitment::{ParamsProver, MSM};
  |                                             ^^^

Check warning on line 16 in halo2_backend/src/plonk/verifier.rs

See this annotation in the file changed.

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

unused import: `shuffle::verifier::shuffle_read_product_commitment`

warning: unused import: `shuffle::verifier::shuffle_read_product_commitment`
  --> halo2_backend/src/plonk/verifier.rs:16:5
   |
16 |     shuffle::verifier::shuffle_read_product_commitment, ChallengeBeta, ChallengeGamma,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

Check warning on line 56 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

methods `expressions` and `queries` are never used

warning: methods `expressions` and `queries` are never used
   --> halo2_backend/src/plonk/shuffle/verifier.rs:56:29
    |
54  | impl<C: CurveAffine> Evaluated<C> {
    | --------------------------------- methods in this implementation
55  |     #[allow(clippy::too_many_arguments)]
56  |     pub(in crate::plonk) fn expressions<'a>(
    |                             ^^^^^^^^^^^
...
121 |     pub(in crate::plonk) fn queries<'r, M: MSM<C> + 'r>(
    |                             ^^^^^^^

Check warning on line 39 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

method `evaluate` is never used

warning: method `evaluate` is never used
  --> halo2_backend/src/plonk/shuffle/verifier.rs:39:19
   |
38 | impl<C: CurveAffine> Committed<C> {
   | --------------------------------- method in this implementation
39 |     pub(crate) fn evaluate<E: EncodedChallenge<C>, T: TranscriptRead<C, E>>(
   |                   ^^^^^^^^

Check warning on line 25 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

function `shuffle_read_product_commitment` is never used

warning: function `shuffle_read_product_commitment` is never used
  --> halo2_backend/src/plonk/shuffle/verifier.rs:25:25
   |
25 | pub(in crate::plonk) fn shuffle_read_product_commitment<
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 19 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

struct `Evaluated` is never constructed

warning: struct `Evaluated` is never constructed
  --> halo2_backend/src/plonk/shuffle/verifier.rs:19:19
   |
19 | pub(crate) struct Evaluated<C: CurveAffine> {
   |                   ^^^^^^^^^

Check warning on line 15 in halo2_backend/src/plonk/shuffle/verifier.rs

See this annotation in the file changed.

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

struct `Committed` is never constructed

warning: struct `Committed` is never constructed
  --> halo2_backend/src/plonk/shuffle/verifier.rs:15:19
   |
15 | pub(crate) struct Committed<C: CurveAffine> {
   |                   ^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 10 in halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs

See this annotation in the file changed.

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

unused imports: `DualMSM` and `MSMKZG`

warning: unused imports: `DualMSM` and `MSMKZG`
  --> halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs:10:29
   |
10 | use crate::poly::kzg::msm::{DualMSM, MSMKZG};
   |                             ^^^^^^^  ^^^^^^

Check warning on line 8 in halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs

See this annotation in the file changed.

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

unused import: `MSM`

warning: unused import: `MSM`
 --> halo2_backend/src/poly/kzg/multiopen/gwc/prover.rs:8:45
  |
8 | use crate::poly::commitment::{ParamsProver, MSM};
  |                                             ^^^

Check warning on line 16 in halo2_backend/src/plonk/verifier.rs

See this annotation in the file changed.

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

unused import: `shuffle::verifier::shuffle_read_product_commitment`

warning: unused import: `shuffle::verifier::shuffle_read_product_commitment`
  --> halo2_backend/src/plonk/verifier.rs:16:5
   |
16 |     shuffle::verifier::shuffle_read_product_commitment, ChallengeBeta, ChallengeGamma,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default