[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] 9a4f1a1b203f2ab06de3a9b37dd0ff8d83be2043 [INFO] testing totorigolo/genetic-snake-rust against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotorigolo%2Fgenetic-snake-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totorigolo/genetic-snake-rust on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-0/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: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d1a2c3c59595e285f5fd48634ee9f32419407f99b39fcbf3c5e38a040e982ee [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" "7d1a2c3c59595e285f5fd48634ee9f32419407f99b39fcbf3c5e38a040e982ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d1a2c3c59595e285f5fd48634ee9f32419407f99b39fcbf3c5e38a040e982ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1a2c3c59595e285f5fd48634ee9f32419407f99b39fcbf3c5e38a040e982ee", kill_on_drop: false }` [INFO] [stdout] 7d1a2c3c59595e285f5fd48634ee9f32419407f99b39fcbf3c5e38a040e982ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc1ae3ab600dc8a9a44290c4f05d4ece681813ae1cdea03d328b5fa6a93cf014 [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" "cc1ae3ab600dc8a9a44290c4f05d4ece681813ae1cdea03d328b5fa6a93cf014", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [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 genevo v0.5.0 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling genetic-snake-rs v0.1.0 (/opt/rustwide/workdir) [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: `#[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] 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 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] 690 | panic!( [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] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.63s [INFO] running `Command { std: "docker" "inspect" "cc1ae3ab600dc8a9a44290c4f05d4ece681813ae1cdea03d328b5fa6a93cf014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1ae3ab600dc8a9a44290c4f05d4ece681813ae1cdea03d328b5fa6a93cf014", kill_on_drop: false }` [INFO] [stdout] cc1ae3ab600dc8a9a44290c4f05d4ece681813ae1cdea03d328b5fa6a93cf014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b1f571cfa49d29fd6db48549794dadb46c85df735a762fc177176b6837fa067 [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" "2b1f571cfa49d29fd6db48549794dadb46c85df735a762fc177176b6837fa067", kill_on_drop: false }` [INFO] [stderr] Compiling genetic-snake-rs v0.1.0 (/opt/rustwide/workdir) [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: `#[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] 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 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] 690 | panic!( [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] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "2b1f571cfa49d29fd6db48549794dadb46c85df735a762fc177176b6837fa067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1f571cfa49d29fd6db48549794dadb46c85df735a762fc177176b6837fa067", kill_on_drop: false }` [INFO] [stdout] 2b1f571cfa49d29fd6db48549794dadb46c85df735a762fc177176b6837fa067 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a2e13d7be98fe8ccc0df085bada56c960973a5c39d9f395f1af2bdf6672af2c [INFO] running `Command { std: "docker" "start" "-a" "4a2e13d7be98fe8ccc0df085bada56c960973a5c39d9f395f1af2bdf6672af2c", kill_on_drop: false }` [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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] 692 | pos, [INFO] [stderr] 693 | BOARD_WIDTH, [INFO] [stderr] 694 | BOARD_HEIGHT, [INFO] [stderr] 695 | BOARD_WIDTH * BOARD_HEIGHT [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/genetic_snake_rs-b2a12af1f8264e37) [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" "4a2e13d7be98fe8ccc0df085bada56c960973a5c39d9f395f1af2bdf6672af2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a2e13d7be98fe8ccc0df085bada56c960973a5c39d9f395f1af2bdf6672af2c", kill_on_drop: false }` [INFO] [stdout] 4a2e13d7be98fe8ccc0df085bada56c960973a5c39d9f395f1af2bdf6672af2c