[INFO] cloning repository https://github.com/ivan-kyuchukov/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/ivan-kyuchukov/halo2-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivan-kyuchukov%2Fhalo2-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivan-kyuchukov%2Fhalo2-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8740222984663a5641272014874f9b74d0b13452 [INFO] building ivan-kyuchukov/halo2-examples against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivan-kyuchukov%2Fhalo2-examples" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivan-kyuchukov/halo2-examples on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivan-kyuchukov/halo2-examples [INFO] finished tweaking git repo https://github.com/ivan-kyuchukov/halo2-examples [INFO] tweaked toml for git repo https://github.com/ivan-kyuchukov/halo2-examples written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ivan-kyuchukov/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-bitmap v0.3.1 [INFO] [stderr] Downloaded font-kit v0.10.1 [INFO] [stderr] Downloaded pasta_curves v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5951473bb852092858ed13deeaf7a9f4561e2da81ebc8bfb5272aff3f8ed2ca9 [INFO] running `Command { std: "docker" "start" "-a" "5951473bb852092858ed13deeaf7a9f4561e2da81ebc8bfb5272aff3f8ed2ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5951473bb852092858ed13deeaf7a9f4561e2da81ebc8bfb5272aff3f8ed2ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5951473bb852092858ed13deeaf7a9f4561e2da81ebc8bfb5272aff3f8ed2ca9", kill_on_drop: false }` [INFO] [stdout] 5951473bb852092858ed13deeaf7a9f4561e2da81ebc8bfb5272aff3f8ed2ca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8a181e67441df0b1aa1b5dbecf29817cc041068a604ed3e7778e352b53c2566 [INFO] running `Command { std: "docker" "start" "-a" "b8a181e67441df0b1aa1b5dbecf29817cc041068a604ed3e7778e352b53c2566", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling pasta_curves v0.4.0 [INFO] [stderr] Compiling halo2_proofs v0.1.0 (https://github.com/zcash/halo2.git?rev=a898d65ae3ad3d41987666f6a03cfc15edae01c4#a898d65a) [INFO] [stderr] Compiling fibonacci v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Constraints`, `Expression`, and `TableColumn` [INFO] [stdout] --> src/range_check/example3_broken.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | Advice, Assigned, Column, ConstraintSystem, Constraints, Error, Expression, Selector, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | TableColumn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hash_2::{self, Hash2Chip, Hash2Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{marker::PhantomData, path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hash_2::{self, Hash2Chip, Hash2Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{marker::PhantomData, path, println}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::MerkleTreeV2Circuit` [INFO] [stdout] --> src/mip/circuits/merkle_v2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use super::MerkleTreeV2Circuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/mip/circuits/merkle_v2.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | use halo2_proofs::{circuit::Value, dev::MockProver, pasta::Fp}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `marker::PhantomData` and `println` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, println}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::MyMIPCircuitV2` [INFO] [stdout] --> src/mip/circuits/my_mip_v2.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use super::MyMIPCircuitV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/mip/circuits/my_mip_v2.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | use halo2_proofs::{circuit::Value, dev::MockProver, pasta::Fp}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{Field, FieldExt}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{Field, FieldExt}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_leaf` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | mut prev_leaf, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_proof` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | mut prev_proof, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mip/circuits/my_mip.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | mut prev_leaf, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mip/circuits/my_mip.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | mut prev_proof, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ACell` is never constructed [INFO] [stdout] --> src/fibonacci/example2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct ACell(AssignedCell); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeConstrained` is never constructed [INFO] [stdout] --> src/range_check/example1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct RangeConstrained(AssignedCell, F>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example1.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct RangeCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `assign` are never used [INFO] [stdout] --> src/range_check/example1.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl RangeCheckConfig { [INFO] [stdout] | ---------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn configure(meta: &mut ConstraintSystem, value: Column) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeConstrained` is never constructed [INFO] [stdout] --> src/range_check/example2.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct RangeConstrained(AssignedCell, F>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example2.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct RangeCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure`, `assign_simple`, and `assign_lookup` are never used [INFO] [stdout] --> src/range_check/example2.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 33 | / impl [INFO] [stdout] 34 | | RangeCheckConfig [INFO] [stdout] | |____________________________________________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub fn configure(meta: &mut ConstraintSystem, value: Column) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn assign_simple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn assign_lookup( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeTableConfig` is never constructed [INFO] [stdout] --> src/range_check/example2/table.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct RangeTableConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `load` are never used [INFO] [stdout] --> src/range_check/example2/table.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl RangeTableConfig { [INFO] [stdout] | ---------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub(super) fn configure(meta: &mut ConstraintSystem) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(super) fn load(&self, layouter: &mut impl Layouter) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeConstrained` is never constructed [INFO] [stdout] --> src/range_check/example3_broken.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct RangeConstrained { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example3_broken.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct RangeCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `assign` are never used [INFO] [stdout] --> src/range_check/example3_broken.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl RangeCheckConfig { [INFO] [stdout] | ------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn configure( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeTableConfig` is never constructed [INFO] [stdout] --> src/range_check/example3_broken/table.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct RangeTableConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `load` are never used [INFO] [stdout] --> src/range_check/example3_broken/table.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl RangeTableConfig { [INFO] [stdout] | ------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | pub(super) fn configure(meta: &mut ConstraintSystem) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn load(&self, layouter: &mut impl Layouter) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance` and `hash_selector` are never read [INFO] [stdout] --> src/mip/chips/hash_2.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Hash2Config { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub advice: [Column; 3], [INFO] [stdout] 8 | pub instance: Column, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub hash_selector: Selector, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hash2Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_private`, `load_constant`, and `expose_public` are never used [INFO] [stdout] --> src/mip/chips/hash_2.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Hash2Chip { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn load_private( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn load_constant( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn expose_public( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/mip/chips/my_mip_chip.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MyMerkleConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub leaf: Column, [INFO] [stdout] 7 | pub root: Column, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyMerkleConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leaf` and `proof` are never read [INFO] [stdout] --> src/mip/circuits/my_mip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyMIPCircuit { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | pub leaf: F, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub proof: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyMIPCircuit` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.65s [INFO] running `Command { std: "docker" "inspect" "b8a181e67441df0b1aa1b5dbecf29817cc041068a604ed3e7778e352b53c2566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a181e67441df0b1aa1b5dbecf29817cc041068a604ed3e7778e352b53c2566", kill_on_drop: false }` [INFO] [stdout] b8a181e67441df0b1aa1b5dbecf29817cc041068a604ed3e7778e352b53c2566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1569b9eb664cc25dfa4d9ec23c4ea1667fe7684da9863e47b8c43f8e497217f [INFO] running `Command { std: "docker" "start" "-a" "c1569b9eb664cc25dfa4d9ec23c4ea1667fe7684da9863e47b8c43f8e497217f", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Constraints`, `Expression`, and `TableColumn` [INFO] [stdout] --> src/range_check/example3_broken.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | Advice, Assigned, Column, ConstraintSystem, Constraints, Error, Expression, Selector, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | TableColumn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hash_2::{self, Hash2Chip, Hash2Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{marker::PhantomData, path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hash_2::{self, Hash2Chip, Hash2Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{marker::PhantomData, path, println}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::MerkleTreeV2Circuit` [INFO] [stdout] --> src/mip/circuits/merkle_v2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use super::MerkleTreeV2Circuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/mip/circuits/merkle_v2.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | use halo2_proofs::{circuit::Value, dev::MockProver, pasta::Fp}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `marker::PhantomData` and `println` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, println}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::MyMIPCircuitV2` [INFO] [stdout] --> src/mip/circuits/my_mip_v2.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use super::MyMIPCircuitV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/mip/circuits/my_mip_v2.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | use halo2_proofs::{circuit::Value, dev::MockProver, pasta::Fp}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{Field, FieldExt}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{Field, FieldExt}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_leaf` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | mut prev_leaf, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_proof` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | mut prev_proof, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mip/circuits/my_mip.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | mut prev_leaf, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fibonacci v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mip/circuits/my_mip.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | mut prev_proof, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ACell` is never constructed [INFO] [stdout] --> src/fibonacci/example2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct ACell(AssignedCell); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeConstrained` is never constructed [INFO] [stdout] --> src/range_check/example1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct RangeConstrained(AssignedCell, F>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example1.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct RangeCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `assign` are never used [INFO] [stdout] --> src/range_check/example1.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl RangeCheckConfig { [INFO] [stdout] | ---------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn configure(meta: &mut ConstraintSystem, value: Column) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeConstrained` is never constructed [INFO] [stdout] --> src/range_check/example2.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct RangeConstrained(AssignedCell, F>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example2.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct RangeCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure`, `assign_simple`, and `assign_lookup` are never used [INFO] [stdout] --> src/range_check/example2.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 33 | / impl [INFO] [stdout] 34 | | RangeCheckConfig [INFO] [stdout] | |____________________________________________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub fn configure(meta: &mut ConstraintSystem, value: Column) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn assign_simple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn assign_lookup( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeTableConfig` is never constructed [INFO] [stdout] --> src/range_check/example2/table.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct RangeTableConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `load` are never used [INFO] [stdout] --> src/range_check/example2/table.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl RangeTableConfig { [INFO] [stdout] | ---------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub(super) fn configure(meta: &mut ConstraintSystem) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(super) fn load(&self, layouter: &mut impl Layouter) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeConstrained` is never constructed [INFO] [stdout] --> src/range_check/example3_broken.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct RangeConstrained { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeCheckConfig` is never constructed [INFO] [stdout] --> src/range_check/example3_broken.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct RangeCheckConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `assign` are never used [INFO] [stdout] --> src/range_check/example3_broken.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl RangeCheckConfig { [INFO] [stdout] | ------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn configure( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn assign( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeTableConfig` is never constructed [INFO] [stdout] --> src/range_check/example3_broken/table.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct RangeTableConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `configure` and `load` are never used [INFO] [stdout] --> src/range_check/example3_broken/table.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl RangeTableConfig { [INFO] [stdout] | ------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 20 | pub(super) fn configure(meta: &mut ConstraintSystem) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn load(&self, layouter: &mut impl Layouter) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance` and `hash_selector` are never read [INFO] [stdout] --> src/mip/chips/hash_2.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Hash2Config { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub advice: [Column; 3], [INFO] [stdout] 8 | pub instance: Column, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub hash_selector: Selector, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hash2Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_private`, `load_constant`, and `expose_public` are never used [INFO] [stdout] --> src/mip/chips/hash_2.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Hash2Chip { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn load_private( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn load_constant( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn expose_public( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/mip/chips/my_mip_chip.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MyMerkleConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub leaf: Column, [INFO] [stdout] 7 | pub root: Column, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyMerkleConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leaf` and `proof` are never read [INFO] [stdout] --> src/mip/circuits/my_mip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyMIPCircuit { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | pub leaf: F, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub proof: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyMIPCircuit` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraints`, `Expression`, and `TableColumn` [INFO] [stdout] --> src/range_check/example3_broken.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | Advice, Assigned, Column, ConstraintSystem, Constraints, Error, Expression, Selector, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | TableColumn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `FailureLocation`, and `VerifyFailure` [INFO] [stdout] --> src/range_check/example3_broken.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | dev::{FailureLocation, MockProver, VerifyFailure}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 116 | pasta::Fp, [INFO] [stdout] 117 | plonk::{Any, Circuit}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hash_2::{self, Hash2Chip, Hash2Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{marker::PhantomData, path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hash_2::{self, Hash2Chip, Hash2Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{marker::PhantomData, path, println}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::MerkleTreeV2Circuit` [INFO] [stdout] --> src/mip/circuits/merkle_v2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use super::MerkleTreeV2Circuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit::Value`, `dev::MockProver`, and `pasta::Fp` [INFO] [stdout] --> src/mip/circuits/merkle_v2.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | use halo2_proofs::{circuit::Value, dev::MockProver, pasta::Fp}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `marker::PhantomData` and `println` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, println}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/mip/chips/my_mip_chip_v2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{Field, FieldExt}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/mip/chips/merkle_v2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{Field, FieldExt}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fibonacci/example1.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut public_input = vec![a, b, out]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_leaf` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | mut prev_leaf, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_leaf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_proof` [INFO] [stdout] --> src/mip/circuits/my_mip.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | mut prev_proof, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mip/circuits/my_mip.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | mut prev_leaf, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mip/circuits/my_mip.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | mut prev_proof, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ACell` is never constructed [INFO] [stdout] --> src/fibonacci/example2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct ACell(AssignedCell); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_bits` and `assigned_cell` are never read [INFO] [stdout] --> src/range_check/example3_broken.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct RangeConstrained { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 33 | num_bits: AssignedCell, F>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | assigned_cell: AssignedCell, F>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeConstrained` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance` and `hash_selector` are never read [INFO] [stdout] --> src/mip/chips/hash_2.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Hash2Config { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub advice: [Column; 3], [INFO] [stdout] 8 | pub instance: Column, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub hash_selector: Selector, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hash2Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_private`, `load_constant`, and `expose_public` are never used [INFO] [stdout] --> src/mip/chips/hash_2.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Hash2Chip { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn load_private( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn load_constant( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn expose_public( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/mip/chips/my_mip_chip.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MyMerkleConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub leaf: Column, [INFO] [stdout] 7 | pub root: Column, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyMerkleConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leaf` and `proof` are never read [INFO] [stdout] --> src/mip/circuits/my_mip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyMIPCircuit { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | pub leaf: F, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub proof: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyMIPCircuit` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "c1569b9eb664cc25dfa4d9ec23c4ea1667fe7684da9863e47b8c43f8e497217f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1569b9eb664cc25dfa4d9ec23c4ea1667fe7684da9863e47b8c43f8e497217f", kill_on_drop: false }` [INFO] [stdout] c1569b9eb664cc25dfa4d9ec23c4ea1667fe7684da9863e47b8c43f8e497217f