[INFO] fetching crate rustneat 0.2.1... [INFO] checking rustneat-0.2.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate rustneat 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rustneat 0.2.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bd3d3e2810891437ae0c11adf74fd7cd45b4fda2dccad7f0862992180bb2c4d [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" "2bd3d3e2810891437ae0c11adf74fd7cd45b4fda2dccad7f0862992180bb2c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bd3d3e2810891437ae0c11adf74fd7cd45b4fda2dccad7f0862992180bb2c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd3d3e2810891437ae0c11adf74fd7cd45b4fda2dccad7f0862992180bb2c4d", kill_on_drop: false }` [INFO] [stdout] 2bd3d3e2810891437ae0c11adf74fd7cd45b4fda2dccad7f0862992180bb2c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb50bc56ebbf6a94f5497d932e25a5deee9f10b1040737ffaea458a69d84d7cc [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" "bb50bc56ebbf6a94f5497d932e25a5deee9f10b1040737ffaea458a69d84d7cc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [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_cpus v1.13.0 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling 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: 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: 7 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.99s [INFO] running `Command { std: "docker" "inspect" "bb50bc56ebbf6a94f5497d932e25a5deee9f10b1040737ffaea458a69d84d7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb50bc56ebbf6a94f5497d932e25a5deee9f10b1040737ffaea458a69d84d7cc", kill_on_drop: false }` [INFO] [stdout] bb50bc56ebbf6a94f5497d932e25a5deee9f10b1040737ffaea458a69d84d7cc