[INFO] cloning repository https://github.com/SwaroopReddyBasireddy/halo2-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SwaroopReddyBasireddy/halo2-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwaroopReddyBasireddy%2Fhalo2-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwaroopReddyBasireddy%2Fhalo2-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d939cdeaaebdcf4c88fd20fe4ec766faa041cb13 [INFO] checking SwaroopReddyBasireddy/halo2-examples/d939cdeaaebdcf4c88fd20fe4ec766faa041cb13 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwaroopReddyBasireddy%2Fhalo2-examples" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SwaroopReddyBasireddy/halo2-examples on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SwaroopReddyBasireddy/halo2-examples [INFO] finished tweaking git repo https://github.com/SwaroopReddyBasireddy/halo2-examples [INFO] tweaked toml for git repo https://github.com/SwaroopReddyBasireddy/halo2-examples written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SwaroopReddyBasireddy/halo2-examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded halo2 v0.0.0 [INFO] [stderr] Downloaded tabbycat v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09ec8a7a1234df7cfcba06a2045fec3e6c3f4a100b2005800640cd562b2ec06c [INFO] running `Command { std: "docker" "start" "-a" "09ec8a7a1234df7cfcba06a2045fec3e6c3f4a100b2005800640cd562b2ec06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09ec8a7a1234df7cfcba06a2045fec3e6c3f4a100b2005800640cd562b2ec06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ec8a7a1234df7cfcba06a2045fec3e6c3f4a100b2005800640cd562b2ec06c", kill_on_drop: false }` [INFO] [stdout] 09ec8a7a1234df7cfcba06a2045fec3e6c3f4a100b2005800640cd562b2ec06c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b00fa60517a0238044a1280610727dd3f4a9c6663aa73db0e002337b578ef2dc [INFO] running `Command { std: "docker" "start" "-a" "b00fa60517a0238044a1280610727dd3f4a9c6663aa73db0e002337b578ef2dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking halo2 v0.0.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking pasta_curves v0.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking halo2_proofs v0.2.0 [INFO] [stderr] Checking gadget v0.1.0 (/opt/rustwide/workdir/gadget/IsZero) [INFO] [stderr] Checking fibonacci v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `poly::Rotation` and `self` [INFO] [stdout] --> src/range_check/example1.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | arithmetic::FieldExt, circuit::{self, *}, dev::{FailureLocation, MockProver, VerifyFailure}, pasta::Fp, plonk::*, poly::Rotation [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `group::ff::Field` [INFO] [stdout] --> src/arithmetic/example2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use group::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/arithmetic/example3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `group::ff::Field` [INFO] [stdout] --> src/arithmetic/example3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use group::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssignedCell` [INFO] [stdout] --> src/arithmetic/example3.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use halo2_proofs::circuit::{AssignedCell, Value}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/arithmetic/example3.rs:236:65 [INFO] [stdout] | [INFO] [stdout] 236 | config.constant.clone(), 2, || Value::known((F::from(5))))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 236 - config.constant.clone(), 2, || Value::known((F::from(5))))?; [INFO] [stdout] 236 + config.constant.clone(), 2, || Value::known(F::from(5)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `group::ff::Field` [INFO] [stdout] --> src/arithmetic/example2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use group::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/arithmetic/example3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `group::ff::Field` [INFO] [stdout] --> src/arithmetic/example3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use group::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssignedCell` [INFO] [stdout] --> src/arithmetic/example3.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use halo2_proofs::circuit::{AssignedCell, Value}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/arithmetic/example3.rs:236:65 [INFO] [stdout] | [INFO] [stdout] 236 | config.constant.clone(), 2, || Value::known((F::from(5))))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 236 - config.constant.clone(), 2, || Value::known((F::from(5))))?; [INFO] [stdout] 236 + config.constant.clone(), 2, || Value::known(F::from(5)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/arithmetic/example2.rs:209:57 [INFO] [stdout] | [INFO] [stdout] 209 | fn load_private(&self, _layouter: impl Layouter, a: Cell) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layouter` [INFO] [stdout] --> src/arithmetic/example2.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn load_constant(&self, layouter: impl Layouter, constant: F) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layouter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/arithmetic/example2.rs:213:57 [INFO] [stdout] | [INFO] [stdout] 213 | fn load_constant(&self, layouter: impl Layouter, constant: F) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a0` [INFO] [stdout] --> src/arithmetic/example2.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | let (a0, b0, c0) = arith_chip.raw_multiply(&mut layouter, || x.map(|x| (x,x,x*x)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b0` [INFO] [stdout] --> src/arithmetic/example2.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | let (a0, b0, c0) = arith_chip.raw_multiply(&mut layouter, || x.map(|x| (x,x,x*x)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c0` [INFO] [stdout] --> src/arithmetic/example2.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | let (a0, b0, c0) = arith_chip.raw_multiply(&mut layouter, || x.map(|x| (x,x,x*x)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a1` [INFO] [stdout] --> src/arithmetic/example2.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | let (a1, b1, _c1) = arith_chip.raw_multiply(&mut layouter, || y.map(|y| (y,y,y*y)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/arithmetic/example2.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let (a1, b1, _c1) = arith_chip.raw_multiply(&mut layouter, || y.map(|y| (y,y,y*y)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/arithmetic/example2.rs:209:57 [INFO] [stdout] | [INFO] [stdout] 209 | fn load_private(&self, _layouter: impl Layouter, a: Cell) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layouter` [INFO] [stdout] --> src/arithmetic/example2.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn load_constant(&self, layouter: impl Layouter, constant: F) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layouter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/arithmetic/example2.rs:213:57 [INFO] [stdout] | [INFO] [stdout] 213 | fn load_constant(&self, layouter: impl Layouter, constant: F) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a0` [INFO] [stdout] --> src/arithmetic/example2.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | let (a0, b0, c0) = arith_chip.raw_multiply(&mut layouter, || x.map(|x| (x,x,x*x)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b0` [INFO] [stdout] --> src/arithmetic/example2.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | let (a0, b0, c0) = arith_chip.raw_multiply(&mut layouter, || x.map(|x| (x,x,x*x)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c0` [INFO] [stdout] --> src/arithmetic/example2.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | let (a0, b0, c0) = arith_chip.raw_multiply(&mut layouter, || x.map(|x| (x,x,x*x)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a1` [INFO] [stdout] --> src/arithmetic/example2.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | let (a1, b1, _c1) = arith_chip.raw_multiply(&mut layouter, || y.map(|y| (y,y,y*y)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/arithmetic/example2.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let (a1, b1, _c1) = arith_chip.raw_multiply(&mut layouter, || y.map(|y| (y,y,y*y)))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/arithmetic/example3.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let constant = Fp::from(7); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/example_iszero.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/arithmetic/example1.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `raw_add`, `load_private`, `load_constant`, `copy`, and `expose_public` are never used [INFO] [stdout] --> src/arithmetic/example2.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | trait ArithmeticInstructions { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn raw_add( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn load_private(&self, layouter: impl Layouter, a: Cell) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn load_constant(&self, layouter: impl Layouter, constant: F) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn copy(&self, layouter: impl Layouter, a: Cell, b: Cell) -> Result<(), Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn expose_public( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s_l`, `s_r`, `s_c`, and `PI` are never read [INFO] [stdout] --> src/arithmetic/example2.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct ArithmeticConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | s_l: Column, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | s_r: Column, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | s_c: Column, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | PI: Column, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArithmeticConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/arithmetic/example2.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/arithmetic/example3.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl ArithmeticChip { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] 32 | fn construct(config: ArithmeticConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/arithmetic/example3.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PI` should have a snake case name [INFO] [stdout] --> src/arithmetic/example2.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | PI: Column, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant` [INFO] [stdout] --> src/arithmetic/example3.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let constant = Fp::from(7); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/example_iszero.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RnageCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example1.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct RnageCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `assign` are never used [INFO] [stdout] --> src/range_check/example1.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl RnageCheckConfig { [INFO] [stdout] | ----------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | fn configure( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/arithmetic/example1.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `raw_add`, `load_private`, `load_constant`, `copy`, and `expose_public` are never used [INFO] [stdout] --> src/arithmetic/example2.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | trait ArithmeticInstructions { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn raw_add( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn load_private(&self, layouter: impl Layouter, a: Cell) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn load_constant(&self, layouter: impl Layouter, constant: F) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn copy(&self, layouter: impl Layouter, a: Cell, b: Cell) -> Result<(), Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn expose_public( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s_l`, `s_r`, `s_c`, and `PI` are never read [INFO] [stdout] --> src/arithmetic/example2.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct ArithmeticConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | s_l: Column, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | s_r: Column, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | s_c: Column, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | PI: Column, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArithmeticConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/arithmetic/example2.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/arithmetic/example3.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl ArithmeticChip { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] 32 | fn construct(config: ArithmeticConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/arithmetic/example3.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PI` should have a snake case name [INFO] [stdout] --> src/arithmetic/example2.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | PI: Column, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.37s [INFO] running `Command { std: "docker" "inspect" "b00fa60517a0238044a1280610727dd3f4a9c6663aa73db0e002337b578ef2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b00fa60517a0238044a1280610727dd3f4a9c6663aa73db0e002337b578ef2dc", kill_on_drop: false }` [INFO] [stdout] b00fa60517a0238044a1280610727dd3f4a9c6663aa73db0e002337b578ef2dc