[INFO] cloning repository https://github.com/miguelis/private_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/private_optimizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fprivate_optimizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fprivate_optimizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb457e85764b6ff7dad71d2b065bf85448f58d0a [INFO] documenting miguelis/private_optimizer against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelis%2Fprivate_optimizer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miguelis/private_optimizer on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miguelis/private_optimizer [INFO] finished tweaking git repo https://github.com/miguelis/private_optimizer [INFO] tweaked toml for git repo https://github.com/miguelis/private_optimizer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/miguelis/private_optimizer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c17e32be6acb1b1c8c62bded5274dd6e6898a85174185b52fbdb5d118b6c8fd [INFO] running `Command { std: "docker" "start" "-a" "3c17e32be6acb1b1c8c62bded5274dd6e6898a85174185b52fbdb5d118b6c8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c17e32be6acb1b1c8c62bded5274dd6e6898a85174185b52fbdb5d118b6c8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c17e32be6acb1b1c8c62bded5274dd6e6898a85174185b52fbdb5d118b6c8fd", kill_on_drop: false }` [INFO] [stdout] 3c17e32be6acb1b1c8c62bded5274dd6e6898a85174185b52fbdb5d118b6c8fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6198c204c89ecf545d128ec9b26e1b40a938bb3e744d18d6cad1d069e7bf08f6 [INFO] running `Command { std: "docker" "start" "-a" "6198c204c89ecf545d128ec9b26e1b40a938bb3e744d18d6cad1d069e7bf08f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking constant_tracking v2.0.1 (/opt/rustwide/workdir/constant_tracking) [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Documenting constant_tracking v2.0.1 (/opt/rustwide/workdir/constant_tracking) [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking threadpool v1.8.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] [stderr] Documenting 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: cannot borrow `map_monomials` as mutable because it is also borrowed as immutable [INFO] [stdout] --> circom_algebra/src/algebra.rs:1173:25 [INFO] [stdout] | [INFO] [stdout] 1171 | match map_monomials.get(&monomial){ [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] 1172 | Some(coef) =>{ [INFO] [stdout] 1173 | map_monomials.insert(monomial, modular_arithmetic::add(&new_coef, coef, field)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking constraint_writers v2.0.1 (/opt/rustwide/workdir/constraint_writers) [INFO] [stderr] Documenting constraint_writers v2.0.1 (/opt/rustwide/workdir/constraint_writers) [INFO] [stderr] Checking constraint_list v2.0.1 (/opt/rustwide/workdir/constraint_list) [INFO] [stderr] Documenting 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: `circom_algebra::simplification_utils::build_encoded_fast_substitutions` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | 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:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | 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:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | 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:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | 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:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | 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:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | 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:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | 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:619:33 [INFO] [stdout] | [INFO] [stdout] 619 | 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:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | 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:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | 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: `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: variable does not need to be mutable [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:619:29 [INFO] [stdout] | [INFO] [stdout] 619 | 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:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | let mut apply_only_affected = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `A` [INFO] [stdout] --> constraint_list/src/lib.rs:18:1 [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 is never used: `SEncoded` [INFO] [stdout] --> constraint_list/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | type SEncoded = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SFrames` [INFO] [stdout] --> constraint_list/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | type SFrames = LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_clusters_quadratic_equalities` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_clusters_quadratic_equalities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_clusters_definitions` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_clusters_definitions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_possible_combinations_clusters` [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_possible_combinations_clusters(signal_to_clusters: &Vec>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting optimizer v2.0.1 (/opt/rustwide/workdir/optimizer) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.87s [INFO] running `Command { std: "docker" "inspect" "6198c204c89ecf545d128ec9b26e1b40a938bb3e744d18d6cad1d069e7bf08f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6198c204c89ecf545d128ec9b26e1b40a938bb3e744d18d6cad1d069e7bf08f6", kill_on_drop: false }` [INFO] [stdout] 6198c204c89ecf545d128ec9b26e1b40a938bb3e744d18d6cad1d069e7bf08f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 189ead60bbb70a627f71ea19220a801b6cc546022ece9822e9dd7d0c0a93de35 [INFO] running `Command { std: "docker" "start" "-a" "189ead60bbb70a627f71ea19220a801b6cc546022ece9822e9dd7d0c0a93de35", kill_on_drop: false }` [INFO] [stderr] error: manifest path `/opt/rustwide/workdir/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace [INFO] running `Command { std: "docker" "inspect" "189ead60bbb70a627f71ea19220a801b6cc546022ece9822e9dd7d0c0a93de35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189ead60bbb70a627f71ea19220a801b6cc546022ece9822e9dd7d0c0a93de35", kill_on_drop: false }` [INFO] [stdout] 189ead60bbb70a627f71ea19220a801b6cc546022ece9822e9dd7d0c0a93de35