[INFO] cloning repository https://github.com/danielbusaba/affinity_efficient [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielbusaba/affinity_efficient" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbusaba%2Faffinity_efficient", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbusaba%2Faffinity_efficient'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5620c08c5b5f4da489e5456f543e59a8f966e4a [INFO] testing danielbusaba/affinity_efficient against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbusaba%2Faffinity_efficient" "/workspace/builds/worker-65/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-65/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielbusaba/affinity_efficient on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielbusaba/affinity_efficient [INFO] finished tweaking git repo https://github.com/danielbusaba/affinity_efficient [INFO] tweaked toml for git repo https://github.com/danielbusaba/affinity_efficient written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate git repo https://github.com/danielbusaba/affinity_efficient already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b149c8ce910eb973f6f337637748829cce44cd4db5db145adcbd873daab32f13 [INFO] running `Command { std: "docker" "start" "-a" "b149c8ce910eb973f6f337637748829cce44cd4db5db145adcbd873daab32f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b149c8ce910eb973f6f337637748829cce44cd4db5db145adcbd873daab32f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b149c8ce910eb973f6f337637748829cce44cd4db5db145adcbd873daab32f13", kill_on_drop: false }` [INFO] [stdout] b149c8ce910eb973f6f337637748829cce44cd4db5db145adcbd873daab32f13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0db5128c94b556687f920a66c220d083afe41bc3a4f55b267e439bfbb77efe85 [INFO] running `Command { std: "docker" "start" "-a" "0db5128c94b556687f920a66c220d083afe41bc3a4f55b267e439bfbb77efe85", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling affinity_efficient v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/histogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; //Can be used with bucket to create sublog histograms [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | let mut contents = raw_contents.split_whitespace().collect::>(); [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: associated function is never used: `new_single` [INFO] [stdout] --> src/histogram.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_single(sb: u64, mrt: u64) -> Histogram //Constructor that takes in the sublog bits and the maximum reuse time [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/histogram.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&mut self, reuse_time: u64) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/histogram.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn insert(&mut self, reuse_time: u64, frequency: u64) //Inserts a value into the histogram at a given reuse time [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_frequency` [INFO] [stdout] --> src/histogram.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_frequency(&self, reuse_time: u64) -> u64 //Retreives the frequency value at a given reuse time [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_values` [INFO] [stdout] --> src/histogram.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_values(&self) -> Vec //Returns copy of internal vector [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_reuse_time` [INFO] [stdout] --> src/histogram.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tuple` [INFO] [stdout] --> src/histogram.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_tuple(&self, reuse_time: u64) -> (u64, u64, u64, u64) //Retreives the value tuple at a given reuse time [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_frequency` [INFO] [stdout] --> src/histogram.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_frequency(&self, reuse_time: u64) -> u64 //Retreives the frequency value at a given reuse time [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_reuse_time` [INFO] [stdout] --> src/histogram.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | panic!("Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 374 | panic!("{}", "Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:396:20 [INFO] [stdout] | [INFO] [stdout] 396 | panic!("Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 396 | panic!("{}", "Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 743 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:747:24 [INFO] [stdout] | [INFO] [stdout] 747 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 747 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:758:24 [INFO] [stdout] | [INFO] [stdout] 758 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 758 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:762:24 [INFO] [stdout] | [INFO] [stdout] 762 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 762 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:773:24 [INFO] [stdout] | [INFO] [stdout] 773 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 773 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:777:24 [INFO] [stdout] | [INFO] [stdout] 777 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 777 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:791:20 [INFO] [stdout] | [INFO] [stdout] 791 | panic!("Not a valid argument: ".to_owned() + &args [1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 791 | panic!("{}", "Not a valid argument: ".to_owned() + &args [1]); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.41s [INFO] running `Command { std: "docker" "inspect" "0db5128c94b556687f920a66c220d083afe41bc3a4f55b267e439bfbb77efe85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db5128c94b556687f920a66c220d083afe41bc3a4f55b267e439bfbb77efe85", kill_on_drop: false }` [INFO] [stdout] 0db5128c94b556687f920a66c220d083afe41bc3a4f55b267e439bfbb77efe85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c1b74e3e02e248f8eea2f1fc1e386d221c79337684623256ddf7d06441b712a [INFO] running `Command { std: "docker" "start" "-a" "2c1b74e3e02e248f8eea2f1fc1e386d221c79337684623256ddf7d06441b712a", kill_on_drop: false }` [INFO] [stderr] Compiling affinity_efficient v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | let mut contents = raw_contents.split_whitespace().collect::>(); [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: associated function is never used: `get_max_reuse_time` [INFO] [stdout] --> src/histogram.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | panic!("Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 374 | panic!("{}", "Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:396:20 [INFO] [stdout] | [INFO] [stdout] 396 | panic!("Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 396 | panic!("{}", "Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 743 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:747:24 [INFO] [stdout] | [INFO] [stdout] 747 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 747 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:758:24 [INFO] [stdout] | [INFO] [stdout] 758 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 758 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:762:24 [INFO] [stdout] | [INFO] [stdout] 762 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 762 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:773:24 [INFO] [stdout] | [INFO] [stdout] 773 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 773 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:777:24 [INFO] [stdout] | [INFO] [stdout] 777 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 777 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:791:20 [INFO] [stdout] | [INFO] [stdout] 791 | panic!("Not a valid argument: ".to_owned() + &args [1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 791 | panic!("{}", "Not a valid argument: ".to_owned() + &args [1]); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "2c1b74e3e02e248f8eea2f1fc1e386d221c79337684623256ddf7d06441b712a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1b74e3e02e248f8eea2f1fc1e386d221c79337684623256ddf7d06441b712a", kill_on_drop: false }` [INFO] [stdout] 2c1b74e3e02e248f8eea2f1fc1e386d221c79337684623256ddf7d06441b712a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 835364fd613adfd47f9137e108b9ad3d93ea5bd77df8dfd31b3e6eafff4c3568 [INFO] running `Command { std: "docker" "start" "-a" "835364fd613adfd47f9137e108b9ad3d93ea5bd77df8dfd31b3e6eafff4c3568", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:1121:9 [INFO] [stderr] | [INFO] [stderr] 1121 | let mut contents = raw_contents.split_whitespace().collect::>(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_max_reuse_time` [INFO] [stderr] --> src/histogram.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:374:20 [INFO] [stderr] | [INFO] [stderr] 374 | panic!("Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 374 | panic!("{}", "Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:396:20 [INFO] [stderr] | [INFO] [stderr] 396 | panic!("Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 396 | panic!("{}", "Incorrect File Format: Line ".to_owned() + &(i + 1).to_string() + " has " + &line.len().to_string() + " Elements"); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:743:24 [INFO] [stderr] | [INFO] [stderr] 743 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 743 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:747:24 [INFO] [stderr] | [INFO] [stderr] 747 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 747 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:758:24 [INFO] [stderr] | [INFO] [stderr] 758 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 758 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:762:24 [INFO] [stderr] | [INFO] [stderr] 762 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 762 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:773:24 [INFO] [stderr] | [INFO] [stderr] 773 | panic!("Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 773 | panic!("{}", "Too Few Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:777:24 [INFO] [stderr] | [INFO] [stderr] 777 | panic!("Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 777 | panic!("{}", "Too Many Parameters: ".to_owned() + &(args.len().to_string())); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:791:20 [INFO] [stderr] | [INFO] [stderr] 791 | panic!("Not a valid argument: ".to_owned() + &args [1]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 791 | panic!("{}", "Not a valid argument: ".to_owned() + &args [1]); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `affinity_efficient` (bin "affinity_efficient" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/affinity_efficient-78c9da982cebb368) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test histogram::test_clone ... ok [INFO] [stdout] test histogram::test_hash ... ok [INFO] [stdout] test histogram::test_histogram_insertion ... ok [INFO] [stdout] test histogram::test_histogram_addition ... ok [INFO] [stdout] test histogram::test_histogram_max_reuse_time ... ok [INFO] [stdout] test histogram::test_histogram_tuple_add ... ok [INFO] [stdout] test histogram::test_histogram_values ... ok [INFO] [stdout] test histogram::test_value_to_index ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "835364fd613adfd47f9137e108b9ad3d93ea5bd77df8dfd31b3e6eafff4c3568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835364fd613adfd47f9137e108b9ad3d93ea5bd77df8dfd31b3e6eafff4c3568", kill_on_drop: false }` [INFO] [stdout] 835364fd613adfd47f9137e108b9ad3d93ea5bd77df8dfd31b3e6eafff4c3568