[INFO] fetching crate rustneat 0.2.1... [INFO] checking rustneat-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rustneat 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rustneat 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 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-7/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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded open v1.6.0 [INFO] [stderr] Downloaded semver v0.2.3 [INFO] [stderr] Downloaded rusty_dashed v0.2.3 [INFO] [stderr] Downloaded clippy v0.0.103 [INFO] [stderr] Downloaded clippy_lints v0.0.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 0c6b4968337b38efaf3f2a1eacc2909c5b3fd6a48aaf66306e1a711d9554be1d [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" "0c6b4968337b38efaf3f2a1eacc2909c5b3fd6a48aaf66306e1a711d9554be1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c6b4968337b38efaf3f2a1eacc2909c5b3fd6a48aaf66306e1a711d9554be1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6b4968337b38efaf3f2a1eacc2909c5b3fd6a48aaf66306e1a711d9554be1d", kill_on_drop: false }` [INFO] [stdout] 0c6b4968337b38efaf3f2a1eacc2909c5b3fd6a48aaf66306e1a711d9554be1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 0e4d00c5de7239ef9729c2158ca348a3d1cca607d1eff0d53068b52c68e14258 [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" "0e4d00c5de7239ef9729c2158ca348a3d1cca607d1eff0d53068b52c68e14258", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking conv v0.3.3 [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: 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/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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "0e4d00c5de7239ef9729c2158ca348a3d1cca607d1eff0d53068b52c68e14258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4d00c5de7239ef9729c2158ca348a3d1cca607d1eff0d53068b52c68e14258", kill_on_drop: false }` [INFO] [stdout] 0e4d00c5de7239ef9729c2158ca348a3d1cca607d1eff0d53068b52c68e14258