[INFO] fetching crate revonet 0.2.1... [INFO] checking revonet-0.2.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate revonet 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate revonet 0.2.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bad01a62485e981a2c0f31451396ba6f686c9a4b5c180e9a7f1f27eade6b1142 [INFO] running `Command { std: "docker" "start" "-a" "bad01a62485e981a2c0f31451396ba6f686c9a4b5c180e9a7f1f27eade6b1142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bad01a62485e981a2c0f31451396ba6f686c9a4b5c180e9a7f1f27eade6b1142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad01a62485e981a2c0f31451396ba6f686c9a4b5c180e9a7f1f27eade6b1142", kill_on_drop: false }` [INFO] [stdout] bad01a62485e981a2c0f31451396ba6f686c9a4b5c180e9a7f1f27eade6b1142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd788fabefc1da0227d95d0b6788c45f2fe4fb9c791172c48a1b328568ea7647 [INFO] running `Command { std: "docker" "start" "-a" "bd788fabefc1da0227d95d0b6788c45f2fe4fb9c791172c48a1b328568ea7647", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking revonet v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ea.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn init(&mut self, size: usize, &mut R); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | fn select_tournament(fits: &Vec, tour_size: u32, mut rng: &mut dyn Rng) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ea.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn init(&mut self, size: usize, &mut R); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | fn select_tournament(fits: &Vec, tour_size: u32, mut rng: &mut dyn Rng) -> Vec { [INFO] [stdout] | +++ [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/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/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/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: associated items `from_json` and `to_json` are never used [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 25 | trait Jsonable: Clone+Serialize { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn from_json(filename: &str) -> Self::T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn to_json(&self, filename: &str) { [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/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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 10 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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.74s [INFO] running `Command { std: "docker" "inspect" "bd788fabefc1da0227d95d0b6788c45f2fe4fb9c791172c48a1b328568ea7647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd788fabefc1da0227d95d0b6788c45f2fe4fb9c791172c48a1b328568ea7647", kill_on_drop: false }` [INFO] [stdout] bd788fabefc1da0227d95d0b6788c45f2fe4fb9c791172c48a1b328568ea7647