[INFO] fetching crate rustneat 0.2.1... [INFO] checking rustneat-0.2.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate rustneat 0.2.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rustneat 0.2.1 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustneat 0.2.1 [INFO] finished tweaking crates.io crate rustneat 0.2.1 [INFO] tweaked toml for crates.io crate rustneat 0.2.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba72774235c3e74ef972785a35b483e9e32a7de42568e595f8206678524f125e [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" "ba72774235c3e74ef972785a35b483e9e32a7de42568e595f8206678524f125e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba72774235c3e74ef972785a35b483e9e32a7de42568e595f8206678524f125e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba72774235c3e74ef972785a35b483e9e32a7de42568e595f8206678524f125e", kill_on_drop: false }` [INFO] [stdout] ba72774235c3e74ef972785a35b483e9e32a7de42568e595f8206678524f125e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfce5896f49b8febaa1833946501fb106957ae838e15b0c5d58d4be6b75ff862 [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" "dfce5896f49b8febaa1833946501fb106957ae838e15b0c5d58d4be6b75ff862", kill_on_drop: false }` [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.3.7 [INFO] [stderr] Checking rustneat v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutation.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Mutation { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Mutation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/mutation.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_connection(in_neuron_id: usize, out_neuron_id: usize) -> (Gene) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/population.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn evaluate_in(&mut self, environment: &mut Environment) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/species_evaluator.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | environment: &'a mut Environment, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/species_evaluator.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(environment: &mut Environment) -> SpeciesEvaluator { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutation.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Mutation { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Mutation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/mutation.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_connection(in_neuron_id: usize, out_neuron_id: usize) -> (Gene) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/population.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn evaluate_in(&mut self, environment: &mut Environment) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/species_evaluator.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | environment: &'a mut Environment, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/species_evaluator.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(environment: &mut Environment) -> SpeciesEvaluator { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | Mutation::connection_weight( [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | Mutation::toggle_expression(&mut self.genes[selected_gene]); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Mutation::add_neuron(gene, self.last_neuron_id) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let gene = Mutation::add_connection(in_neuron_id, out_neuron_id); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | Mutation::connection_weight( [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | Mutation::toggle_expression(&mut self.genes[selected_gene]); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Mutation::add_neuron(gene, self.last_neuron_id) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/genome.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let gene = Mutation::add_connection(in_neuron_id, out_neuron_id); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutation.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Mutation::toggle_expression(&mut gene); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutation.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Mutation::toggle_expression(&mut gene); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/genome.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / format!( [INFO] [stdout] 86 | | "in_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 87 | | in_neuron_id, max_neuron_id [INFO] [stdout] 88 | | ) [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] 85 | [INFO] [stdout] 86 | "in_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 87 | in_neuron_id, max_neuron_id [INFO] [stdout] 88 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/genome.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / format!( [INFO] [stdout] 93 | | "out_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 94 | | out_neuron_id, max_neuron_id [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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] 92 | [INFO] [stdout] 93 | "out_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 94 | out_neuron_id, max_neuron_id [INFO] [stdout] 95 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/genome.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / format!( [INFO] [stdout] 86 | | "in_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 87 | | in_neuron_id, max_neuron_id [INFO] [stdout] 88 | | ) [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] 85 | [INFO] [stdout] 86 | "in_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 87 | in_neuron_id, max_neuron_id [INFO] [stdout] 88 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/genome.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / format!( [INFO] [stdout] 93 | | "out_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 94 | | out_neuron_id, max_neuron_id [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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] 92 | [INFO] [stdout] 93 | "out_neuron_id {} is greater than max allowed id {}", [INFO] [stdout] 94 | out_neuron_id, max_neuron_id [INFO] [stdout] 95 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/organism.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | format!("{:?} is not bigger than 0.9", output[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 93 | "{:?} is not bigger than 0.9", output[0] [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/organism.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | format!("{:?} is not smaller than 0.1", output[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 103 | "{:?} is not smaller than 0.1", output[0] [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/organism.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | format!("{:?} is not bigger than 0.9", output[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 118 | "{:?} is not bigger than 0.9", output[0] [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/organism.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | format!("{:?} is not bigger than 0.9", output[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 132 | "{:?} is not bigger than 0.9", output[0] [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/organism.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | format!("{:?} is not smaller than 0.1", output[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 143 | "{:?} is not smaller than 0.1", output[0] [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "dfce5896f49b8febaa1833946501fb106957ae838e15b0c5d58d4be6b75ff862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfce5896f49b8febaa1833946501fb106957ae838e15b0c5d58d4be6b75ff862", kill_on_drop: false }` [INFO] [stdout] dfce5896f49b8febaa1833946501fb106957ae838e15b0c5d58d4be6b75ff862