[INFO] cloning repository https://github.com/scottschroeder/tetris-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scottschroeder/tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottschroeder%2Ftetris-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottschroeder%2Ftetris-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1861d168c708e2292ec79f3265df0229143bc6f2 [INFO] building scottschroeder/tetris-rs against master#f3126500f25114ba4e0ac3e76694dd45a22de56d for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottschroeder%2Ftetris-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scottschroeder/tetris-rs on toolchain f3126500f25114ba4e0ac3e76694dd45a22de56d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scottschroeder/tetris-rs [INFO] finished tweaking git repo https://github.com/scottschroeder/tetris-rs [INFO] tweaked toml for git repo https://github.com/scottschroeder/tetris-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/scottschroeder/tetris-rs 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" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wincolor v1.0.0 [INFO] [stderr] Downloaded env_logger v0.5.12 [INFO] [stderr] Downloaded winit v0.12.0 [INFO] [stderr] Downloaded glutin v0.14.0 [INFO] [stderr] Downloaded pistoncore-input v0.21.0 [INFO] [stderr] Downloaded pretty_env_logger v0.2.4 [INFO] [stderr] Downloaded pistoncore-event_loop v0.37.0 [INFO] [stderr] Downloaded piston v0.37.0 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded pistoncore-window v0.32.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.47.0 [INFO] [stderr] Downloaded termcolor v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d98ac5bf2c40632a0d6b24ec713f30042b4d052fe248057704107a6e74cfd6f [INFO] running `Command { std: "docker" "start" "-a" "8d98ac5bf2c40632a0d6b24ec713f30042b4d052fe248057704107a6e74cfd6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d98ac5bf2c40632a0d6b24ec713f30042b4d052fe248057704107a6e74cfd6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d98ac5bf2c40632a0d6b24ec713f30042b4d052fe248057704107a6e74cfd6f", kill_on_drop: false }` [INFO] [stdout] 8d98ac5bf2c40632a0d6b24ec713f30042b4d052fe248057704107a6e74cfd6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebbb06e886966458d69d342f72e5958081e07a4162cd8fd34ca0b9e981f03a7f [INFO] running `Command { std: "docker" "start" "-a" "ebbb06e886966458d69d342f72e5958081e07a4162cd8fd34ca0b9e981f03a7f", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling tempfile v3.0.3 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling pretty_env_logger v0.2.4 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.47.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/tile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Colorize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/game/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use Colorize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/limit.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile` [INFO] [stdout] --> src/render/tetromino.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tile; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/render/tetromino.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use game::{Tetromino, Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/render/text.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use color::{RawColor, Colorize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile` [INFO] [stdout] --> src/render/text.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tile; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/render/score.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use color::{RawColor, Colorize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile` [INFO] [stdout] --> src/render/score.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tile; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawColor` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use color::{RawColor, Colorize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | const BOARD_WIDTH: f64 = (WINDOW_WIDTH as f64 * 0.6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - const BOARD_WIDTH: f64 = (WINDOW_WIDTH as f64 * 0.6); [INFO] [stdout] 30 + const BOARD_WIDTH: f64 = WINDOW_WIDTH as f64 * 0.6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_tetromino` [INFO] [stdout] --> src/game/mod.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let previous_tetromino = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_tetromino` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | self.gl.draw(args.viewport(), |ctx, gl| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pause` is never read [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pause: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles_created` is never read [INFO] [stdout] --> src/game/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Tetris { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | tiles_created: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tetris` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fired` is never constructed [INFO] [stdout] --> src/limit.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum TriggerState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Fired, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriggerState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_event` is never used [INFO] [stdout] --> src/limit.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_event(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_event` is never used [INFO] [stdout] --> src/limit.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_event(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dimm` is never used [INFO] [stdout] --> src/render/text.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_dimm(glyphs: &mut GlyphCache, font: u32, data: &str) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ebbb06e886966458d69d342f72e5958081e07a4162cd8fd34ca0b9e981f03a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbb06e886966458d69d342f72e5958081e07a4162cd8fd34ca0b9e981f03a7f", kill_on_drop: false }` [INFO] [stdout] ebbb06e886966458d69d342f72e5958081e07a4162cd8fd34ca0b9e981f03a7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f89787c9be126f29115149cc816a24d07e91b6f9bf92900696639c5d9e10bc4 [INFO] running `Command { std: "docker" "start" "-a" "0f89787c9be126f29115149cc816a24d07e91b6f9bf92900696639c5d9e10bc4", kill_on_drop: false }` [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/tile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Colorize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/game/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use Colorize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile` [INFO] [stdout] --> src/render/tetromino.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tile; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/render/tetromino.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use game::{Tetromino, Point}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/render/text.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use color::{RawColor, Colorize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile` [INFO] [stdout] --> src/render/text.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tile; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorize` [INFO] [stdout] --> src/render/score.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use color::{RawColor, Colorize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile` [INFO] [stdout] --> src/render/score.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tile; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawColor` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use color::{RawColor, Colorize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | const BOARD_WIDTH: f64 = (WINDOW_WIDTH as f64 * 0.6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - const BOARD_WIDTH: f64 = (WINDOW_WIDTH as f64 * 0.6); [INFO] [stdout] 30 + const BOARD_WIDTH: f64 = WINDOW_WIDTH as f64 * 0.6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_tetromino` [INFO] [stdout] --> src/game/mod.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let previous_tetromino = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_tetromino` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | self.gl.draw(args.viewport(), |ctx, gl| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pause` is never read [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pause: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles_created` is never read [INFO] [stdout] --> src/game/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Tetris { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | tiles_created: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tetris` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fired` is never constructed [INFO] [stdout] --> src/limit.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum TriggerState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Fired, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriggerState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_event` is never used [INFO] [stdout] --> src/limit.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_event(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_event` is never used [INFO] [stdout] --> src/limit.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_event(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dimm` is never used [INFO] [stdout] --> src/render/text.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_dimm(glyphs: &mut GlyphCache, font: u32, data: &str) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0f89787c9be126f29115149cc816a24d07e91b6f9bf92900696639c5d9e10bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f89787c9be126f29115149cc816a24d07e91b6f9bf92900696639c5d9e10bc4", kill_on_drop: false }` [INFO] [stdout] 0f89787c9be126f29115149cc816a24d07e91b6f9bf92900696639c5d9e10bc4