[INFO] cloning repository https://github.com/dorakueyon/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dorakueyon/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorakueyon%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorakueyon%2Ftetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31426bd48e3722c35e1b6d507cf111e05df70550 [INFO] checking dorakueyon/tetris against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorakueyon%2Ftetris" "/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/dorakueyon/tetris on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dorakueyon/tetris [INFO] finished tweaking git repo https://github.com/dorakueyon/tetris [INFO] tweaked toml for git repo https://github.com/dorakueyon/tetris written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dorakueyon/tetris 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 097a16f24e0110e205007756bf9718ae508de7382ee720e501e200c8102193be [INFO] running `Command { std: "docker" "start" "-a" "097a16f24e0110e205007756bf9718ae508de7382ee720e501e200c8102193be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "097a16f24e0110e205007756bf9718ae508de7382ee720e501e200c8102193be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097a16f24e0110e205007756bf9718ae508de7382ee720e501e200c8102193be", kill_on_drop: false }` [INFO] [stdout] 097a16f24e0110e205007756bf9718ae508de7382ee720e501e200c8102193be [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4d9a3a4722ec2a66cc8d2b1ce0bfe591bf01b390b68ddeb5c4662071dc5660d [INFO] running `Command { std: "docker" "start" "-a" "f4d9a3a4722ec2a66cc8d2b1ce0bfe591bf01b390b68ddeb5c4662071dc5660d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/tetrimino.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/tetrimino.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_current_tetrimino_movement_completable` and `complete_current_tetrimino_movement` are never used [INFO] [stdout] --> src/field.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn is_current_tetrimino_movement_completable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn complete_current_tetrimino_movement(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terminal` is never read [INFO] [stdout] --> src/tetris.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tetris { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | should_break: bool, [INFO] [stdout] 14 | terminal: Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tetris.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(e) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 33 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 33 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terminal` is never read [INFO] [stdout] --> src/tetris.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tetris { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | should_break: bool, [INFO] [stdout] 14 | terminal: Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_insert_I` should have a snake case name [INFO] [stdout] --> src/field.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn test_insert_I() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `test_insert_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tetris.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(e) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 33 | panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 33 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "f4d9a3a4722ec2a66cc8d2b1ce0bfe591bf01b390b68ddeb5c4662071dc5660d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d9a3a4722ec2a66cc8d2b1ce0bfe591bf01b390b68ddeb5c4662071dc5660d", kill_on_drop: false }` [INFO] [stdout] f4d9a3a4722ec2a66cc8d2b1ce0bfe591bf01b390b68ddeb5c4662071dc5660d