[INFO] cloning repository https://github.com/oll3/rstris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oll3/rstris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foll3%2Frstris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foll3%2Frstris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c37565f863b618a897144765c5c428c4240da4c [INFO] checking oll3/rstris against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foll3%2Frstris" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oll3/rstris 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/oll3/rstris [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/oll3/rstris [INFO] tweaked toml for git repo https://github.com/oll3/rstris written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/oll3/rstris 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fern v0.5.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c6eee91f4b1e0fde4d89b65f133c6cd0219ebdbe8dc55f20bf527ff114e44c6d [INFO] running `Command { std: "docker" "start" "-a" "c6eee91f4b1e0fde4d89b65f133c6cd0219ebdbe8dc55f20bf527ff114e44c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6eee91f4b1e0fde4d89b65f133c6cd0219ebdbe8dc55f20bf527ff114e44c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6eee91f4b1e0fde4d89b65f133c6cd0219ebdbe8dc55f20bf527ff114e44c6d", kill_on_drop: false }` [INFO] [stdout] c6eee91f4b1e0fde4d89b65f133c6cd0219ebdbe8dc55f20bf527ff114e44c6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ece96e1d205541ed47f6e6aa0eed903c544abe526a137dfce99a066641755e4e [INFO] running `Command { std: "docker" "start" "-a" "ece96e1d205541ed47f6e6aa0eed903c544abe526a137dfce99a066641755e4e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rstris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/find_path.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | ((start.x() - end.x()).abs() as u64 + (start.dir() - end.dir()).abs() as u64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - ((start.x() - end.x()).abs() as u64 + (start.dir() - end.dir()).abs() as u64) [INFO] [stdout] 33 + (start.x() - end.x()).abs() as u64 + (start.dir() - end.dir()).abs() as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/matrix2.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | (p1 * self.width() as usize + p0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - (p1 * self.width() as usize + p0) [INFO] [stdout] 64 + p1 * self.width() as usize + p0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/vec2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/vec3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stdout] warning: field `pf_name` is never read [INFO] [stdout] --> src/playfield.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Playfield { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pf_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playfield` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking num v0.1.42 [INFO] [stdout] warning: the item `fern` is imported redundantly [INFO] [stdout] --> examples/demo1/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fern; [INFO] [stdout] | ^^^^ the item `fern` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> examples/demo1/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] 3 | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ------ the item `log` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> examples/demo1/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> examples/demo1/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> examples/demo1/game.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/figure.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 171 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] 172 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/find_path.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | ((start.x() - end.x()).abs() as u64 + (start.dir() - end.dir()).abs() as u64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - ((start.x() - end.x()).abs() as u64 + (start.dir() - end.dir()).abs() as u64) [INFO] [stdout] 33 + (start.x() - end.x()).abs() as u64 + (start.dir() - end.dir()).abs() as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/playfield.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] 142 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/matrix2.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | (p1 * self.width() as usize + p0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - (p1 * self.width() as usize + p0) [INFO] [stdout] 64 + p1 * self.width() as usize + p0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/vec2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/vec3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pf_name` is never read [INFO] [stdout] --> src/playfield.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Playfield { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pf_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playfield` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "ece96e1d205541ed47f6e6aa0eed903c544abe526a137dfce99a066641755e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece96e1d205541ed47f6e6aa0eed903c544abe526a137dfce99a066641755e4e", kill_on_drop: false }` [INFO] [stdout] ece96e1d205541ed47f6e6aa0eed903c544abe526a137dfce99a066641755e4e