[INFO] fetching crate revonet 0.2.1... [INFO] checking revonet-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate revonet 0.2.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate revonet 0.2.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate revonet 0.2.1 [INFO] finished tweaking crates.io crate revonet 0.2.1 [INFO] tweaked toml for crates.io crate revonet 0.2.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 585a80398e5f0da574aac279175bbfeffc95cb3c47c81ca48c97c52ed4b5673c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "585a80398e5f0da574aac279175bbfeffc95cb3c47c81ca48c97c52ed4b5673c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "585a80398e5f0da574aac279175bbfeffc95cb3c47c81ca48c97c52ed4b5673c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585a80398e5f0da574aac279175bbfeffc95cb3c47c81ca48c97c52ed4b5673c", kill_on_drop: false }` [INFO] [stdout] 585a80398e5f0da574aac279175bbfeffc95cb3c47c81ca48c97c52ed4b5673c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f04d3f3cceedc0e61e421b804886f12c178292cf71f55b9d41a8618df77ea06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f04d3f3cceedc0e61e421b804886f12c178292cf71f55b9d41a8618df77ea06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking revonet v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ea.rs:245:69 [INFO] [stdout] | [INFO] [stdout] 245 | fn select_tournament(fits: &Vec, tour_size: u32, mut rng: &mut Rng) -> Vec { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ea.rs:245:69 [INFO] [stdout] | [INFO] [stdout] 245 | fn select_tournament(fits: &Vec, tour_size: u32, mut rng: &mut Rng) -> Vec { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ea.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | fn init(&mut self, size: usize, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ea.rs:228:97 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn create_population(pop_size: u32, ind_size: u32, mut rng: &mut R, problem: &P) -> Vec { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ga.rs:82:182 [INFO] [stdout] | [INFO] [stdout] 82 | ..._type: CrossoverOperator, x_prob: f32, x_alpha: f32, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ga.rs:121:102 [INFO] [stdout] | [INFO] [stdout] 121 | fn cross_arithmetic(p1: &T, p2: &T, c1: &mut T, c2: &mut T, alpha: f32, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ne.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn init(&mut self, size: usize, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem.rs:53:73 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_random_individual(&self, size: usize, mut rng: &mut R) -> T { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ea.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | fn init(&mut self, size: usize, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ea.rs:228:97 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn create_population(pop_size: u32, ind_size: u32, mut rng: &mut R, problem: &P) -> Vec { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ga.rs:82:182 [INFO] [stdout] | [INFO] [stdout] 82 | ..._type: CrossoverOperator, x_prob: f32, x_alpha: f32, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ga.rs:121:102 [INFO] [stdout] | [INFO] [stdout] 121 | fn cross_arithmetic(p1: &T, p2: &T, c1: &mut T, c2: &mut T, alpha: f32, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/neproblem.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | panic!(format!("Unknown problem type for symbolic regression problem: {}", [INFO] [stdout] | ________________________^ [INFO] [stdout] 173 | | problem_type)) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | panic!("Unknown problem type for symbolic regression problem: {}", [INFO] [stdout] 173 | problem_type) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ne.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn init(&mut self, size: usize, mut rng: &mut R) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem.rs:53:73 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_random_individual(&self, size: usize, mut rng: &mut R) -> T { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/neproblem.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | panic!(format!("Unknown problem type for symbolic regression problem: {}", [INFO] [stdout] | ________________________^ [INFO] [stdout] 173 | | problem_type)) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 172 | panic!("Unknown problem type for symbolic regression problem: {}", [INFO] [stdout] 173 | problem_type) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.45s [INFO] running `Command { std: "docker" "inspect" "7f04d3f3cceedc0e61e421b804886f12c178292cf71f55b9d41a8618df77ea06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f04d3f3cceedc0e61e421b804886f12c178292cf71f55b9d41a8618df77ea06", kill_on_drop: false }` [INFO] [stdout] 7f04d3f3cceedc0e61e421b804886f12c178292cf71f55b9d41a8618df77ea06