[INFO] fetching crate genetic 0.2.1... [INFO] checking genetic-0.2.1 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate genetic 0.2.1 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate genetic 0.2.1 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genetic 0.2.1 [INFO] finished tweaking crates.io crate genetic 0.2.1 [INFO] tweaked toml for crates.io crate genetic 0.2.1 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eafdeb383cd3fad2800133f7d28d4c5dfe2a03148964e6a3ea9840835c4e8cff [INFO] running `Command { std: "docker" "start" "-a" "eafdeb383cd3fad2800133f7d28d4c5dfe2a03148964e6a3ea9840835c4e8cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eafdeb383cd3fad2800133f7d28d4c5dfe2a03148964e6a3ea9840835c4e8cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eafdeb383cd3fad2800133f7d28d4c5dfe2a03148964e6a3ea9840835c4e8cff", kill_on_drop: false }` [INFO] [stdout] eafdeb383cd3fad2800133f7d28d4c5dfe2a03148964e6a3ea9840835c4e8cff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c219fb5115412f689811361da39966594b653997ec741c44331b39b3d36ac75 [INFO] running `Command { std: "docker" "start" "-a" "6c219fb5115412f689811361da39966594b653997ec741c44331b39b3d36ac75", kill_on_drop: false }` [INFO] [stderr] Checking genetic v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | evaluator: &'a mut Evaluator, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Evaluator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | reproducer: &'b mut Reproducer, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Reproducer` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(evaluator: &'a mut Evaluator, reproducer: &'b mut Reproducer) -> Universe<'a, 'b, T> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Evaluator` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(evaluator: &'a mut Evaluator, reproducer: &'b mut Reproducer) -> Universe<'a, 'b, T> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Reproducer` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | evaluator: &'a mut Evaluator, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Evaluator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | reproducer: &'b mut Reproducer, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Reproducer` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(evaluator: &'a mut Evaluator, reproducer: &'b mut Reproducer) -> Universe<'a, 'b, T> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Evaluator` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/universe.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(evaluator: &'a mut Evaluator, reproducer: &'b mut Reproducer) -> Universe<'a, 'b, T> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Reproducer` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `universe::Universe` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use universe::Universe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutation_rate` [INFO] [stdout] --> src/lib.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | fn mutate(&mut self, mutation_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutation_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn measure_fitness(&self, population: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/lib.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | fn reproduce(&self, population: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutation_rate` [INFO] [stdout] --> src/lib.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | fn mutate(&mut self, mutation_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutation_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn measure_fitness(&self, population: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/lib.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | fn reproduce(&self, population: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pop_limit` [INFO] [stdout] --> src/universe.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | pop_limit: usize, [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: `from_genome` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from_genome(genome: &Vec) -> LittleAnimal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new() -> NaturalSelection { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn new() -> NaturalReproduction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pop_limit` [INFO] [stdout] --> src/universe.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | pop_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "6c219fb5115412f689811361da39966594b653997ec741c44331b39b3d36ac75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c219fb5115412f689811361da39966594b653997ec741c44331b39b3d36ac75", kill_on_drop: false }` [INFO] [stdout] 6c219fb5115412f689811361da39966594b653997ec741c44331b39b3d36ac75