Skip to content

Remove binding from powerquery #351

Remove binding from powerquery

Remove binding from powerquery #351

GitHub Actions / Clippy (1.56.1) failed Oct 18, 2024 in 1s

Clippy (1.56.1)

6 errors

Details

Results

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

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check failure on line 6 in halo2_backend/src/plonk/verifier/batch.rs

See this annotation in the file changed.

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

fields `instances` and `proof` are never read

error: fields `instances` and `proof` are never read
 --> halo2_backend/src/plonk/verifier/batch.rs:6:5
  |
5 | struct BatchItem<C: CurveAffine> {
  |        --------- fields in this struct
6 |     instances: Vec<Vec<Vec<C::ScalarExt>>>,
  |     ^^^^^^^^^
7 |     proof: Vec<u8>,
  |     ^^^^^
  |
  = note: `BatchItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check failure on line 35 in halo2_backend/src/plonk/vanishing/prover.rs

See this annotation in the file changed.

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

field `h_blind` is never read

error: field `h_blind` is never read
  --> halo2_backend/src/plonk/vanishing/prover.rs:35:5
   |
33 | pub(in crate::plonk) struct Evaluated<C: CurveAffine> {
   |                             --------- field in this struct
34 |     h_poly: Polynomial<C::Scalar, Coeff>,
35 |     h_blind: Blind<C::Scalar>,
   |     ^^^^^^^

Check failure on line 24 in halo2_backend/src/plonk/vanishing/prover.rs

See this annotation in the file changed.

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

field `random_blind` is never read

error: field `random_blind` is never read
  --> halo2_backend/src/plonk/vanishing/prover.rs:24:5
   |
22 | pub(in crate::plonk) struct Committed<C: CurveAffine> {
   |                             --------- field in this struct
23 |     random_poly: Polynomial<C::Scalar, Coeff>,
24 |     random_blind: Blind<C::Scalar>,
   |     ^^^^^^^^^^^^

Check failure on line 32 in halo2_backend/src/plonk/shuffle/prover.rs

See this annotation in the file changed.

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

field `product_blind` is never read

error: field `product_blind` is never read
  --> halo2_backend/src/plonk/shuffle/prover.rs:32:5
   |
30 | pub(in crate::plonk) struct Committed<C: CurveAffine> {
   |                             --------- field in this struct
31 |     pub(in crate::plonk) product_poly: Polynomial<C::Scalar, Coeff>,
32 |     product_blind: Blind<C::Scalar>,
   |     ^^^^^^^^^^^^^
   |
   = note: `Committed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check failure on line 32 in halo2_backend/src/plonk/permutation/prover.rs

See this annotation in the file changed.

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

field `permutation_product_blind` is never read

error: field `permutation_product_blind` is never read
  --> halo2_backend/src/plonk/permutation/prover.rs:32:5
   |
30 | pub(crate) struct CommittedSet<C: CurveAffine> {
   |                   ------------ field in this struct
31 |     pub(crate) permutation_product_poly: Polynomial<C::Scalar, Coeff>,
32 |     permutation_product_blind: Blind<C::Scalar>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 43 in halo2_backend/src/plonk/lookup/prover.rs

See this annotation in the file changed.

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

fields `permuted_input_blind`, `permuted_table_blind`, and `product_blind` are never read

error: fields `permuted_input_blind`, `permuted_table_blind`, and `product_blind` are never read
  --> halo2_backend/src/plonk/lookup/prover.rs:43:5
   |
41 | pub(in crate::plonk) struct Committed<C: CurveAffine> {
   |                             --------- fields in this struct
42 |     pub(in crate::plonk) permuted_input_poly: Polynomial<C::Scalar, Coeff>,
43 |     permuted_input_blind: Blind<C::Scalar>,
   |     ^^^^^^^^^^^^^^^^^^^^
44 |     pub(in crate::plonk) permuted_table_poly: Polynomial<C::Scalar, Coeff>,
45 |     permuted_table_blind: Blind<C::Scalar>,
   |     ^^^^^^^^^^^^^^^^^^^^
46 |     pub(in crate::plonk) product_poly: Polynomial<C::Scalar, Coeff>,
47 |     product_blind: Blind<C::Scalar>,
   |     ^^^^^^^^^^^^^
   |
   = note: `Committed` has a derived impl for the trait `Debug`, 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)]`