Skip to content

enabling derive_serde for halo2 curves #280

enabling derive_serde for halo2 curves

enabling derive_serde for halo2 curves #280

GitHub Actions / Clippy (1.56.1) failed Nov 9, 2023 in 0s

Clippy (1.56.1)

8 errors

Details

Results

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

Versions

  • rustc 1.66.0 (69f9c33d7 2022-12-12)
  • cargo 1.66.0 (d65d197ad 2022-11-15)
  • clippy 0.1.66 (69f9c33 2022-12-12)

Annotations

Check failure on line 51 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

unused import: `crate::circuit::Cell`

error: unused import: `crate::circuit::Cell`
  --> halo2_proofs/src/dev.rs:51:5
   |
51 | use crate::circuit::Cell;
   |     ^^^^^^^^^^^^^^^^^^^^

Check failure on line 8 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

unused import: `std::time::Instant`

error: unused import: `std::time::Instant`
 --> halo2_proofs/src/dev.rs:8:5
  |
8 | use std::time::Instant;
  |     ^^^^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`

Check failure on line 177 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

cannot find trait `Group` in this scope

error[E0405]: cannot find trait `Group` in this scope
   --> halo2_proofs/src/dev.rs:177:39
    |
177 | fn batch_invert_cellvalues<F: Field + Group>(cell_values: &mut [Vec<CellValue<F>>]) {
    |                                       ^^^^^ not found in this scope
    |
help: consider importing this trait
    |
3   | use group::Group;
    |

Check failure on line 161 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

cannot find trait `Group` in this scope

error[E0405]: cannot find trait `Group` in this scope
   --> halo2_proofs/src/dev.rs:161:33
    |
161 | fn calculate_assigned_values<F: Group + Field>(
    |                                 ^^^^^ not found in this scope
    |
help: consider importing this trait
    |
3   | use group::Group;
    |

Check failure on line 148 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

cannot find trait `Group` in this scope

error[E0405]: cannot find trait `Group` in this scope
   --> halo2_proofs/src/dev.rs:148:9
    |
148 | impl<F: Group + Field> From<Assigned<F>> for CellValue<F> {
    |         ^^^^^ not found in this scope
    |
help: consider importing this trait
    |
3   | use group::Group;
    |

Check failure on line 129 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

cannot find trait `Group` in this scope

error[E0405]: cannot find trait `Group` in this scope
   --> halo2_proofs/src/dev.rs:129:9
    |
129 | impl<F: Group + Field> CellValue<F> {
    |         ^^^^^ not found in this scope
    |
help: consider importing this trait
    |
3   | use group::Group;
    |

Check failure on line 222 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

failed to resolve: use of undeclared crate or module `rayon`

error[E0433]: failed to resolve: use of undeclared crate or module `rayon`
   --> halo2_proofs/src/dev.rs:222:5
    |
222 |     rayon::scope(|scope| {
    |     ^^^^^ use of undeclared crate or module `rayon`

Check failure on line 207 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

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

failed to resolve: use of undeclared crate or module `rayon`

error[E0433]: failed to resolve: use of undeclared crate or module `rayon`
   --> halo2_proofs/src/dev.rs:207:23
    |
207 |     let num_threads = rayon::current_num_threads();
    |                       ^^^^^ use of undeclared crate or module `rayon`