[INFO] cloning repository https://github.com/MetalElitist/rust-tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MetalElitist/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetalElitist%2Frust-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetalElitist%2Frust-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa42f83c7287a24c7ef56118f263056f9aef135e [INFO] testing MetalElitist/rust-tetris against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetalElitist%2Frust-tetris" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MetalElitist/rust-tetris on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MetalElitist/rust-tetris [INFO] finished tweaking git repo https://github.com/MetalElitist/rust-tetris [INFO] tweaked toml for git repo https://github.com/MetalElitist/rust-tetris written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MetalElitist/rust-tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glyph_brush v0.6.1 [INFO] [stderr] Downloaded redox_users v0.3.3 [INFO] [stderr] Downloaded alga v0.9.2 [INFO] [stderr] Downloaded rust-argon2 v0.6.1 [INFO] [stderr] Downloaded zip v0.5.4 [INFO] [stderr] Downloaded image v0.22.4 [INFO] [stderr] Downloaded gilrs v0.7.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91fd4b443d6686e02b07a4ea0960fee3c42d5f1fd332929c60fcebc1327d573c [INFO] running `Command { std: "docker" "start" "-a" "91fd4b443d6686e02b07a4ea0960fee3c42d5f1fd332929c60fcebc1327d573c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91fd4b443d6686e02b07a4ea0960fee3c42d5f1fd332929c60fcebc1327d573c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fd4b443d6686e02b07a4ea0960fee3c42d5f1fd332929c60fcebc1327d573c", kill_on_drop: false }` [INFO] [stdout] 91fd4b443d6686e02b07a4ea0960fee3c42d5f1fd332929c60fcebc1327d573c [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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffc33ee1d15a30b570d66da95a42797f8280133b2c5c1fc395967f9e3b7c12e8 [INFO] running `Command { std: "docker" "start" "-a" "ffc33ee1d15a30b570d66da95a42797f8280133b2c5c1fc395967f9e3b7c12e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling mint v0.5.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling minimp3 v0.3.3 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling glyph_brush v0.6.1 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling zip v0.5.4 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling gilrs-core v0.2.5 [INFO] [stderr] Compiling gilrs v0.7.3 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling image v0.22.4 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ggez` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez; [INFO] [stdout] | ^^^^ the item `ggez` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point2` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::mint::{Point2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::keyboard` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::input::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DAS_DEBUG` should have an upper camel case name [INFO] [stdout] --> src/das.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DAS_DEBUG { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DasDebug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:135:6 [INFO] [stdout] | [INFO] [stdout] 135 | if (self.lines/2 >= self.level && self.lines % 2 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - if (self.lines/2 >= self.level && self.lines % 2 == 0) { [INFO] [stdout] 135 + if self.lines/2 >= self.level && self.lines % 2 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tetromino.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | x => [[[1; crate::tetromino_width]; crate::tetromino_height]; 4], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `red` is never read [INFO] [stdout] --> src/das.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | let mut red = 355 - das.ticks_left_to_activate as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/das.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | let mut blue = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:242:7 [INFO] [stdout] | [INFO] [stdout] 242 | let mut tetromino_mesh = &self.block_mesh; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:263:64 [INFO] [stdout] | [INFO] [stdout] 263 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | fn key_up_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:296:62 [INFO] [stdout] | [INFO] [stdout] 296 | fn key_up_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tetromino_normal_fall_delay` is never read [INFO] [stdout] --> src/main.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 33 | struct MainState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | tetromino_normal_fall_delay: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DAS_DEBUG` is never constructed [INFO] [stdout] --> src/das.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DAS_DEBUG { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_mesh` is never used [INFO] [stdout] --> src/das.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | impl DAS_DEBUG { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 118 | pub fn debug_mesh(ctx: &mut ggez::Context, das: &DAS, cellsize: f32) -> ggez::graphics::Mesh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/hud.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HUD { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `grid_cols` should have an upper case name [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const grid_cols : usize = 12; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_COLS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `grid_rows` should have an upper case name [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const grid_rows : usize = 30; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_ROWS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `cellsize` should have an upper case name [INFO] [stdout] --> src/main.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const cellsize : f32 = 25f32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `CELLSIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tetromino_width` should have an upper case name [INFO] [stdout] --> src/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const tetromino_width : usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETROMINO_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tetromino_height` should have an upper case name [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const tetromino_height : usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETROMINO_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `next_tetromino_frame_width` should have an upper case name [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const next_tetromino_frame_width : f32 = cellsize * 6.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_FRAME_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `next_tetromino_x_offset` should have an upper case name [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const next_tetromino_x_offset : f32 = cellsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_X_OFFSET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `next_tetromino_y_offset` should have an upper case name [INFO] [stdout] --> src/main.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const next_tetromino_y_offset : f32 = cellsize*5.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_Y_OFFSET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `window_width` should have an upper case name [INFO] [stdout] --> src/main.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const window_width : f32 = grid_cols as f32*cellsize + next_tetromino_frame_width; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `WINDOW_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `window_height` should have an upper case name [INFO] [stdout] --> src/main.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const window_height : f32 = grid_rows as f32*cellsize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WINDOW_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | graphics::draw(ctx, &next_tetr_frame_mesh, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = graphics::draw(ctx, &next_tetr_frame_mesh, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | graphics::draw(ctx, &next_tetr_frame_mesh2, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = graphics::draw(ctx, &next_tetr_frame_mesh2, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockX` should have a snake case name [INFO] [stdout] --> src/main.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | let blockX = x as f32 * cellsize; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockY` should have a snake case name [INFO] [stdout] --> src/main.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | let blockY = y as f32 * cellsize; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | ... graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | ... graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 234 | let _ = graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:235:6 [INFO] [stdout] | [INFO] [stdout] 235 | graphics::draw(ctx, &self.block_mesh2,(na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 235 | let _ = graphics::draw(ctx, &self.block_mesh2,(na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:237:6 [INFO] [stdout] | [INFO] [stdout] 237 | graphics::draw(ctx, &self.clear_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = graphics::draw(ctx, &self.clear_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockX` should have a snake case name [INFO] [stdout] --> src/main.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | let blockX = (self.tetr.pos.x + x as i32) as f32 * cellsize as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockY` should have a snake case name [INFO] [stdout] --> src/main.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | let blockY = (self.tetr.pos.y + y as i32) as f32 * cellsize as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:251:6 [INFO] [stdout] | [INFO] [stdout] 251 | graphics::draw(ctx, tetromino_mesh, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = graphics::draw(ctx, tetromino_mesh, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 252 | let _ = graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:257:3 [INFO] [stdout] | [INFO] [stdout] 257 | graphics::present(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 257 | let _ = graphics::present(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_L1` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn create_L1() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `create_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_L2` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn create_L2() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `create_l2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_T` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn create_T() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `create_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_Z1` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn create_Z1() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_z1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_Z2` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn create_Z2() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_z2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_I` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn create_I() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hud.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | graphics::draw(ctx, &self.level_label, (na::Point2::::new(pos.x + 10.0, pos.y + 0.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = graphics::draw(ctx, &self.level_label, (na::Point2::::new(pos.x + 10.0, pos.y + 0.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hud.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | graphics::draw(ctx, &self.lines_label, (na::Point2::::new(pos.x + 10.0, pos.y + 500.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = graphics::draw(ctx, &self.lines_label, (na::Point2::::new(pos.x + 10.0, pos.y + 500.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.88s [INFO] running `Command { std: "docker" "inspect" "ffc33ee1d15a30b570d66da95a42797f8280133b2c5c1fc395967f9e3b7c12e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc33ee1d15a30b570d66da95a42797f8280133b2c5c1fc395967f9e3b7c12e8", kill_on_drop: false }` [INFO] [stdout] ffc33ee1d15a30b570d66da95a42797f8280133b2c5c1fc395967f9e3b7c12e8 [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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe051de04d34c3d961a7bc9ea7d2be004d3470c2af7dd0991dba6b725375364 [INFO] running `Command { std: "docker" "start" "-a" "8fe051de04d34c3d961a7bc9ea7d2be004d3470c2af7dd0991dba6b725375364", kill_on_drop: false }` [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ggez` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez; [INFO] [stdout] | ^^^^ the item `ggez` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point2` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::mint::{Point2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::keyboard` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::input::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DAS_DEBUG` should have an upper camel case name [INFO] [stdout] --> src/das.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DAS_DEBUG { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DasDebug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:135:6 [INFO] [stdout] | [INFO] [stdout] 135 | if (self.lines/2 >= self.level && self.lines % 2 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - if (self.lines/2 >= self.level && self.lines % 2 == 0) { [INFO] [stdout] 135 + if self.lines/2 >= self.level && self.lines % 2 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tetromino.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | x => [[[1; crate::tetromino_width]; crate::tetromino_height]; 4], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `red` is never read [INFO] [stdout] --> src/das.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | let mut red = 355 - das.ticks_left_to_activate as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/das.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | let mut blue = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:242:7 [INFO] [stdout] | [INFO] [stdout] 242 | let mut tetromino_mesh = &self.block_mesh; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:263:64 [INFO] [stdout] | [INFO] [stdout] 263 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | fn key_up_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:296:62 [INFO] [stdout] | [INFO] [stdout] 296 | fn key_up_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tetromino_normal_fall_delay` is never read [INFO] [stdout] --> src/main.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 33 | struct MainState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | tetromino_normal_fall_delay: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DAS_DEBUG` is never constructed [INFO] [stdout] --> src/das.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct DAS_DEBUG { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_mesh` is never used [INFO] [stdout] --> src/das.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | impl DAS_DEBUG { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 118 | pub fn debug_mesh(ctx: &mut ggez::Context, das: &DAS, cellsize: f32) -> ggez::graphics::Mesh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/hud.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HUD { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `grid_cols` should have an upper case name [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const grid_cols : usize = 12; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_COLS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `grid_rows` should have an upper case name [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const grid_rows : usize = 30; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_ROWS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `cellsize` should have an upper case name [INFO] [stdout] --> src/main.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const cellsize : f32 = 25f32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `CELLSIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tetromino_width` should have an upper case name [INFO] [stdout] --> src/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const tetromino_width : usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETROMINO_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `tetromino_height` should have an upper case name [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const tetromino_height : usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETROMINO_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `next_tetromino_frame_width` should have an upper case name [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const next_tetromino_frame_width : f32 = cellsize * 6.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_FRAME_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `next_tetromino_x_offset` should have an upper case name [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const next_tetromino_x_offset : f32 = cellsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_X_OFFSET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `next_tetromino_y_offset` should have an upper case name [INFO] [stdout] --> src/main.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const next_tetromino_y_offset : f32 = cellsize*5.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_Y_OFFSET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `window_width` should have an upper case name [INFO] [stdout] --> src/main.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const window_width : f32 = grid_cols as f32*cellsize + next_tetromino_frame_width; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `WINDOW_WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `window_height` should have an upper case name [INFO] [stdout] --> src/main.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const window_height : f32 = grid_rows as f32*cellsize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WINDOW_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | graphics::draw(ctx, &next_tetr_frame_mesh, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = graphics::draw(ctx, &next_tetr_frame_mesh, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | graphics::draw(ctx, &next_tetr_frame_mesh2, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = graphics::draw(ctx, &next_tetr_frame_mesh2, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockX` should have a snake case name [INFO] [stdout] --> src/main.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | let blockX = x as f32 * cellsize; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockY` should have a snake case name [INFO] [stdout] --> src/main.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | let blockY = y as f32 * cellsize; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | ... graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | ... graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 234 | let _ = graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:235:6 [INFO] [stdout] | [INFO] [stdout] 235 | graphics::draw(ctx, &self.block_mesh2,(na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 235 | let _ = graphics::draw(ctx, &self.block_mesh2,(na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:237:6 [INFO] [stdout] | [INFO] [stdout] 237 | graphics::draw(ctx, &self.clear_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = graphics::draw(ctx, &self.clear_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockX` should have a snake case name [INFO] [stdout] --> src/main.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | let blockX = (self.tetr.pos.x + x as i32) as f32 * cellsize as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `blockY` should have a snake case name [INFO] [stdout] --> src/main.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | let blockY = (self.tetr.pos.y + y as i32) as f32 * cellsize as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `block_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:251:6 [INFO] [stdout] | [INFO] [stdout] 251 | graphics::draw(ctx, tetromino_mesh, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = graphics::draw(ctx, tetromino_mesh, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 252 | let _ = graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX, blockY),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:257:3 [INFO] [stdout] | [INFO] [stdout] 257 | graphics::present(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 257 | let _ = graphics::present(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_L1` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn create_L1() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `create_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_L2` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn create_L2() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `create_l2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_T` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn create_T() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `create_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_Z1` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn create_Z1() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_z1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_Z2` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn create_Z2() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_z2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_I` should have a snake case name [INFO] [stdout] --> src/tetromino.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn create_I() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hud.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | graphics::draw(ctx, &self.level_label, (na::Point2::::new(pos.x + 10.0, pos.y + 0.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = graphics::draw(ctx, &self.level_label, (na::Point2::::new(pos.x + 10.0, pos.y + 0.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hud.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | graphics::draw(ctx, &self.lines_label, (na::Point2::::new(pos.x + 10.0, pos.y + 500.0),)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = graphics::draw(ctx, &self.lines_label, (na::Point2::::new(pos.x + 10.0, pos.y + 500.0),)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "8fe051de04d34c3d961a7bc9ea7d2be004d3470c2af7dd0991dba6b725375364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe051de04d34c3d961a7bc9ea7d2be004d3470c2af7dd0991dba6b725375364", kill_on_drop: false }` [INFO] [stdout] 8fe051de04d34c3d961a7bc9ea7d2be004d3470c2af7dd0991dba6b725375364 [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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ad5d26456f8e3308f5d43b4870995f8c61c24a120ed7e60e058b555ea7bdd75 [INFO] running `Command { std: "docker" "start" "-a" "9ad5d26456f8e3308f5d43b4870995f8c61c24a120ed7e60e058b555ea7bdd75", kill_on_drop: false }` [INFO] [stderr] warning: the item `ggez` is imported redundantly [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ggez; [INFO] [stderr] | ^^^^ the item `ggez` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Point2` [INFO] [stderr] --> src/main.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use ggez::mint::{Point2}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::input::keyboard` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ggez::input::keyboard; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::time; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `DAS_DEBUG` should have an upper camel case name [INFO] [stderr] --> src/das.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct DAS_DEBUG { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DasDebug` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:135:6 [INFO] [stderr] | [INFO] [stderr] 135 | if (self.lines/2 >= self.level && self.lines % 2 == 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 135 - if (self.lines/2 >= self.level && self.lines % 2 == 0) { [INFO] [stderr] 135 + if self.lines/2 >= self.level && self.lines % 2 == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/tetromino.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | x => [[[1; crate::tetromino_width]; crate::tetromino_height]; 4], [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `red` is never read [INFO] [stderr] --> src/das.rs:119:11 [INFO] [stderr] | [INFO] [stderr] 119 | let mut red = 355 - das.ticks_left_to_activate as i32; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/das.rs:128:7 [INFO] [stderr] | [INFO] [stderr] 128 | let mut blue = 0; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:242:7 [INFO] [stderr] | [INFO] [stderr] 242 | let mut tetromino_mesh = &self.block_mesh; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:263:31 [INFO] [stderr] | [INFO] [stderr] 263 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mods` [INFO] [stderr] --> src/main.rs:263:64 [INFO] [stderr] | [INFO] [stderr] 263 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:296:29 [INFO] [stderr] | [INFO] [stderr] 296 | fn key_up_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mods` [INFO] [stderr] --> src/main.rs:296:62 [INFO] [stderr] | [INFO] [stderr] 296 | fn key_up_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stderr] [INFO] [stderr] warning: field `tetromino_normal_fall_delay` is never read [INFO] [stderr] --> src/main.rs:48:2 [INFO] [stderr] | [INFO] [stderr] 33 | struct MainState { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 48 | tetromino_normal_fall_delay: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DAS_DEBUG` is never constructed [INFO] [stderr] --> src/das.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct DAS_DEBUG { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `debug_mesh` is never used [INFO] [stderr] --> src/das.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 117 | impl DAS_DEBUG { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 118 | pub fn debug_mesh(ctx: &mut ggez::Context, das: &DAS, cellsize: f32) -> ggez::graphics::Mesh { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `font` is never read [INFO] [stderr] --> src/hud.rs:5:2 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct HUD { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 5 | font: graphics::Font, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `grid_cols` should have an upper case name [INFO] [stderr] --> src/main.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const grid_cols : usize = 12; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_COLS` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `grid_rows` should have an upper case name [INFO] [stderr] --> src/main.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const grid_rows : usize = 30; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_ROWS` [INFO] [stderr] [INFO] [stderr] warning: constant `cellsize` should have an upper case name [INFO] [stderr] --> src/main.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | pub const cellsize : f32 = 25f32; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `CELLSIZE` [INFO] [stderr] [INFO] [stderr] warning: constant `tetromino_width` should have an upper case name [INFO] [stderr] --> src/main.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub const tetromino_width : usize = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETROMINO_WIDTH` [INFO] [stderr] [INFO] [stderr] warning: constant `tetromino_height` should have an upper case name [INFO] [stderr] --> src/main.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const tetromino_height : usize = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TETROMINO_HEIGHT` [INFO] [stderr] [INFO] [stderr] warning: constant `next_tetromino_frame_width` should have an upper case name [INFO] [stderr] --> src/main.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const next_tetromino_frame_width : f32 = cellsize * 6.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_FRAME_WIDTH` [INFO] [stderr] [INFO] [stderr] warning: constant `next_tetromino_x_offset` should have an upper case name [INFO] [stderr] --> src/main.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const next_tetromino_x_offset : f32 = cellsize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_X_OFFSET` [INFO] [stderr] [INFO] [stderr] warning: constant `next_tetromino_y_offset` should have an upper case name [INFO] [stderr] --> src/main.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | pub const next_tetromino_y_offset : f32 = cellsize*5.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEXT_TETROMINO_Y_OFFSET` [INFO] [stderr] [INFO] [stderr] warning: constant `window_width` should have an upper case name [INFO] [stderr] --> src/main.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const window_width : f32 = grid_cols as f32*cellsize + next_tetromino_frame_width; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `WINDOW_WIDTH` [INFO] [stderr] [INFO] [stderr] warning: constant `window_height` should have an upper case name [INFO] [stderr] --> src/main.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub const window_height : f32 = grid_rows as f32*cellsize; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `WINDOW_HEIGHT` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:204:4 [INFO] [stderr] | [INFO] [stderr] 204 | graphics::draw(ctx, &next_tetr_frame_mesh, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 204 | let _ = graphics::draw(ctx, &next_tetr_frame_mesh, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:205:4 [INFO] [stderr] | [INFO] [stderr] 205 | graphics::draw(ctx, &next_tetr_frame_mesh2, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 205 | let _ = graphics::draw(ctx, &next_tetr_frame_mesh2, (na::Point2::::new(grid_cols as f32 *cellsize, 0.0),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `blockX` should have a snake case name [INFO] [stderr] --> src/main.rs:212:11 [INFO] [stderr] | [INFO] [stderr] 212 | let blockX = x as f32 * cellsize; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `block_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `blockY` should have a snake case name [INFO] [stderr] --> src/main.rs:213:11 [INFO] [stderr] | [INFO] [stderr] 213 | let blockY = y as f32 * cellsize; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `block_y` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:214:7 [INFO] [stderr] | [INFO] [stderr] 214 | ... graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 214 | let _ = graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:215:7 [INFO] [stderr] | [INFO] [stderr] 215 | ... graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 215 | let _ = graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX + grid_cols as f32*cellsize + next_tetromino_x_offset, blockY + next_tetromino_y_offset),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:234:6 [INFO] [stderr] | [INFO] [stderr] 234 | graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 234 | let _ = graphics::draw(ctx, &self.block_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:235:6 [INFO] [stderr] | [INFO] [stderr] 235 | graphics::draw(ctx, &self.block_mesh2,(na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 235 | let _ = graphics::draw(ctx, &self.block_mesh2,(na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:237:6 [INFO] [stderr] | [INFO] [stderr] 237 | graphics::draw(ctx, &self.clear_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * ce... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 237 | let _ = graphics::draw(ctx, &self.clear_mesh, (na::Point2::::new(x as f32 * cellsize as f32, y as f32 * cellsize as f32),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `blockX` should have a snake case name [INFO] [stderr] --> src/main.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | let blockX = (self.tetr.pos.x + x as i32) as f32 * cellsize as f32; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `block_x` [INFO] [stderr] [INFO] [stderr] warning: variable `blockY` should have a snake case name [INFO] [stderr] --> src/main.rs:250:10 [INFO] [stderr] | [INFO] [stderr] 250 | let blockY = (self.tetr.pos.y + y as i32) as f32 * cellsize as f32; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `block_y` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:251:6 [INFO] [stderr] | [INFO] [stderr] 251 | graphics::draw(ctx, tetromino_mesh, (na::Point2::::new(blockX, blockY),)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 251 | let _ = graphics::draw(ctx, tetromino_mesh, (na::Point2::::new(blockX, blockY),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:252:6 [INFO] [stderr] | [INFO] [stderr] 252 | graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX, blockY),)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 252 | let _ = graphics::draw(ctx, &self.block_mesh2, (na::Point2::::new(blockX, blockY),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:257:3 [INFO] [stderr] | [INFO] [stderr] 257 | graphics::present(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 257 | let _ = graphics::present(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: method `create_L1` should have a snake case name [INFO] [stderr] --> src/tetromino.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn create_L1() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `create_l1` [INFO] [stderr] [INFO] [stderr] warning: method `create_L2` should have a snake case name [INFO] [stderr] --> src/tetromino.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn create_L2() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `create_l2` [INFO] [stderr] [INFO] [stderr] warning: method `create_T` should have a snake case name [INFO] [stderr] --> src/tetromino.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn create_T() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `create_t` [INFO] [stderr] [INFO] [stderr] warning: method `create_Z1` should have a snake case name [INFO] [stderr] --> src/tetromino.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn create_Z1() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_z1` [INFO] [stderr] [INFO] [stderr] warning: method `create_Z2` should have a snake case name [INFO] [stderr] --> src/tetromino.rs:236:9 [INFO] [stderr] | [INFO] [stderr] 236 | pub fn create_Z2() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_z2` [INFO] [stderr] [INFO] [stderr] warning: method `create_I` should have a snake case name [INFO] [stderr] --> src/tetromino.rs:265:9 [INFO] [stderr] | [INFO] [stderr] 265 | pub fn create_I() -> [[[i32; crate::tetromino_width]; crate::tetromino_height]; 4] { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `create_i` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/hud.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | graphics::draw(ctx, &self.level_label, (na::Point2::::new(pos.x + 10.0, pos.y + 0.0),)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 33 | let _ = graphics::draw(ctx, &self.level_label, (na::Point2::::new(pos.x + 10.0, pos.y + 0.0),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/hud.rs:37:3 [INFO] [stderr] | [INFO] [stderr] 37 | graphics::draw(ctx, &self.lines_label, (na::Point2::::new(pos.x + 10.0, pos.y + 500.0),)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 37 | let _ = graphics::draw(ctx, &self.lines_label, (na::Point2::::new(pos.x + 10.0, pos.y + 500.0),)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `tetris` (bin "tetris" test) generated 50 warnings (run `cargo fix --bin "tetris" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tetris-1167016819db7d36) [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" "9ad5d26456f8e3308f5d43b4870995f8c61c24a120ed7e60e058b555ea7bdd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad5d26456f8e3308f5d43b4870995f8c61c24a120ed7e60e058b555ea7bdd75", kill_on_drop: false }` [INFO] [stdout] 9ad5d26456f8e3308f5d43b4870995f8c61c24a120ed7e60e058b555ea7bdd75 [INFO] testing MetalElitist/rust-tetris against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetalElitist%2Frust-tetris" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MetalElitist/rust-tetris on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MetalElitist/rust-tetris [INFO] finished tweaking git repo https://github.com/MetalElitist/rust-tetris [INFO] tweaked toml for git repo https://github.com/MetalElitist/rust-tetris written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MetalElitist/rust-tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d1d16c995d9a05247e33d361260ca63807d78faf58adc0d25e72036b9442f34 [INFO] running `Command { std: "docker" "start" "-a" "3d1d16c995d9a05247e33d361260ca63807d78faf58adc0d25e72036b9442f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d1d16c995d9a05247e33d361260ca63807d78faf58adc0d25e72036b9442f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1d16c995d9a05247e33d361260ca63807d78faf58adc0d25e72036b9442f34", kill_on_drop: false }` [INFO] [stdout] 3d1d16c995d9a05247e33d361260ca63807d78faf58adc0d25e72036b9442f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cba24153b650bd5d1e4f74f01a9a9c20b59a112ec660d9991dab0f310854418 [INFO] running `Command { std: "docker" "start" "-a" "2cba24153b650bd5d1e4f74f01a9a9c20b59a112ec660d9991dab0f310854418", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling mint v0.5.4 [INFO] [stderr] Compiling minimp3 v0.3.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling glyph_brush v0.6.1 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling zip v0.5.4 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling gilrs-core v0.2.5 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling gilrs v0.7.3 [INFO] [stderr] error: could not compile `x11-dl` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/bin/rustc --crate-name x11_dl /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/x11-dl-2.18.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=8fa67ec370142408 -C extra-filename=-8fa67ec370142408 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b82c15677deef9e2.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-1064678cc67abe39.rmeta --extern maybe_uninit=/opt/rustwide/target/debug/deps/libmaybe_uninit-ffb7fb957bd0dd89.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3 -l dl` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2cba24153b650bd5d1e4f74f01a9a9c20b59a112ec660d9991dab0f310854418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cba24153b650bd5d1e4f74f01a9a9c20b59a112ec660d9991dab0f310854418", kill_on_drop: false }` [INFO] [stdout] 2cba24153b650bd5d1e4f74f01a9a9c20b59a112ec660d9991dab0f310854418