Skip to content

Use degree() to compute the max_degree #42

Use degree() to compute the max_degree

Use degree() to compute the max_degree #42

Triggered via push May 8, 2024 15:29
Status Success
Total duration 1m 18s
Artifacts

lints-beta.yml

on: push
Clippy (beta)
1m 8s
Clippy (beta)
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
method `required_degree` is never used: halo2_proofs/src/dev/cost_model.rs#L182
warning: method `required_degree` is never used --> halo2_proofs/src/dev/cost_model.rs:182:8 | 178 | impl Permutation { | ---------------- method in this implementation ... 182 | fn required_degree(&self) -> usize { | ^^^^^^^^^^^^^^^
method `required_degree` is never used: halo2_proofs/src/dev/cost_model.rs#L143
warning: method `required_degree` is never used --> halo2_proofs/src/dev/cost_model.rs:143:8 | 142 | impl Lookup { | ----------- method in this implementation 143 | fn required_degree(&self) -> usize { | ^^^^^^^^^^^^^^^
fields `input_deg` and `table_deg` are never read: halo2_proofs/src/dev/cost_model.rs#L122
warning: fields `input_deg` and `table_deg` are never read --> halo2_proofs/src/dev/cost_model.rs:122:5 | 120 | pub struct Lookup { | ------ fields in this struct 121 | _columns: usize, 122 | input_deg: usize, | ^^^^^^^^^ 123 | table_deg: usize, | ^^^^^^^^^ | = note: `Lookup` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
method `required_degree` is never used: halo2_proofs/src/dev/cost_model.rs#L182
warning: method `required_degree` is never used --> halo2_proofs/src/dev/cost_model.rs:182:8 | 178 | impl Permutation { | ---------------- method in this implementation ... 182 | fn required_degree(&self) -> usize { | ^^^^^^^^^^^^^^^
method `required_degree` is never used: halo2_proofs/src/dev/cost_model.rs#L143
warning: method `required_degree` is never used --> halo2_proofs/src/dev/cost_model.rs:143:8 | 142 | impl Lookup { | ----------- method in this implementation 143 | fn required_degree(&self) -> usize { | ^^^^^^^^^^^^^^^
fields `input_deg` and `table_deg` are never read: halo2_proofs/src/dev/cost_model.rs#L122
warning: fields `input_deg` and `table_deg` are never read --> halo2_proofs/src/dev/cost_model.rs:122:5 | 120 | pub struct Lookup { | ------ fields in this struct 121 | _columns: usize, 122 | input_deg: usize, | ^^^^^^^^^ 123 | table_deg: usize, | ^^^^^^^^^ | = note: `Lookup` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
Clippy (beta)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/