[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] building totorigolo/genetic-snake-rust against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totorigolo/genetic-snake-rust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-6-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dialoguer v0.5.0 [INFO] [stderr] Downloaded console v0.9.2 [INFO] [stderr] Downloaded genevo v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c119752b9b95f190450d882b980711de2eeb00edeeb4a3fcf6680d14130dc8af [INFO] running `Command { std: "docker" "start" "-a" "c119752b9b95f190450d882b980711de2eeb00edeeb4a3fcf6680d14130dc8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c119752b9b95f190450d882b980711de2eeb00edeeb4a3fcf6680d14130dc8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c119752b9b95f190450d882b980711de2eeb00edeeb4a3fcf6680d14130dc8af", kill_on_drop: false }` [INFO] [stdout] c119752b9b95f190450d882b980711de2eeb00edeeb4a3fcf6680d14130dc8af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c8b6044c50bf6fc6fc8cac92923bd36ab49170617013eaa2ddc0106a4b703d [INFO] running `Command { std: "docker" "start" "-a" "61c8b6044c50bf6fc6fc8cac92923bd36ab49170617013eaa2ddc0106a4b703d", 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 semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [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 crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [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 rand_xoshiro v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling console v0.9.2 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.20s [INFO] running `Command { std: "docker" "inspect" "61c8b6044c50bf6fc6fc8cac92923bd36ab49170617013eaa2ddc0106a4b703d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c8b6044c50bf6fc6fc8cac92923bd36ab49170617013eaa2ddc0106a4b703d", kill_on_drop: false }` [INFO] [stdout] 61c8b6044c50bf6fc6fc8cac92923bd36ab49170617013eaa2ddc0106a4b703d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5681355fecb49ac20eedabd808b72e2e56129dabf47a143e315d74d06b09732b [INFO] running `Command { std: "docker" "start" "-a" "5681355fecb49ac20eedabd808b72e2e56129dabf47a143e315d74d06b09732b", 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "5681355fecb49ac20eedabd808b72e2e56129dabf47a143e315d74d06b09732b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5681355fecb49ac20eedabd808b72e2e56129dabf47a143e315d74d06b09732b", kill_on_drop: false }` [INFO] [stdout] 5681355fecb49ac20eedabd808b72e2e56129dabf47a143e315d74d06b09732b