[INFO] cloning repository https://github.com/prashansatanwar/tetris-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prashansatanwar/tetris-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprashansatanwar%2Ftetris-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprashansatanwar%2Ftetris-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7a391d704b3d2a99d2213c85ec54d69812794ba
[INFO] building prashansatanwar/tetris-rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprashansatanwar%2Ftetris-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/prashansatanwar/tetris-rust
[INFO] finished tweaking git repo https://github.com/prashansatanwar/tetris-rust
[INFO] tweaked toml for git repo https://github.com/prashansatanwar/tetris-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prashansatanwar/tetris-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prashansatanwar/tetris-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytemuck v1.15.0
[INFO] [stderr]   Downloaded piston_window v0.131.0
[INFO] [stderr]   Downloaded gfx_gl v0.6.1
[INFO] [stderr]   Downloaded jobserver v0.1.30
[INFO] [stderr]   Downloaded spin_sleep v1.2.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.55.0
[INFO] [stderr]   Downloaded gfx_device_gl v0.16.2
[INFO] [stderr]   Downloaded gfx_core v0.9.2
[INFO] [stderr]   Downloaded either v1.11.0
[INFO] [stderr]   Downloaded ttf-parser v0.20.0
[INFO] [stderr]   Downloaded owned_ttf_parser v0.20.0
[INFO] [stderr]   Downloaded cc v1.0.94
[INFO] [stderr]   Downloaded syn v2.0.59
[INFO] [stderr]   Downloaded gfx v0.18.3
[INFO] [stderr]   Downloaded draw_state v0.8.0
[INFO] [stderr]   Downloaded piston-gfx_texture v0.44.0
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.80.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.80
[INFO] [stderr]   Downloaded ab_glyph v0.2.25
[INFO] [stderr]   Downloaded piston v0.55.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a156e3cbc25c098162de9c0566602f44677d005c2153f640622dbc16aa34e3f
[INFO] running `Command { std: "docker" "start" "-a" "2a156e3cbc25c098162de9c0566602f44677d005c2153f640622dbc16aa34e3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a156e3cbc25c098162de9c0566602f44677d005c2153f640622dbc16aa34e3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a156e3cbc25c098162de9c0566602f44677d005c2153f640622dbc16aa34e3f", kill_on_drop: false }`
[INFO] [stdout] 2a156e3cbc25c098162de9c0566602f44677d005c2153f640622dbc16aa34e3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1195cd30132d8f65b75728b1b3a312629c04b93ebac86444f2a7fbb67e971a77
[INFO] running `Command { std: "docker" "start" "-a" "1195cd30132d8f65b75728b1b3a312629c04b93ebac86444f2a7fbb67e971a77", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling proc-macro2 v1.0.80
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling piston-float v1.0.1
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling xcursor v0.3.5
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.1
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling syn v2.0.59
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling piston-texture v0.9.0
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling owned_ttf_parser v0.20.0
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling ab_glyph v0.2.25
[INFO] [stderr]    Compiling gfx v0.18.3
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling spin_sleep v1.2.0
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling interpolation v0.3.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling find_folder v0.3.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling piston2d-graphics v0.44.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[INFO] [stderr]    Compiling pistoncore-window v1.0.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.55.0
[INFO] [stderr]    Compiling piston v0.55.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.44.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.80.0
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.72.0
[INFO] [stderr]    Compiling piston_window v0.131.0
[INFO] [stderr]    Compiling tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `next_position` is never read
[INFO] [stdout]    --> src/game.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 next_position = self.falling_tetromino.get_next_drop_coords();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/game.rs:96:44
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn update_falling_tetromino(&mut self, dt: f64, direction:Option<Direction>) {
[INFO] [stdout]    |                                            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn update_falling_tetromino(&mut self, _dt: f64, direction:Option<Direction>) {
[INFO] [stdout]    |                                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MARGIN_TOP`
[INFO] [stdout]    |
[INFO] [stdout] 96 -     fn update_falling_tetromino(&mut self, dt: f64, direction:Option<Direction>) {
[INFO] [stdout] 96 +     fn update_falling_tetromino(&mut self, game::MARGIN_TOP: f64, direction:Option<Direction>) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `position` is never read
[INFO] [stdout]   --> src/tetromino.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Tetromino {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 10 |     color: Color,
[INFO] [stdout] 11 |     position: [f64;2],
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tetromino` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s
[INFO] running `Command { std: "docker" "inspect" "1195cd30132d8f65b75728b1b3a312629c04b93ebac86444f2a7fbb67e971a77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1195cd30132d8f65b75728b1b3a312629c04b93ebac86444f2a7fbb67e971a77", kill_on_drop: false }`
[INFO] [stdout] 1195cd30132d8f65b75728b1b3a312629c04b93ebac86444f2a7fbb67e971a77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de6719858cb1c766850eae4a33eec43087b99fe7b5c788ff04149e16187b84a2
[INFO] running `Command { std: "docker" "start" "-a" "de6719858cb1c766850eae4a33eec43087b99fe7b5c788ff04149e16187b84a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `next_position` is never read
[INFO] [stdout]    --> src/game.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 next_position = self.falling_tetromino.get_next_drop_coords();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/game.rs:96:44
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn update_falling_tetromino(&mut self, dt: f64, direction:Option<Direction>) {
[INFO] [stdout]    |                                            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn update_falling_tetromino(&mut self, _dt: f64, direction:Option<Direction>) {
[INFO] [stdout]    |                                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MARGIN_TOP`
[INFO] [stdout]    |
[INFO] [stdout] 96 -     fn update_falling_tetromino(&mut self, dt: f64, direction:Option<Direction>) {
[INFO] [stdout] 96 +     fn update_falling_tetromino(&mut self, game::MARGIN_TOP: f64, direction:Option<Direction>) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `position` is never read
[INFO] [stdout]   --> src/tetromino.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Tetromino {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 10 |     color: Color,
[INFO] [stdout] 11 |     position: [f64;2],
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tetromino` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "de6719858cb1c766850eae4a33eec43087b99fe7b5c788ff04149e16187b84a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de6719858cb1c766850eae4a33eec43087b99fe7b5c788ff04149e16187b84a2", kill_on_drop: false }`
[INFO] [stdout] de6719858cb1c766850eae4a33eec43087b99fe7b5c788ff04149e16187b84a2
