[INFO] cloning repository https://github.com/KaytchJam/Cycle-Comparisons [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KaytchJam/Cycle-Comparisons" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaytchJam%2FCycle-Comparisons", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaytchJam%2FCycle-Comparisons'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dda441251eb6a47e22bb9f64b229fd01fd95efa [INFO] building KaytchJam/Cycle-Comparisons/0dda441251eb6a47e22bb9f64b229fd01fd95efa against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaytchJam%2FCycle-Comparisons" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KaytchJam/Cycle-Comparisons on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KaytchJam/Cycle-Comparisons [INFO] finished tweaking git repo https://github.com/KaytchJam/Cycle-Comparisons [INFO] tweaked toml for git repo https://github.com/KaytchJam/Cycle-Comparisons written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KaytchJam/Cycle-Comparisons 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c91d1cbc4851dd04f71c3d135eceba866c4e14de2ce2ce4d43da5d9915315191 [INFO] running `Command { std: "docker" "start" "-a" "c91d1cbc4851dd04f71c3d135eceba866c4e14de2ce2ce4d43da5d9915315191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91d1cbc4851dd04f71c3d135eceba866c4e14de2ce2ce4d43da5d9915315191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91d1cbc4851dd04f71c3d135eceba866c4e14de2ce2ce4d43da5d9915315191", kill_on_drop: false }` [INFO] [stdout] c91d1cbc4851dd04f71c3d135eceba866c4e14de2ce2ce4d43da5d9915315191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 014c163313be847343a152b4b4152e9b0774a04348d5e932712eee73f652840a [INFO] running `Command { std: "docker" "start" "-a" "014c163313be847343a152b4b4152e9b0774a04348d5e932712eee73f652840a", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v3.2.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling const-cstr v0.3.0 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling font-kit v0.11.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling ttf-parser v0.17.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling freetype-sys v0.19.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling plotters-bitmap v0.3.3 [INFO] [stderr] Compiling freetype v0.7.1 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling cycle_comparison v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf_reader` [INFO] [stdout] --> src/main.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let mut buf_reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | let mut buf_reader = BufReader::new(file); [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: `preserve_in` [INFO] [stdout] --> src/main.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | let preserve_in = PRESERVE_PATH.to_owned() + fname_prefix + "/" + PRESERVE_FNAME; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserve_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_inner_cycle_test` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn run_inner_cycle_test(num_iters: usize, increment_amt: usize, reset_num: usize, counter_type: ResetCounter) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_outer_cycle_test` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_outer_cycle_test(num_outer_iters: usize, num_inner_iters: usize, increment_amt: usize, reset_num: usize, counter_type: ResetCounte... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_cycle_tests` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn run_cycle_tests(num_outer_iters: usize, num_inner_iters: usize, increment_amt: usize, reset_num: usize) -> (Vec>, Vec src/main.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 175 | impl Bin { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | fn contains(&mut self, elem: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn insert_or(&mut self, elem: usize) -> Result<&mut Self, &'static str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_dist` is never used [INFO] [stdout] --> src/main.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn normal_dist(mean: f32, stdev: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_bin_vec` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn fill_bin_vec + Into, T: IntoIterator>(bin_vec: &mut Vec, iter: T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/main.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn mean(bin_vec: &Vec) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_binvec_empty` is never used [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn is_binvec_empty(bin_vec: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_times_from_csv` is never used [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn get_times_from_csv(fpath: &str) -> Result>,std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_slice` is never used [INFO] [stdout] --> src/utils/cycles.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ResetCounter { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn as_slice() -> &'static [ResetCounter] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.80s [INFO] running `Command { std: "docker" "inspect" "014c163313be847343a152b4b4152e9b0774a04348d5e932712eee73f652840a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014c163313be847343a152b4b4152e9b0774a04348d5e932712eee73f652840a", kill_on_drop: false }` [INFO] [stdout] 014c163313be847343a152b4b4152e9b0774a04348d5e932712eee73f652840a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e5f7f2b83ade9ac0cf00071b6f7a5d166cc9a75a3375f18941613aca4ab72fc [INFO] running `Command { std: "docker" "start" "-a" "9e5f7f2b83ade9ac0cf00071b6f7a5d166cc9a75a3375f18941613aca4ab72fc", kill_on_drop: false }` [INFO] [stderr] Compiling cycle_comparison v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf_reader` [INFO] [stdout] --> src/main.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let mut buf_reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | let mut buf_reader = BufReader::new(file); [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: `preserve_in` [INFO] [stdout] --> src/main.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | let preserve_in = PRESERVE_PATH.to_owned() + fname_prefix + "/" + PRESERVE_FNAME; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserve_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_inner_cycle_test` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn run_inner_cycle_test(num_iters: usize, increment_amt: usize, reset_num: usize, counter_type: ResetCounter) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_outer_cycle_test` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_outer_cycle_test(num_outer_iters: usize, num_inner_iters: usize, increment_amt: usize, reset_num: usize, counter_type: ResetCounte... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_cycle_tests` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn run_cycle_tests(num_outer_iters: usize, num_inner_iters: usize, increment_amt: usize, reset_num: usize) -> (Vec>, Vec src/main.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 175 | impl Bin { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | fn contains(&mut self, elem: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn insert_or(&mut self, elem: usize) -> Result<&mut Self, &'static str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_dist` is never used [INFO] [stdout] --> src/main.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn normal_dist(mean: f32, stdev: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_bin_vec` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn fill_bin_vec + Into, T: IntoIterator>(bin_vec: &mut Vec, iter: T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/main.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn mean(bin_vec: &Vec) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_binvec_empty` is never used [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn is_binvec_empty(bin_vec: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_times_from_csv` is never used [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn get_times_from_csv(fpath: &str) -> Result>,std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_slice` is never used [INFO] [stdout] --> src/utils/cycles.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ResetCounter { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn as_slice() -> &'static [ResetCounter] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "9e5f7f2b83ade9ac0cf00071b6f7a5d166cc9a75a3375f18941613aca4ab72fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5f7f2b83ade9ac0cf00071b6f7a5d166cc9a75a3375f18941613aca4ab72fc", kill_on_drop: false }` [INFO] [stdout] 9e5f7f2b83ade9ac0cf00071b6f7a5d166cc9a75a3375f18941613aca4ab72fc