[INFO] cloning repository https://github.com/miguelis/witness_optimizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miguelis/witness_optimizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fwitness_optimizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fwitness_optimizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 793d3dcb668721aa9ea27508a6a9927a130b5d0e [INFO] checking miguelis/witness_optimizer against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fwitness_optimizer" "/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/miguelis/witness_optimizer on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miguelis/witness_optimizer [INFO] finished tweaking git repo https://github.com/miguelis/witness_optimizer [INFO] tweaked toml for git repo https://github.com/miguelis/witness_optimizer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/miguelis/witness_optimizer 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80c2bb27fe53ba9d2547b56d2a9fd6292e072472090036fd27551da9bd6dcab0 [INFO] running `Command { std: "docker" "start" "-a" "80c2bb27fe53ba9d2547b56d2a9fd6292e072472090036fd27551da9bd6dcab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80c2bb27fe53ba9d2547b56d2a9fd6292e072472090036fd27551da9bd6dcab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c2bb27fe53ba9d2547b56d2a9fd6292e072472090036fd27551da9bd6dcab0", kill_on_drop: false }` [INFO] [stdout] 80c2bb27fe53ba9d2547b56d2a9fd6292e072472090036fd27551da9bd6dcab0 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca4e8ccd83ce9bfa453f6ee1bef5e4615b6601b07c94260f2b40b4ea73d9038 [INFO] running `Command { std: "docker" "start" "-a" "0ca4e8ccd83ce9bfa453f6ee1bef5e4615b6601b07c94260f2b40b4ea73d9038", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking constant_tracking v2.0.1 (/opt/rustwide/workdir/constant_tracking) [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking circom_algebra v2.0.1 (/opt/rustwide/workdir/circom_algebra) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> circom_algebra/src/algebra.rs:1164:21 [INFO] [stdout] | [INFO] [stdout] 1164 | let mut monomial; [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] --> circom_algebra/src/algebra.rs:1164:21 [INFO] [stdout] | [INFO] [stdout] 1164 | let mut monomial; [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: `field` [INFO] [stdout] --> circom_algebra/src/algebra.rs:1867:13 [INFO] [stdout] | [INFO] [stdout] 1867 | let field = BigInt::parse_bytes(FIELD.as_bytes(), 10) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking constraint_writers v2.0.1 (/opt/rustwide/workdir/constraint_writers) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking constraint_list v2.0.1 (/opt/rustwide/workdir/constraint_list) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> constraint_list/src/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, LinkedList}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constraint_writers::debug_writer::DebugWriter` [INFO] [stdout] --> constraint_list/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use constraint_writers::debug_writer::DebugWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constraint_writers::ConstraintExporter` [INFO] [stdout] --> constraint_list/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use constraint_writers::ConstraintExporter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `A` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ConstraintStorage, A, C, S, HashConstraint}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> constraint_list/src/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, LinkedList}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circom_algebra::simplification_utils::build_encoded_fast_substitutions` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | use circom_algebra::simplification_utils::build_encoded_fast_substitutions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constraint_writers::debug_writer::DebugWriter` [INFO] [stdout] --> constraint_list/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use constraint_writers::debug_writer::DebugWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circom_algebra::simplification_utils::fast_encoded_constraint_substitution` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | use circom_algebra::simplification_utils::fast_encoded_constraint_substitution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constraint_writers::ConstraintExporter` [INFO] [stdout] --> constraint_list/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use constraint_writers::ConstraintExporter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `A` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ConstraintStorage, A, C, S, HashConstraint}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circom_algebra::modular_arithmetic::*` [INFO] [stdout] --> constraint_list/src/cluster_non_linear.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use circom_algebra::modular_arithmetic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circom_algebra::simplification_utils::build_encoded_fast_substitutions` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | use circom_algebra::simplification_utils::build_encoded_fast_substitutions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circom_algebra::simplification_utils::fast_encoded_constraint_substitution` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | use circom_algebra::simplification_utils::fast_encoded_constraint_substitution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circom_algebra::modular_arithmetic::*` [INFO] [stdout] --> constraint_list/src/cluster_non_linear.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use circom_algebra::modular_arithmetic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let n = Cluster::size(&cluster); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let n = Cluster::size(&cluster); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | for i in &minimal_clusters{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | for c2 in c.c(){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | for i in &minimal_clusters{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | for c2 in c.c(){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constants` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:621:33 [INFO] [stdout] | [INFO] [stdout] 621 | let (substitutions, mut constants) = linear_simplification( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constants` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:621:33 [INFO] [stdout] | [INFO] [stdout] 621 | let (substitutions, mut constants) = linear_simplification( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apply_only_affected` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | let mut apply_only_affected = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apply_only_affected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | let dur = now.elapsed().unwrap().as_millis(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apply_only_affected` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | let mut apply_only_affected = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apply_only_affected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | for s in toberemoved{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | let dur = now.elapsed().unwrap().as_millis(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | for s in toberemoved{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:621:29 [INFO] [stdout] | [INFO] [stdout] 621 | let (substitutions, mut constants) = linear_simplification( [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] --> constraint_list/src/constraint_simplification.rs:621:29 [INFO] [stdout] | [INFO] [stdout] 621 | let (substitutions, mut constants) = linear_simplification( [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] --> constraint_list/src/constraint_simplification.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | let mut apply_only_affected = true; [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] --> constraint_list/src/constraint_simplification.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | let mut apply_only_affected = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> constraint_list/src/preprocess_non_linear.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | field: &BigInt, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> constraint_list/src/preprocess_non_linear.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | field: &BigInt, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `A` is never used [INFO] [stdout] --> constraint_list/src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type A = circom_algebra::algebra::ArithmeticExpression; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `A` is never used [INFO] [stdout] --> constraint_list/src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type A = circom_algebra::algebra::ArithmeticExpression; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SEncoded` is never used [INFO] [stdout] --> constraint_list/src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type SEncoded = HashMap; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SFrames` is never used [INFO] [stdout] --> constraint_list/src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | type SFrames = LinkedList; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SEncoded` is never used [INFO] [stdout] --> constraint_list/src/lib.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | type SEncoded = HashMap; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_clusters_quadratic_equalities` is never used [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_clusters_quadratic_equalities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SFrames` is never used [INFO] [stdout] --> constraint_list/src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | type SFrames = LinkedList; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_clusters_definitions` is never used [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_clusters_definitions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_clusters_quadratic_equalities` is never used [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_clusters_quadratic_equalities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_clusters_definitions` is never used [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_clusters_definitions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_possible_combinations_clusters` is never used [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn generate_possible_combinations_clusters(signal_to_clusters: &Vec>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_possible_combinations_clusters` is never used [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn generate_possible_combinations_clusters(signal_to_clusters: &Vec>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking optimizer v2.0.1 (/opt/rustwide/workdir/optimizer) [INFO] [stdout] warning: unused import: `constraint_list::constraint_simplification` [INFO] [stdout] --> optimizer/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use constraint_list::constraint_simplification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constraint_list::constraint_simplification` [INFO] [stdout] --> optimizer/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use constraint_list::constraint_simplification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> optimizer/src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | for (a,b) in hmap.clone(){ [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: `a` [INFO] [stdout] --> optimizer/src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | for (a,b) in hmap.clone(){ [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: value assigned to `num_circuit_variables` is never read [INFO] [stdout] --> optimizer/src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut num_circuit_variables = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_circuit_variables` is never read [INFO] [stdout] --> optimizer/src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut num_circuit_variables = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_equalities` is never read [INFO] [stdout] --> optimizer/src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut num_equalities = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_equalities` is never read [INFO] [stdout] --> optimizer/src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut num_equalities = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_var_out` [INFO] [stdout] --> optimizer/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let num_var_out = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_var_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_var_out` [INFO] [stdout] --> optimizer/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let num_var_out = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_var_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored_line` [INFO] [stdout] --> optimizer/src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let ignored_line = opt_line.next(); /*We ignore ~prime*/ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored_line` [INFO] [stdout] --> optimizer/src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let ignored_line = opt_line.next(); /*We ignore ~prime*/ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimizer/src/main.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | println!("{}",next_line.expect(".").clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimizer/src/main.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | println!("{}",next_line.expect(".").clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> optimizer/src/main.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | constraint_list::r1cs_porting::port_r1cs(&cl,"a.r1cs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 375 | let _ = constraint_list::r1cs_porting::port_r1cs(&cl,"a.r1cs"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> optimizer/src/main.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | constraint_list::r1cs_porting::port_r1cs(&cl,"a.r1cs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 375 | let _ = constraint_list::r1cs_porting::port_r1cs(&cl,"a.r1cs"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.84s [INFO] running `Command { std: "docker" "inspect" "0ca4e8ccd83ce9bfa453f6ee1bef5e4615b6601b07c94260f2b40b4ea73d9038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca4e8ccd83ce9bfa453f6ee1bef5e4615b6601b07c94260f2b40b4ea73d9038", kill_on_drop: false }` [INFO] [stdout] 0ca4e8ccd83ce9bfa453f6ee1bef5e4615b6601b07c94260f2b40b4ea73d9038 [INFO] checking miguelis/witness_optimizer against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fwitness_optimizer" "/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/miguelis/witness_optimizer on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miguelis/witness_optimizer [INFO] finished tweaking git repo https://github.com/miguelis/witness_optimizer [INFO] tweaked toml for git repo https://github.com/miguelis/witness_optimizer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/miguelis/witness_optimizer 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21dccdb7a7f6c0ee0b307d0efa8e155217acd9f29d75d4fd3b9a20c4c5aa6855 [INFO] running `Command { std: "docker" "start" "-a" "21dccdb7a7f6c0ee0b307d0efa8e155217acd9f29d75d4fd3b9a20c4c5aa6855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21dccdb7a7f6c0ee0b307d0efa8e155217acd9f29d75d4fd3b9a20c4c5aa6855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dccdb7a7f6c0ee0b307d0efa8e155217acd9f29d75d4fd3b9a20c4c5aa6855", kill_on_drop: false }` [INFO] [stdout] 21dccdb7a7f6c0ee0b307d0efa8e155217acd9f29d75d4fd3b9a20c4c5aa6855 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5d16ab3d7425a1488697515799162f326f93f3e831019a60260a49444935b59 [INFO] running `Command { std: "docker" "start" "-a" "d5d16ab3d7425a1488697515799162f326f93f3e831019a60260a49444935b59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking constant_tracking v2.0.1 (/opt/rustwide/workdir/constant_tracking) [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking circom_algebra v2.0.1 (/opt/rustwide/workdir/circom_algebra) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> circom_algebra/src/algebra.rs:1164:21 [INFO] [stdout] | [INFO] [stdout] 1164 | let mut monomial; [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] --> circom_algebra/src/algebra.rs:1164:21 [INFO] [stdout] | [INFO] [stdout] 1164 | let mut monomial; [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: `field` [INFO] [stdout] --> circom_algebra/src/algebra.rs:1867:13 [INFO] [stdout] | [INFO] [stdout] 1867 | let field = BigInt::parse_bytes(FIELD.as_bytes(), 10) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] --> circom_algebra/src/algebra.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 114 | arithmetic_expression: ArithmeticExpression, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut a = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | let mut b = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut c = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Option::Some(Constraint::new(a, b, c)) [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] --> circom_algebra/src/algebra.rs:919:9 [INFO] [stdout] | [INFO] [stdout] 911 | substitution: Substitution, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | let symbol = substitution.from; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 915 | let mut coefficients = substitution.to; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 918 | let arith = ArithmeticExpression::Linear { coefficients }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 919 | ArithmeticExpression::transform_expression_to_constraint_form(arith, field).unwrap() [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] --> circom_algebra/src/algebra.rs:1068:30 [INFO] [stdout] | [INFO] [stdout] 1061 | constraint: Constraint, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1067 | let raw_expression = Constraint::clear_signal(constraint.c, &signal, field); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1068 | Substitution { from: signal.clone(), to: raw_expression } [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] --> circom_algebra/src/algebra.rs:1329:13 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn into_arithmetic_expressions(self) -> (ArithmeticExpression, ArithmeticExpression, ArithmeticExpression) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1328 | ( [INFO] [stdout] 1329 | ArithmeticExpression::Linear { coefficients: self.a }, [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] --> circom_algebra/src/algebra.rs:1330:13 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn into_arithmetic_expressions(self) -> (ArithmeticExpression, ArithmeticExpression, ArithmeticExpression) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1330 | ArithmeticExpression::Linear { coefficients: self.b }, [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] --> circom_algebra/src/algebra.rs:1331:13 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn into_arithmetic_expressions(self) -> (ArithmeticExpression, ArithmeticExpression, ArithmeticExpression) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1331 | ArithmeticExpression::Linear { coefficients: self.c } [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] --> circom_algebra/src/algebra.rs:1343:10 [INFO] [stdout] | [INFO] [stdout] 1342 | let norm_constraint = normalize(constraint.clone(), field); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | (get_hash(norm_constraint.a()), get_hash(norm_constraint.b()), get_hash(norm_constraint.c())) [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] --> circom_algebra/src/algebra.rs:1343:41 [INFO] [stdout] | [INFO] [stdout] 1342 | let norm_constraint = normalize(constraint.clone(), field); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | (get_hash(norm_constraint.a()), get_hash(norm_constraint.b()), get_hash(norm_constraint.c())) [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] --> circom_algebra/src/algebra.rs:1343:72 [INFO] [stdout] | [INFO] [stdout] 1342 | let norm_constraint = normalize(constraint.clone(), field); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | (get_hash(norm_constraint.a()), get_hash(norm_constraint.b()), get_hash(norm_constraint.c())) [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] --> circom_algebra/src/algebra.rs:1642:26 [INFO] [stdout] | [INFO] [stdout] 1641 | let first_coefficient: BigInt = get_coefficient_smallest_signal(a); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1642 | first_coefficient == BigInt::from(0) [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] --> circom_algebra/src/modular_arithmetic.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 61 | let left = modulus(left, field); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let right = modulus(right, field); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Result::Ok(modulus(&left, &right)) [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 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `circom_algebra` (lib) due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> circom_algebra/src/algebra.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 114 | arithmetic_expression: ArithmeticExpression, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut a = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | let mut b = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut c = HashMap::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Option::Some(Constraint::new(a, b, c)) [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] --> circom_algebra/src/algebra.rs:919:9 [INFO] [stdout] | [INFO] [stdout] 911 | substitution: Substitution, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | let symbol = substitution.from; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 915 | let mut coefficients = substitution.to; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 918 | let arith = ArithmeticExpression::Linear { coefficients }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 919 | ArithmeticExpression::transform_expression_to_constraint_form(arith, field).unwrap() [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] --> circom_algebra/src/algebra.rs:1068:30 [INFO] [stdout] | [INFO] [stdout] 1061 | constraint: Constraint, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1067 | let raw_expression = Constraint::clear_signal(constraint.c, &signal, field); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1068 | Substitution { from: signal.clone(), to: raw_expression } [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] --> circom_algebra/src/algebra.rs:1329:13 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn into_arithmetic_expressions(self) -> (ArithmeticExpression, ArithmeticExpression, ArithmeticExpression) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1328 | ( [INFO] [stdout] 1329 | ArithmeticExpression::Linear { coefficients: self.a }, [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] --> circom_algebra/src/algebra.rs:1330:13 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn into_arithmetic_expressions(self) -> (ArithmeticExpression, ArithmeticExpression, ArithmeticExpression) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1330 | ArithmeticExpression::Linear { coefficients: self.b }, [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] --> circom_algebra/src/algebra.rs:1331:13 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn into_arithmetic_expressions(self) -> (ArithmeticExpression, ArithmeticExpression, ArithmeticExpression) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1331 | ArithmeticExpression::Linear { coefficients: self.c } [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] --> circom_algebra/src/algebra.rs:1343:10 [INFO] [stdout] | [INFO] [stdout] 1342 | let norm_constraint = normalize(constraint.clone(), field); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | (get_hash(norm_constraint.a()), get_hash(norm_constraint.b()), get_hash(norm_constraint.c())) [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] --> circom_algebra/src/algebra.rs:1343:41 [INFO] [stdout] | [INFO] [stdout] 1342 | let norm_constraint = normalize(constraint.clone(), field); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | (get_hash(norm_constraint.a()), get_hash(norm_constraint.b()), get_hash(norm_constraint.c())) [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] --> circom_algebra/src/algebra.rs:1343:72 [INFO] [stdout] | [INFO] [stdout] 1342 | let norm_constraint = normalize(constraint.clone(), field); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | (get_hash(norm_constraint.a()), get_hash(norm_constraint.b()), get_hash(norm_constraint.c())) [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] --> circom_algebra/src/algebra.rs:1642:26 [INFO] [stdout] | [INFO] [stdout] 1641 | let first_coefficient: BigInt = get_coefficient_smallest_signal(a); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1642 | first_coefficient == BigInt::from(0) [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] --> circom_algebra/src/modular_arithmetic.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 61 | let left = modulus(left, field); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let right = modulus(right, field); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Result::Ok(modulus(&left, &right)) [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 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `circom_algebra` (lib test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5d16ab3d7425a1488697515799162f326f93f3e831019a60260a49444935b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5d16ab3d7425a1488697515799162f326f93f3e831019a60260a49444935b59", kill_on_drop: false }` [INFO] [stdout] d5d16ab3d7425a1488697515799162f326f93f3e831019a60260a49444935b59