[INFO] cloning repository https://github.com/Silentdoer/RustTetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Silentdoer/RustTetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilentdoer%2FRustTetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilentdoer%2FRustTetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d5bfb7d87520a705b706bea4c434826e8835b77 [INFO] testing Silentdoer/RustTetris against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilentdoer%2FRustTetris" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Silentdoer/RustTetris [INFO] finished tweaking git repo https://github.com/Silentdoer/RustTetris [INFO] tweaked toml for git repo https://github.com/Silentdoer/RustTetris written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Silentdoer/RustTetris on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Silentdoer/RustTetris 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded arc-swap v0.4.4 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded crossterm_winapi v0.5.1 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded lock_api v0.3.3 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.0 [INFO] [stderr] Downloaded parking_lot v0.10.0 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded signal-hook v0.1.12 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded crossterm v0.14.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd6886553e26419512e1f2838744e73ba7b0af6f6a8abbd5241cb60a33829837 [INFO] running `Command { std: "docker" "start" "-a" "dd6886553e26419512e1f2838744e73ba7b0af6f6a8abbd5241cb60a33829837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd6886553e26419512e1f2838744e73ba7b0af6f6a8abbd5241cb60a33829837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6886553e26419512e1f2838744e73ba7b0af6f6a8abbd5241cb60a33829837", kill_on_drop: false }` [INFO] [stdout] dd6886553e26419512e1f2838744e73ba7b0af6f6a8abbd5241cb60a33829837 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eb0ba3eecc82fdeb18f05947603b334565dea5b7c9a4878d365bd02e26be43b0 [INFO] running `Command { std: "docker" "start" "-a" "eb0ba3eecc82fdeb18f05947603b334565dea5b7c9a4878d365bd02e26be43b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common) [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling signal-hook v0.1.12 [INFO] [stderr] Compiling crossterm v0.14.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir/tetris) [INFO] [stdout] warning: unused import: `super::CanvasPiece` [INFO] [stdout] --> tetris/src/model/canvas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::CanvasPiece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> tetris/src/model/canvas_piece.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> tetris/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> tetris/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:262:2 [INFO] [stdout] | [INFO] [stdout] 262 | execute!(stdout(), MoveTo(x, y))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | let _ = execute!(stdout(), Clear(ClearType::All)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:285:2 [INFO] [stdout] | [INFO] [stdout] 285 | execute!(stdout, EnableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:291:2 [INFO] [stdout] | [INFO] [stdout] 291 | execute!(stdout, DisableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> tetris/src/main.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | let guard = lock_clone.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> tetris/src/main.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | let guard = lock_clone.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coordinate` is never constructed [INFO] [stdout] --> tetris/src/model/coordinate.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `White` is never constructed [INFO] [stdout] --> tetris/src/enumerate/color.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 4 | Red = 1, [INFO] [stdout] 5 | White = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> tetris/src/test/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | canvas = CURR_PIECE.canvas.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let string = format!("{}{}", "\r", CURR_PIECE.y); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | CURR_PIECE.rotate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | CURR_PIECE.horizontal_move(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | CURR_PIECE.dropdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | CURR_PIECE.horizontal_move(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | CURR_PIECE.dropdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.50s [INFO] running `Command { std: "docker" "inspect" "eb0ba3eecc82fdeb18f05947603b334565dea5b7c9a4878d365bd02e26be43b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0ba3eecc82fdeb18f05947603b334565dea5b7c9a4878d365bd02e26be43b0", kill_on_drop: false }` [INFO] [stdout] eb0ba3eecc82fdeb18f05947603b334565dea5b7c9a4878d365bd02e26be43b0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f9700365b984adb75e721b2da2766253f528126e58e20b14d8548978cf1a15b [INFO] running `Command { std: "docker" "start" "-a" "7f9700365b984adb75e721b2da2766253f528126e58e20b14d8548978cf1a15b", kill_on_drop: false }` [INFO] [stderr] Compiling tetris-common v0.1.0 (/opt/rustwide/workdir/tetris-common) [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir/tetris) [INFO] [stdout] warning: unused import: `super::CanvasPiece` [INFO] [stdout] --> tetris/src/model/canvas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::CanvasPiece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> tetris/src/model/canvas_piece.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> tetris/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> tetris/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:262:2 [INFO] [stdout] | [INFO] [stdout] 262 | execute!(stdout(), MoveTo(x, y))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | let _ = execute!(stdout(), Clear(ClearType::All)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:285:2 [INFO] [stdout] | [INFO] [stdout] 285 | execute!(stdout, EnableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tetris/src/main.rs:291:2 [INFO] [stdout] | [INFO] [stdout] 291 | execute!(stdout, DisableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> tetris/src/main.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | let guard = lock_clone.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> tetris/src/main.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | let guard = lock_clone.lock().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coordinate` is never constructed [INFO] [stdout] --> tetris/src/model/coordinate.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `White` is never constructed [INFO] [stdout] --> tetris/src/enumerate/color.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 4 | Red = 1, [INFO] [stdout] 5 | White = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> tetris/src/test/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | canvas = CURR_PIECE.canvas.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let string = format!("{}{}", "\r", CURR_PIECE.y); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | CURR_PIECE.rotate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | CURR_PIECE.horizontal_move(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | CURR_PIECE.dropdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | CURR_PIECE.horizontal_move(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tetris/src/main.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | CURR_PIECE.dropdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "7f9700365b984adb75e721b2da2766253f528126e58e20b14d8548978cf1a15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9700365b984adb75e721b2da2766253f528126e58e20b14d8548978cf1a15b", kill_on_drop: false }` [INFO] [stdout] 7f9700365b984adb75e721b2da2766253f528126e58e20b14d8548978cf1a15b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dc91b37a51b24a7030293bfcd120f05692c437c9541cc08647c38585b2e2a159 [INFO] running `Command { std: "docker" "start" "-a" "dc91b37a51b24a7030293bfcd120f05692c437c9541cc08647c38585b2e2a159", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::CanvasPiece` [INFO] [stderr] --> tetris/src/model/canvas.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use super::CanvasPiece; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Coordinate` [INFO] [stderr] --> tetris/src/model/canvas_piece.rs:3:51 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::model::{Canvas, CanvasPixel, ShowSelf, Coordinate}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread::Thread` [INFO] [stderr] --> tetris/src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use std::thread::Thread; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> tetris/src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tetris/src/main.rs:262:2 [INFO] [stderr] | [INFO] [stderr] 262 | execute!(stdout(), MoveTo(x, y))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tetris/src/main.rs:271:10 [INFO] [stderr] | [INFO] [stderr] 271 | let _ = execute!(stdout(), Clear(ClearType::All)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tetris/src/main.rs:285:2 [INFO] [stderr] | [INFO] [stderr] 285 | execute!(stdout, EnableMouseCapture)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tetris/src/main.rs:291:2 [INFO] [stderr] | [INFO] [stderr] 291 | execute!(stdout, DisableMouseCapture)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guard` [INFO] [stderr] --> tetris/src/main.rs:124:7 [INFO] [stderr] | [INFO] [stderr] 124 | let guard = lock_clone.lock().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guard` [INFO] [stderr] --> tetris/src/main.rs:211:10 [INFO] [stderr] | [INFO] [stderr] 211 | let guard = lock_clone.lock().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stderr] [INFO] [stderr] warning: struct `Coordinate` is never constructed [INFO] [stderr] --> tetris/src/model/coordinate.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Coordinate { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `White` is never constructed [INFO] [stderr] --> tetris/src/enumerate/color.rs:5:2 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum Color { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 4 | Red = 1, [INFO] [stderr] 5 | White = 2, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> tetris/src/test/mod.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn test() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | canvas = CURR_PIECE.canvas.as_ref().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:155:40 [INFO] [stderr] | [INFO] [stderr] 155 | let string = format!("{}{}", "\r", CURR_PIECE.y); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | CURR_PIECE.rotate(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | CURR_PIECE.horizontal_move(false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | CURR_PIECE.dropdown(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:191:5 [INFO] [stderr] | [INFO] [stderr] 191 | CURR_PIECE.horizontal_move(true); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tetris/src/main.rs:221:7 [INFO] [stderr] | [INFO] [stderr] 221 | CURR_PIECE.dropdown(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `tetris` (bin "tetris" test) generated 20 warnings (run `cargo fix --bin "tetris" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tetris-a003c999c18bdf4a) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tetris_common-46820f9a2963baaf) [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] [stderr] Doc-tests tetris_common [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" "dc91b37a51b24a7030293bfcd120f05692c437c9541cc08647c38585b2e2a159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc91b37a51b24a7030293bfcd120f05692c437c9541cc08647c38585b2e2a159", kill_on_drop: false }` [INFO] [stdout] dc91b37a51b24a7030293bfcd120f05692c437c9541cc08647c38585b2e2a159