[INFO] cloning repository https://github.com/mikejquinn/rust-tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikejquinn/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikejquinn%2Frust-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikejquinn%2Frust-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffcb336ed565326550dc8dcf8510be63fa5dd2ac [INFO] testing mikejquinn/rust-tetris against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikejquinn%2Frust-tetris" "/workspace/builds/worker-85/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-85/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikejquinn/rust-tetris on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mikejquinn/rust-tetris [INFO] finished tweaking git repo https://github.com/mikejquinn/rust-tetris [INFO] tweaked toml for git repo https://github.com/mikejquinn/rust-tetris written to /workspace/builds/worker-85/source/Cargo.toml [INFO] crate git repo https://github.com/mikejquinn/rust-tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c57cea401abab67131afe5177cd9749850eb760837c542762900072465fb2bf1 [INFO] running `Command { std: "docker" "start" "-a" "c57cea401abab67131afe5177cd9749850eb760837c542762900072465fb2bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c57cea401abab67131afe5177cd9749850eb760837c542762900072465fb2bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57cea401abab67131afe5177cd9749850eb760837c542762900072465fb2bf1", kill_on_drop: false }` [INFO] [stdout] c57cea401abab67131afe5177cd9749850eb760837c542762900072465fb2bf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e80f78f557663bae5f49927db6cd7f137c7a6a3d31b0fc2f87adc286f0f71e [INFO] running `Command { std: "docker" "start" "-a" "d9e80f78f557663bae5f49927db6cd7f137c7a6a3d31b0fc2f87adc286f0f71e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:222:41 [INFO] [stdout] | [INFO] [stdout] 222 | fn each_point(&self, callback: &mut FnMut(i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:491:36 [INFO] [stdout] | [INFO] [stdout] 491 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 491 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 491 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:523:44 [INFO] [stdout] | [INFO] [stdout] 523 | Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [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] 523 - Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [INFO] [stdout] 523 + Err(msg) => panic!("could not read from standard in: {}", msg) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [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] 530 - Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [INFO] [stdout] 530 + Err(msg) => panic!("could not read from standard in: {}", msg) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.31s [INFO] running `Command { std: "docker" "inspect" "d9e80f78f557663bae5f49927db6cd7f137c7a6a3d31b0fc2f87adc286f0f71e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e80f78f557663bae5f49927db6cd7f137c7a6a3d31b0fc2f87adc286f0f71e", kill_on_drop: false }` [INFO] [stdout] d9e80f78f557663bae5f49927db6cd7f137c7a6a3d31b0fc2f87adc286f0f71e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f45ec57379a8f9e691f412090ab0b8d1a8115b90175b0a8da70b43dc27a50fc6 [INFO] running `Command { std: "docker" "start" "-a" "f45ec57379a8f9e691f412090ab0b8d1a8115b90175b0a8da70b43dc27a50fc6", kill_on_drop: false }` [INFO] [stderr] Compiling tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:222:41 [INFO] [stdout] | [INFO] [stdout] 222 | fn each_point(&self, callback: &mut FnMut(i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:491:36 [INFO] [stdout] | [INFO] [stdout] 491 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 491 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 491 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:523:44 [INFO] [stdout] | [INFO] [stdout] 523 | Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [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] 523 - Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [INFO] [stdout] 523 + Err(msg) => panic!("could not read from standard in: {}", msg) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [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] 530 - Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [INFO] [stdout] 530 + Err(msg) => panic!("could not read from standard in: {}", msg) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "f45ec57379a8f9e691f412090ab0b8d1a8115b90175b0a8da70b43dc27a50fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45ec57379a8f9e691f412090ab0b8d1a8115b90175b0a8da70b43dc27a50fc6", kill_on_drop: false }` [INFO] [stdout] f45ec57379a8f9e691f412090ab0b8d1a8115b90175b0a8da70b43dc27a50fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8644b136acdd62fd77e22170cb0233db051d1c6ba3cb8cb6f2e3a3742abaa30 [INFO] running `Command { std: "docker" "start" "-a" "c8644b136acdd62fd77e22170cb0233db051d1c6ba3cb8cb6f2e3a3742abaa30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:222:41 [INFO] [stderr] | [INFO] [stderr] 222 | fn each_point(&self, callback: &mut FnMut(i32, i32)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32, i32)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:491:36 [INFO] [stderr] | [INFO] [stderr] 491 | Err(err) => panic!(err) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 491 | Err(err) => panic!("{}", err) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 491 | Err(err) => std::panic::panic_any(err) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:523:44 [INFO] [stderr] | [INFO] [stderr] 523 | Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [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] 523 - Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [INFO] [stderr] 523 + Err(msg) => panic!("could not read from standard in: {}", msg) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:530:28 [INFO] [stderr] | [INFO] [stderr] 530 | Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [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] 530 - Err(msg) => panic!(format!("could not read from standard in: {}", msg)) [INFO] [stderr] 530 + Err(msg) => panic!("could not read from standard in: {}", msg) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tetris` (bin "tetris" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tetris-1ec4d33e3d0377e5) [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" "c8644b136acdd62fd77e22170cb0233db051d1c6ba3cb8cb6f2e3a3742abaa30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8644b136acdd62fd77e22170cb0233db051d1c6ba3cb8cb6f2e3a3742abaa30", kill_on_drop: false }` [INFO] [stdout] c8644b136acdd62fd77e22170cb0233db051d1c6ba3cb8cb6f2e3a3742abaa30