[INFO] cloning repository https://github.com/lewismoore10100/rusty_tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lewismoore10100/rusty_tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewismoore10100%2Frusty_tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewismoore10100%2Frusty_tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f85d100cb03f77f19a3fef08856a57afda59e646 [INFO] checking lewismoore10100/rusty_tetris against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewismoore10100%2Frusty_tetris" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lewismoore10100/rusty_tetris [INFO] finished tweaking git repo https://github.com/lewismoore10100/rusty_tetris [INFO] tweaked toml for git repo https://github.com/lewismoore10100/rusty_tetris written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lewismoore10100/rusty_tetris on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lewismoore10100/rusty_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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 639e914bd76eaba091cc2dc95ecdc79f71b245726e8a59af4759ea3cbbbc28e9 [INFO] running `Command { std: "docker" "start" "-a" "639e914bd76eaba091cc2dc95ecdc79f71b245726e8a59af4759ea3cbbbc28e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "639e914bd76eaba091cc2dc95ecdc79f71b245726e8a59af4759ea3cbbbc28e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639e914bd76eaba091cc2dc95ecdc79f71b245726e8a59af4759ea3cbbbc28e9", kill_on_drop: false }` [INFO] [stdout] 639e914bd76eaba091cc2dc95ecdc79f71b245726e8a59af4759ea3cbbbc28e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc467dc4cc364c6fcc69399722eeaa4c589add532516b7fa51576d50395eabad [INFO] running `Command { std: "docker" "start" "-a" "dc467dc4cc364c6fcc69399722eeaa4c589add532516b7fa51576d50395eabad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Checking libloading v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling xxhash-rust v0.8.10 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.5 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling manyhow-macros v0.10.4 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Compiling winit v0.29.13 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking rand_core v0.9.0-alpha.0 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.0 [INFO] [stderr] Checking rand v0.9.0-alpha.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling server_fn_macro v0.6.12 [INFO] [stderr] Compiling manyhow v0.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling server_fn_macro_default v0.6.12 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling quote-use-macros v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Compiling quote-use v0.8.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling attribute-derive-macro v0.9.2 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking js-sys v0.3.68 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling attribute-derive v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking serde_json v1.0.1 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking oco_ref v0.1.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Compiling leptos_hot_reload v0.6.12 [INFO] [stderr] Checking web-sys v0.3.68 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.41 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Compiling leptos_macro v0.6.12 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking leptos_config v0.6.12 [INFO] [stderr] Checking nalgebra v0.32.4 [INFO] [stderr] Checking winit_input_helper v0.15.3 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Checking leptos_reactive v0.6.12 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking server_fn v0.6.12 [INFO] [stderr] Checking leptos_server v0.6.12 [INFO] [stderr] Checking leptos_dom v0.6.12 [INFO] [stderr] Checking leptos v0.6.12 [INFO] [stderr] Checking blue_engine v0.5.8 [INFO] [stderr] Checking rusty_tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/tetris_engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::logging::log` [INFO] [stdout] --> src/tetris_web_render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos::logging::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/tetris_engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::logging::log` [INFO] [stdout] --> src/tetris_web_render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos::logging::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_initial_state` is never used [INFO] [stdout] --> src/tetris_engine.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl TetrisEngine { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_initial_state(initial_state: Vec, shape_generator: fn() -> Box) -> TetrisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `same_position` are never used [INFO] [stdout] --> src/tetris_block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TetrisBlock { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(x: i32, y: i32) -> TetrisBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn same_position(&self, other: &TetrisBlock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/test_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run ()>(mut f: F, times: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_equal` is never used [INFO] [stdout] --> src/test_utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn are_equal(actual: &Vec, expected: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_first_tick_a_single_z_is_put_into_play` is never used [INFO] [stdout] --> src/tests.rs:633:4 [INFO] [stdout] | [INFO] [stdout] 633 | fn on_first_tick_a_single_z_is_put_into_play() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_first_tick_a_single_i_is_put_into_play` is never used [INFO] [stdout] --> src/tests.rs:646:4 [INFO] [stdout] | [INFO] [stdout] 646 | fn on_first_tick_a_single_i_is_put_into_play() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::logging::log` [INFO] [stdout] --> src/tetris_web_render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos::logging::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/tetris_engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::logging::log` [INFO] [stdout] --> src/tetris_web_render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos::logging::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/tetris_engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/tetris_engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/tetris_engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpeedLimiter` is never constructed [INFO] [stdout] --> src/game_engine_setup.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SpeedLimiter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tick` are never used [INFO] [stdout] --> src/game_engine_setup.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SpeedLimiter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(frames_per_duration: Duration) -> SpeedLimiter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn tick ()>(&mut self, mut f: F) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_engine` is never used [INFO] [stdout] --> src/game_engine_setup.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn setup_engine() -> Engine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `same_position` are never used [INFO] [stdout] --> src/tetris_block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TetrisBlock { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(x: i32, y: i32) -> TetrisBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn same_position(&self, other: &TetrisBlock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_blocks` is never used [INFO] [stdout] --> src/render_blocks.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn render_blocks(blocks: Vec, objects: &mut ObjectStorage, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_color` is never used [INFO] [stdout] --> src/render_blocks.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn calculate_color(color: &COLOR) -> [f32; 4]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_initial_state` is never used [INFO] [stdout] --> src/tetris_engine.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl TetrisEngine { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_initial_state(initial_state: Vec, shape_generator: fn() -> Box) -> TetrisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpeedLimiter` is never constructed [INFO] [stdout] --> src/game_engine_setup.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SpeedLimiter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tick` are never used [INFO] [stdout] --> src/game_engine_setup.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SpeedLimiter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(frames_per_duration: Duration) -> SpeedLimiter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn tick ()>(&mut self, mut f: F) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_engine` is never used [INFO] [stdout] --> src/game_engine_setup.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn setup_engine() -> Engine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `same_position` are never used [INFO] [stdout] --> src/tetris_block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TetrisBlock { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(x: i32, y: i32) -> TetrisBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn same_position(&self, other: &TetrisBlock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_blocks` is never used [INFO] [stdout] --> src/render_blocks.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn render_blocks(blocks: Vec, objects: &mut ObjectStorage, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_color` is never used [INFO] [stdout] --> src/render_blocks.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn calculate_color(color: &COLOR) -> [f32; 4]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_initial_state` is never used [INFO] [stdout] --> src/tetris_engine.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl TetrisEngine { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_initial_state(initial_state: Vec, shape_generator: fn() -> Box) -> TetrisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `same_position` are never used [INFO] [stdout] --> src/tetris_block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TetrisBlock { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(x: i32, y: i32) -> TetrisBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn same_position(&self, other: &TetrisBlock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_initial_state` and `is_game_over` are never used [INFO] [stdout] --> src/tetris_engine.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl TetrisEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_initial_state(initial_state: Vec, shape_generator: fn() -> Box) -> TetrisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `same_position` are never used [INFO] [stdout] --> src/tetris_block.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TetrisBlock { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(x: i32, y: i32) -> TetrisBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn same_position(&self, other: &TetrisBlock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_initial_state` and `is_game_over` are never used [INFO] [stdout] --> src/tetris_engine.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl TetrisEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_initial_state(initial_state: Vec, shape_generator: fn() -> Box) -> TetrisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "dc467dc4cc364c6fcc69399722eeaa4c589add532516b7fa51576d50395eabad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc467dc4cc364c6fcc69399722eeaa4c589add532516b7fa51576d50395eabad", kill_on_drop: false }` [INFO] [stdout] dc467dc4cc364c6fcc69399722eeaa4c589add532516b7fa51576d50395eabad