[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] testing totorigolo/genetic-snake-rust against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totorigolo/genetic-snake-rust on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "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-4-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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded console v0.9.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded colored v1.9.2 [INFO] [stderr] Downloaded ctrlc v3.1.3 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] [stderr] Downloaded indicatif v0.14.0 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded dialoguer v0.5.0 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded rand_xoshiro v0.4.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded num_cpus v1.12.0 [INFO] [stderr] Downloaded genevo v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 826c3777e5f6156cb7ec23513927a25cbfd0b90009ae2a1fc7510715548775ce [INFO] running `Command { std: "docker" "start" "-a" "826c3777e5f6156cb7ec23513927a25cbfd0b90009ae2a1fc7510715548775ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "826c3777e5f6156cb7ec23513927a25cbfd0b90009ae2a1fc7510715548775ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "826c3777e5f6156cb7ec23513927a25cbfd0b90009ae2a1fc7510715548775ce", kill_on_drop: false }` [INFO] [stdout] 826c3777e5f6156cb7ec23513927a25cbfd0b90009ae2a1fc7510715548775ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f18f4ca6bb6c4ac2f3b937ba1be8ef8c669018cd4d6c5e4de76abd77328a803 [INFO] running `Command { std: "docker" "start" "-a" "6f18f4ca6bb6c4ac2f3b937ba1be8ef8c669018cd4d6c5e4de76abd77328a803", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling 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] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling dialoguer v0.5.0 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling genevo v0.5.0 [INFO] [stderr] Compiling 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "6f18f4ca6bb6c4ac2f3b937ba1be8ef8c669018cd4d6c5e4de76abd77328a803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f18f4ca6bb6c4ac2f3b937ba1be8ef8c669018cd4d6c5e4de76abd77328a803", kill_on_drop: false }` [INFO] [stdout] 6f18f4ca6bb6c4ac2f3b937ba1be8ef8c669018cd4d6c5e4de76abd77328a803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f0ad8c676a2c89c2445f88b9b2abb2bcd7a44d674d3a85af9a35de6d58231a [INFO] running `Command { std: "docker" "start" "-a" "c5f0ad8c676a2c89c2445f88b9b2abb2bcd7a44d674d3a85af9a35de6d58231a", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "c5f0ad8c676a2c89c2445f88b9b2abb2bcd7a44d674d3a85af9a35de6d58231a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f0ad8c676a2c89c2445f88b9b2abb2bcd7a44d674d3a85af9a35de6d58231a", kill_on_drop: false }` [INFO] [stdout] c5f0ad8c676a2c89c2445f88b9b2abb2bcd7a44d674d3a85af9a35de6d58231a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42f604c63e36804dee78b6ac4cbd17a07496ed38bec4ed56e67eba6d107810b0 [INFO] running `Command { std: "docker" "start" "-a" "42f604c63e36804dee78b6ac4cbd17a07496ed38bec4ed56e67eba6d107810b0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stderr] --> src/learning.rs:138:7 [INFO] [stderr] | [INFO] [stderr] 138 | #[cfg(feature = "ctrlc")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stderr] --> src/learning.rs:183:11 [INFO] [stderr] | [INFO] [stderr] 183 | #[cfg(not(feature = "ctrlc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/game_engine.rs:369:20 [INFO] [stderr] | [INFO] [stderr] 369 | panic!(format!("The ID {} is already used!", id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 369 - panic!(format!("The ID {} is already used!", id)); [INFO] [stderr] 369 + panic!("The ID {} is already used!", id); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/game_engine.rs:690:20 [INFO] [stderr] | [INFO] [stderr] 690 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 691 | | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stderr] 692 | | pos, [INFO] [stderr] 693 | | BOARD_WIDTH, [INFO] [stderr] 694 | | BOARD_HEIGHT, [INFO] [stderr] 695 | | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stderr] 696 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 690 ~ panic!( [INFO] [stderr] 691 | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stderr] ... [INFO] [stderr] 695 | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stderr] 696 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `genetic-snake-rs` (bin "genetic-snake-rs" test) generated 4 warnings (run `cargo fix --bin "genetic-snake-rs" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genetic_snake_rs-fce062496bc42870) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42f604c63e36804dee78b6ac4cbd17a07496ed38bec4ed56e67eba6d107810b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f604c63e36804dee78b6ac4cbd17a07496ed38bec4ed56e67eba6d107810b0", kill_on_drop: false }` [INFO] [stdout] 42f604c63e36804dee78b6ac4cbd17a07496ed38bec4ed56e67eba6d107810b0 [INFO] testing totorigolo/genetic-snake-rust against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totorigolo/genetic-snake-rust on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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-4-tc2/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" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d037d6a89df6289d2bc501dcc9cd5b2b428d595a596efe1e4919b224b3ddf2bf [INFO] running `Command { std: "docker" "start" "-a" "d037d6a89df6289d2bc501dcc9cd5b2b428d595a596efe1e4919b224b3ddf2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d037d6a89df6289d2bc501dcc9cd5b2b428d595a596efe1e4919b224b3ddf2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d037d6a89df6289d2bc501dcc9cd5b2b428d595a596efe1e4919b224b3ddf2bf", kill_on_drop: false }` [INFO] [stdout] d037d6a89df6289d2bc501dcc9cd5b2b428d595a596efe1e4919b224b3ddf2bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96151eb4ab1474ec61cf87c4f4d9eada36071c0dc5e4a9a89cb85c80b091cc98 [INFO] running `Command { std: "docker" "start" "-a" "96151eb4ab1474ec61cf87c4f4d9eada36071c0dc5e4a9a89cb85c80b091cc98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling 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] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling 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 c2-chacha v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling dialoguer v0.5.0 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling genevo v0.5.0 [INFO] [stderr] Compiling 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "96151eb4ab1474ec61cf87c4f4d9eada36071c0dc5e4a9a89cb85c80b091cc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96151eb4ab1474ec61cf87c4f4d9eada36071c0dc5e4a9a89cb85c80b091cc98", kill_on_drop: false }` [INFO] [stdout] 96151eb4ab1474ec61cf87c4f4d9eada36071c0dc5e4a9a89cb85c80b091cc98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a20e890df75b43a29d86fc90230fad0381bf082c040de30c2200432217865ba4 [INFO] running `Command { std: "docker" "start" "-a" "a20e890df75b43a29d86fc90230fad0381bf082c040de30c2200432217865ba4", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "a20e890df75b43a29d86fc90230fad0381bf082c040de30c2200432217865ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20e890df75b43a29d86fc90230fad0381bf082c040de30c2200432217865ba4", kill_on_drop: false }` [INFO] [stdout] a20e890df75b43a29d86fc90230fad0381bf082c040de30c2200432217865ba4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e49f3ba72eb5f0b30b0a9260631f097137ec9053b8540ba50adab6a78755d975 [INFO] running `Command { std: "docker" "start" "-a" "e49f3ba72eb5f0b30b0a9260631f097137ec9053b8540ba50adab6a78755d975", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stderr] --> src/learning.rs:138:7 [INFO] [stderr] | [INFO] [stderr] 138 | #[cfg(feature = "ctrlc")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ctrlc` [INFO] [stderr] --> src/learning.rs:183:11 [INFO] [stderr] | [INFO] [stderr] 183 | #[cfg(not(feature = "ctrlc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `ctrlc` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/game_engine.rs:369:20 [INFO] [stderr] | [INFO] [stderr] 369 | panic!(format!("The ID {} is already used!", id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 369 - panic!(format!("The ID {} is already used!", id)); [INFO] [stderr] 369 + panic!("The ID {} is already used!", id); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/game_engine.rs:690:20 [INFO] [stderr] | [INFO] [stderr] 690 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 691 | | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stderr] 692 | | pos, [INFO] [stderr] 693 | | BOARD_WIDTH, [INFO] [stderr] 694 | | BOARD_HEIGHT, [INFO] [stderr] 695 | | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stderr] 696 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 690 ~ panic!( [INFO] [stderr] 691 | "Position {} out-of-bounds: W={} H={} W*H={}", [INFO] [stderr] ... [INFO] [stderr] 695 | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stderr] 696 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `genetic-snake-rs` (bin "genetic-snake-rs" test) generated 4 warnings (run `cargo fix --bin "genetic-snake-rs" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genetic_snake_rs-fce062496bc42870) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e49f3ba72eb5f0b30b0a9260631f097137ec9053b8540ba50adab6a78755d975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49f3ba72eb5f0b30b0a9260631f097137ec9053b8540ba50adab6a78755d975", kill_on_drop: false }` [INFO] [stdout] e49f3ba72eb5f0b30b0a9260631f097137ec9053b8540ba50adab6a78755d975