[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 try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SwaroopReddyBasireddy/halo2-examples on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a383f1eea3c502c1ed66944926e4d4a27a7cb92eb7f6ccbcb5b123a55870822c [INFO] running `Command { std: "docker" "start" "-a" "a383f1eea3c502c1ed66944926e4d4a27a7cb92eb7f6ccbcb5b123a55870822c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a383f1eea3c502c1ed66944926e4d4a27a7cb92eb7f6ccbcb5b123a55870822c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a383f1eea3c502c1ed66944926e4d4a27a7cb92eb7f6ccbcb5b123a55870822c", kill_on_drop: false }` [INFO] [stdout] a383f1eea3c502c1ed66944926e4d4a27a7cb92eb7f6ccbcb5b123a55870822c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a25a523b32476629c47a7db60f860083c5758ec1255d2d4635392be7189c9433 [INFO] running `Command { std: "docker" "start" "-a" "a25a523b32476629c47a7db60f860083c5758ec1255d2d4635392be7189c9433", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking static_assertions v1.1.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 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 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: `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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/example_iszero.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | |meta| meta.query_advice(a, Rotation::cur()) - meta.query_advice(b, Rotation::cur()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/example_iszero.rs:38:70 [INFO] [stdout] | [INFO] [stdout] 38 | |meta| meta.query_advice(a, Rotation::cur()) - meta.query_advice(b, Rotation::cur()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/range_check/example1.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 33 | let q = meta.query_selector(q_range_check); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let value = meta.query_advice(value, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Constraints::with_selector(q, [("range check", range_check(RANGE, value))]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/range_check/example1.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 36 | let range_check = |range: usize, value: Expression| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (0..range).fold(value.clone(), |expr, i|{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/range_check/example1.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 37 | (0..range).fold(value.clone(), |expr, i|{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | expr * (Expression::Constant(F::from(i as u64)) - value.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/example_iszero.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | |meta| meta.query_advice(a, Rotation::cur()) - meta.query_advice(b, Rotation::cur()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/example_iszero.rs:38:70 [INFO] [stdout] | [INFO] [stdout] 38 | |meta| meta.query_advice(a, Rotation::cur()) - meta.query_advice(b, Rotation::cur()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/range_check/example1.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 33 | let q = meta.query_selector(q_range_check); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let value = meta.query_advice(value, Rotation::cur()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Constraints::with_selector(q, [("range check", range_check(RANGE, value))]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/range_check/example1.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 36 | let range_check = |range: usize, value: Expression| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (0..range).fold(value.clone(), |expr, i|{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/range_check/example1.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 37 | (0..range).fold(value.clone(), |expr, i|{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | expr * (Expression::Constant(F::from(i as u64)) - value.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 23 warnings emitted [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] error: aborting due to 5 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fibonacci` (lib test) due to 6 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fibonacci` (lib) due to 6 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a25a523b32476629c47a7db60f860083c5758ec1255d2d4635392be7189c9433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25a523b32476629c47a7db60f860083c5758ec1255d2d4635392be7189c9433", kill_on_drop: false }` [INFO] [stdout] a25a523b32476629c47a7db60f860083c5758ec1255d2d4635392be7189c9433