[INFO] cloning repository https://github.com/totorigolo/genetic-snake-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/totorigolo/genetic-snake-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4af2048cc9ab6bc63c49a80ba518947645fa4a00 [INFO] checking totorigolo/genetic-snake-rust against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totorigolo/genetic-snake-rust on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/totorigolo/genetic-snake-rust [INFO] finished tweaking git repo https://github.com/totorigolo/genetic-snake-rust [INFO] tweaked toml for git repo https://github.com/totorigolo/genetic-snake-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/totorigolo/genetic-snake-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v1.9.2 [INFO] [stderr] Downloaded genevo v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32091e8e81db730872561b14a8d33257a230716365b032b18446328ba2bae8cd [INFO] running `Command { std: "docker" "start" "-a" "32091e8e81db730872561b14a8d33257a230716365b032b18446328ba2bae8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32091e8e81db730872561b14a8d33257a230716365b032b18446328ba2bae8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32091e8e81db730872561b14a8d33257a230716365b032b18446328ba2bae8cd", kill_on_drop: false }` [INFO] [stdout] 32091e8e81db730872561b14a8d33257a230716365b032b18446328ba2bae8cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81f9b207c187b85f916ca91ee045d7739ac9b1f143a152f5d3cdb36f1167cfc [INFO] running `Command { std: "docker" "start" "-a" "e81f9b207c187b85f916ca91ee045d7739ac9b1f143a152f5d3cdb36f1167cfc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking colored v1.9.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking dialoguer v0.5.0 [INFO] [stderr] Checking ctrlc v3.1.3 [INFO] [stderr] Checking genevo v0.5.0 [INFO] [stderr] Checking genetic-snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stdout] --> src/learning.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 138 | #[cfg(feature = "ctrlc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stdout] --> src/learning.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(not(feature = "ctrlc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stdout] --> src/learning.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 138 | #[cfg(feature = "ctrlc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stdout] --> src/learning.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(not(feature = "ctrlc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/game_engine.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | panic!(format!("The ID {} is already used!", id)); [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] 369 - panic!(format!("The ID {} is already used!", id)); [INFO] [stdout] 369 + panic!("The ID {} is already used!", id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/game_engine.rs:690:20 [INFO] [stdout] | [INFO] [stdout] 690 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 691 | | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stdout] 692 | | pos, [INFO] [stdout] 693 | | BOARD_WIDTH, [INFO] [stdout] 694 | | BOARD_HEIGHT, [INFO] [stdout] 695 | | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stdout] 696 | | )); [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 690 ~ panic!( [INFO] [stdout] 691 | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stdout] ... [INFO] [stdout] 695 | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stdout] 696 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/game_engine.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | panic!(format!("The ID {} is already used!", id)); [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] 369 - panic!(format!("The ID {} is already used!", id)); [INFO] [stdout] 369 + panic!("The ID {} is already used!", id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/game_engine.rs:690:20 [INFO] [stdout] | [INFO] [stdout] 690 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 691 | | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stdout] 692 | | pos, [INFO] [stdout] 693 | | BOARD_WIDTH, [INFO] [stdout] 694 | | BOARD_HEIGHT, [INFO] [stdout] 695 | | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stdout] 696 | | )); [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 690 ~ panic!( [INFO] [stdout] 691 | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stdout] ... [INFO] [stdout] 695 | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stdout] 696 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.23s [INFO] running `Command { std: "docker" "inspect" "e81f9b207c187b85f916ca91ee045d7739ac9b1f143a152f5d3cdb36f1167cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81f9b207c187b85f916ca91ee045d7739ac9b1f143a152f5d3cdb36f1167cfc", kill_on_drop: false }` [INFO] [stdout] e81f9b207c187b85f916ca91ee045d7739ac9b1f143a152f5d3cdb36f1167cfc