[INFO] fetching crate teng 0.5.0... [INFO] testing teng-0.5.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate teng 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate teng 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate teng 0.5.0 [INFO] tweaked toml for crates.io crate teng 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate teng 0.5.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate teng 0.5.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97bac45aef1094db4fe013c6ae5e1734406a20ac281f3ddea890a1a22d2bac71 [INFO] running `Command { std: "docker" "start" "-a" "97bac45aef1094db4fe013c6ae5e1734406a20ac281f3ddea890a1a22d2bac71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97bac45aef1094db4fe013c6ae5e1734406a20ac281f3ddea890a1a22d2bac71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bac45aef1094db4fe013c6ae5e1734406a20ac281f3ddea890a1a22d2bac71", kill_on_drop: false }` [INFO] [stdout] 97bac45aef1094db4fe013c6ae5e1734406a20ac281f3ddea890a1a22d2bac71 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636e762e470bfb7e38fd36533fae66027cd96737cde1ac7f0f29c0153843fa0e [INFO] running `Command { std: "docker" "start" "-a" "636e762e470bfb7e38fd36533fae66027cd96737cde1ac7f0f29c0153843fa0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling micromap v0.0.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling teng v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [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 variable: `depth_base` [INFO] [stdout] --> src/components/debuginfo.rs:153:82 [INFO] [stdout] | [INFO] [stdout] 153 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/eventrecorder.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/eventrecorder.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> src/components/fpslocker.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/fpslocker.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/fpslocker.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/keyboard.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/keyboard.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/keyboard.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/keyboard.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mouse.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/mouse.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/quitter.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/ui.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/ui.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/ui.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/ui.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/components/ui.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/ui.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:23:58 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/ui.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn update(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:222:51 [INFO] [stdout] | [INFO] [stdout] 222 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/ui.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> src/components/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_active(&self, shared_state: &SharedState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/components/mod.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | fn on_quit(&mut self, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/components/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> src/components/mod.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rendering/render.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | for (i, c) in self.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/rendering/renderer.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_default_bg_color(&mut self, color: [u8; 3]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/lib.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | fn update_game(&mut self, update_info: UpdateInfo) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/lib.rs:420:56 [INFO] [stdout] | [INFO] [stdout] 420 | self.swap_component::(|width, height| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/lib.rs:420:63 [INFO] [stdout] | [INFO] [stdout] 420 | self.swap_component::(|width, height| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_y`, `player_x`, `left_wall`, `bottom_wall`, `y_vel`, and `target_queue` are never read [INFO] [stdout] --> src/components/debuginfo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DebugInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 37 | player_y: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | player_x: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | left_wall: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | bottom_wall: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | y_vel: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | target_queue: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_event_all` and `on_resize_all` are never used [INFO] [stdout] --> src/components/ui.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 161 | impl Ui { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn on_event_all(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn on_resize_all(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_raw` and `info_string` are never used [INFO] [stdout] --> src/util/planarvec2.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 227 | impl PlanarVec { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn get_mut_raw(&mut self, x: i64, y: i64) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn info_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.38s [INFO] running `Command { std: "docker" "inspect" "636e762e470bfb7e38fd36533fae66027cd96737cde1ac7f0f29c0153843fa0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636e762e470bfb7e38fd36533fae66027cd96737cde1ac7f0f29c0153843fa0e", kill_on_drop: false }` [INFO] [stdout] 636e762e470bfb7e38fd36533fae66027cd96737cde1ac7f0f29c0153843fa0e [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5964968bd0643850ae6181875ad2339c3e09b2a0c5eb237edc25697919954f4a [INFO] running `Command { std: "docker" "start" "-a" "5964968bd0643850ae6181875ad2339c3e09b2a0c5eb237edc25697919954f4a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [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 variable: `depth_base` [INFO] [stdout] --> src/components/debuginfo.rs:153:82 [INFO] [stdout] | [INFO] [stdout] 153 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/eventrecorder.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/eventrecorder.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> src/components/fpslocker.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/fpslocker.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/fpslocker.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/keyboard.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/keyboard.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/keyboard.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/keyboard.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mouse.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/mouse.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/quitter.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/ui.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/ui.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/ui.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/ui.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/components/ui.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/ui.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:23:58 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/ui.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn update(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:222:51 [INFO] [stdout] | [INFO] [stdout] 222 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/ui.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> src/components/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_active(&self, shared_state: &SharedState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/components/mod.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | fn on_quit(&mut self, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/components/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> src/components/mod.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rendering/render.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | for (i, c) in self.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/rendering/renderer.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_default_bg_color(&mut self, color: [u8; 3]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/lib.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | fn update_game(&mut self, update_info: UpdateInfo) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/lib.rs:420:56 [INFO] [stdout] | [INFO] [stdout] 420 | self.swap_component::(|width, height| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/lib.rs:420:63 [INFO] [stdout] | [INFO] [stdout] 420 | self.swap_component::(|width, height| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_y`, `player_x`, `left_wall`, `bottom_wall`, `y_vel`, and `target_queue` are never read [INFO] [stdout] --> src/components/debuginfo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DebugInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 37 | player_y: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | player_x: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | left_wall: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | bottom_wall: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | y_vel: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | target_queue: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_event_all` and `on_resize_all` are never used [INFO] [stdout] --> src/components/ui.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 161 | impl Ui { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn on_event_all(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn on_resize_all(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_raw` and `info_string` are never used [INFO] [stdout] --> src/util/planarvec2.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 227 | impl PlanarVec { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn get_mut_raw(&mut self, x: i64, y: i64) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn info_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling teng v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> examples/boundschecker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Instant; [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: `std::cell::RefCell` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [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 imports: `Read` and `repeat` [INFO] [stdout] --> src/util/fixedupdate.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | use std::io::{repeat, Read}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any` and `TypeId` [INFO] [stdout] --> examples/ecs/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::any::{Any, TypeId}; [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 variable: `x` [INFO] [stdout] --> examples/ui.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/ui.rs:40:58 [INFO] [stdout] | [INFO] [stdout] 40 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/ui.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState<()>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> examples/ui.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let width = shared_state.display_info.width(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> examples/ui.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let height = shared_state.display_info.height(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> examples/ui.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> examples/ui.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/circlerasterizer.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 178 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 181 | let mut x = self.radius as i64 + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_x` is never read [INFO] [stdout] --> examples/boundschecker.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut min_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_x` is never read [INFO] [stdout] --> examples/boundschecker.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut max_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_y` is never read [INFO] [stdout] --> examples/boundschecker.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut min_y = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_y` is never read [INFO] [stdout] --> examples/boundschecker.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut max_y = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> examples/boundschecker.rs:91:79 [INFO] [stdout] | [INFO] [stdout] 91 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::rendering::render::Render` [INFO] [stdout] --> examples/circlerasterizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use teng::rendering::render::Render; [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 variable: `radius_y` [INFO] [stdout] --> examples/circlerasterizer.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let radius_y = self.radius / 2.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/circlerasterizer.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/circlerasterizer.rs:249:42 [INFO] [stdout] | [INFO] [stdout] 249 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState<()>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/circlerasterizer.rs:351:51 [INFO] [stdout] | [INFO] [stdout] 351 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> examples/falling-sand/main.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | depth_base: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> examples/falling-sand/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl FallingSimulationData { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 58 | fn new() -> Self { [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 `get_mut_component` are never used [INFO] [stdout] --> examples/ecs/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl Ecs { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 140 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn get_mut_component(&mut self, entity: Entity) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> src/components/debuginfo.rs:153:82 [INFO] [stdout] | [INFO] [stdout] 153 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/eventrecorder.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/eventrecorder.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/eventrecorder.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> src/components/fpslocker.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/fpslocker.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/fpslocker.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/keyboard.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/keyboard.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/keyboard.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/keyboard.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mouse.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/mouse.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/quitter.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/ui.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/ui.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/ui.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/ui.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/components/ui.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/ui.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:23:58 [INFO] [stdout] | [INFO] [stdout] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/ui.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn update(&mut self, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/ui.rs:222:51 [INFO] [stdout] | [INFO] [stdout] 222 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/ui.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setup_info` [INFO] [stdout] --> src/components/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_active(&self, shared_state: &SharedState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/components/mod.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | fn on_quit(&mut self, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | shared_state: &mut SharedState, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/components/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/components/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> src/components/mod.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> src/components/mod.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rendering/render.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | for (i, c) in self.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/rendering/renderer.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_default_bg_color(&mut self, color: [u8; 3]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> src/lib.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | fn update_game(&mut self, update_info: UpdateInfo) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/lib.rs:420:56 [INFO] [stdout] | [INFO] [stdout] 420 | self.swap_component::(|width, height| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/lib.rs:420:63 [INFO] [stdout] | [INFO] [stdout] 420 | self.swap_component::(|width, height| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_y`, `player_x`, `left_wall`, `bottom_wall`, `y_vel`, and `target_queue` are never read [INFO] [stdout] --> src/components/debuginfo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DebugInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 37 | player_y: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | player_x: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | left_wall: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | bottom_wall: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | y_vel: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | target_queue: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_event_all` and `on_resize_all` are never used [INFO] [stdout] --> src/components/ui.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 161 | impl Ui { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn on_event_all(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn on_resize_all(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_raw` and `info_string` are never used [INFO] [stdout] --> src/util/planarvec2.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 227 | impl PlanarVec { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn get_mut_raw(&mut self, x: i64, y: i64) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn info_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> examples/fpschecker.rs:40:79 [INFO] [stdout] | [INFO] [stdout] 40 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> examples/fpschecker.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/fpschecker.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_base` [INFO] [stdout] --> examples/fpschecker.rs:78:79 [INFO] [stdout] | [INFO] [stdout] 78 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> examples/fabrik/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::stdout; [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: `std::time::Instant` [INFO] [stdout] --> examples/fabrik/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::rendering::pixel::Pixel` [INFO] [stdout] --> examples/fabrik/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use teng::rendering::pixel::Pixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::util::planarvec::Bounds` [INFO] [stdout] --> examples/fabrik/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use teng::util::planarvec::Bounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::util::planarvec2_experimental::ExponentialGrowingBounds` [INFO] [stdout] --> examples/fabrik/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use teng::util::planarvec2_experimental::ExponentialGrowingBounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/fabrik/main.rs:207:58 [INFO] [stdout] | [INFO] [stdout] 207 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> examples/fabrik/main.rs:211:26 [INFO] [stdout] | [INFO] [stdout] 211 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/fabrik/main.rs:308:51 [INFO] [stdout] | [INFO] [stdout] 308 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState<()>, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::rendering::display::Display` [INFO] [stdout] --> examples/circlerasterizer2.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use teng::rendering::display::Display; [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: `teng::rendering::render::Render` [INFO] [stdout] --> examples/circlerasterizer2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use teng::rendering::render::Render; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/circlerasterizer2.rs:366:58 [INFO] [stdout] | [INFO] [stdout] 366 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/circlerasterizer2.rs:370:42 [INFO] [stdout] | [INFO] [stdout] 370 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState<()>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/circlerasterizer2.rs:470:51 [INFO] [stdout] | [INFO] [stdout] 470 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> examples/exponentialgrowingboundschecker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Instant; [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: `teng::util::planarvec::Bounds` [INFO] [stdout] --> examples/exponentialgrowingboundschecker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use teng::util::planarvec::Bounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/exponentialgrowingboundschecker.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/exponentialgrowingboundschecker.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> examples/pathfinding/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::stdout; [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: `std::time::Instant` [INFO] [stdout] --> examples/pathfinding/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::rendering::pixel::Pixel` [INFO] [stdout] --> examples/pathfinding/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use teng::rendering::pixel::Pixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teng::util::planarvec::Bounds` [INFO] [stdout] --> examples/pathfinding/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use teng::util::planarvec::Bounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/pathfinding/main.rs:66:58 [INFO] [stdout] | [INFO] [stdout] 66 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_info` [INFO] [stdout] --> examples/pathfinding/main.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState<()>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_state` [INFO] [stdout] --> examples/pathfinding/main.rs:145:51 [INFO] [stdout] | [INFO] [stdout] 145 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState<()>, depth_base: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.53s [INFO] running `Command { std: "docker" "inspect" "5964968bd0643850ae6181875ad2339c3e09b2a0c5eb237edc25697919954f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5964968bd0643850ae6181875ad2339c3e09b2a0c5eb237edc25697919954f4a", kill_on_drop: false }` [INFO] [stdout] 5964968bd0643850ae6181875ad2339c3e09b2a0c5eb237edc25697919954f4a [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05d423cee4674126fc8a36602728111ee1116e3f76267776f3a32afd86947740 [INFO] running `Command { std: "docker" "start" "-a" "05d423cee4674126fc8a36602728111ee1116e3f76267776f3a32afd86947740", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_base` [INFO] [stderr] --> src/components/debuginfo.rs:153:82 [INFO] [stderr] | [INFO] [stderr] 153 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:120:49 [INFO] [stderr] | [INFO] [stderr] 120 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:127:58 [INFO] [stderr] | [INFO] [stderr] 127 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:131:27 [INFO] [stderr] | [INFO] [stderr] 131 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/eventrecorder.rs:149:26 [INFO] [stderr] | [INFO] [stderr] 149 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:225:49 [INFO] [stderr] | [INFO] [stderr] 225 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:265:27 [INFO] [stderr] | [INFO] [stderr] 265 | fn on_quit(&mut self, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/eventrecorder.rs:270:26 [INFO] [stderr] | [INFO] [stderr] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/eventrecorder.rs:270:51 [INFO] [stderr] | [INFO] [stderr] 270 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `setup_info` [INFO] [stderr] --> src/components/fpslocker.rs:22:25 [INFO] [stderr] | [INFO] [stderr] 22 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/fpslocker.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/fpslocker.rs:49:26 [INFO] [stderr] | [INFO] [stderr] 49 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/keyboard.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/keyboard.rs:92:26 [INFO] [stderr] | [INFO] [stderr] 92 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/keyboard.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/keyboard.rs:143:26 [INFO] [stderr] | [INFO] [stderr] 143 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mouse.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/mouse.rs:229:26 [INFO] [stderr] | [INFO] [stderr] 229 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/quitter.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/components/ui.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/components/ui.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/components/ui.rs:15:32 [INFO] [stderr] | [INFO] [stderr] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/components/ui.rs:15:42 [INFO] [stderr] | [INFO] [stderr] 15 | fn is_resizing_drag(&self, x: usize, y: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/components/ui.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/components/ui.rs:23:43 [INFO] [stderr] | [INFO] [stderr] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/ui.rs:23:58 [INFO] [stderr] | [INFO] [stderr] 23 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/components/ui.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/ui.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/ui.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | fn update(&mut self, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/ui.rs:222:51 [INFO] [stderr] | [INFO] [stderr] 222 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/ui.rs:323:26 [INFO] [stderr] | [INFO] [stderr] 323 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `setup_info` [INFO] [stderr] --> src/components/mod.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:25:49 [INFO] [stderr] | [INFO] [stderr] 25 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | fn is_active(&self, shared_state: &SharedState) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/components/mod.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/components/mod.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:32:58 [INFO] [stderr] | [INFO] [stderr] 32 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | fn on_quit(&mut self, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/components/mod.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | event: Event, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | shared_state: &mut SharedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/components/mod.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:44:51 [INFO] [stderr] | [INFO] [stderr] 44 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renderer` [INFO] [stderr] --> src/components/mod.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> src/components/mod.rs:47:51 [INFO] [stderr] | [INFO] [stderr] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_base` [INFO] [stderr] --> src/components/mod.rs:47:82 [INFO] [stderr] | [INFO] [stderr] 47 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) {} [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/rendering/render.rs:118:14 [INFO] [stderr] | [INFO] [stderr] 118 | for (i, c) in self.chars().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/rendering/renderer.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | fn set_default_bg_color(&mut self, color: [u8; 3]) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> src/lib.rs:413:31 [INFO] [stderr] | [INFO] [stderr] 413 | fn update_game(&mut self, update_info: UpdateInfo) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/lib.rs:420:56 [INFO] [stderr] | [INFO] [stderr] 420 | self.swap_component::(|width, height| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/lib.rs:420:63 [INFO] [stderr] | [INFO] [stderr] 420 | self.swap_component::(|width, height| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: fields `player_y`, `player_x`, `left_wall`, `bottom_wall`, `y_vel`, and `target_queue` are never read [INFO] [stderr] --> src/components/debuginfo.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct DebugInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 37 | player_y: f64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 38 | player_x: f64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 39 | left_wall: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 40 | bottom_wall: f64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 41 | y_vel: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 42 | target_queue: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DebugInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `on_event_all` and `on_resize_all` are never used [INFO] [stderr] --> src/components/ui.rs:199:8 [INFO] [stderr] | [INFO] [stderr] 161 | impl Ui { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 199 | fn on_event_all(&mut self, event: Event, shared_state: &mut SharedState) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 210 | fn on_resize_all(&mut self, width: usize, height: usize, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_mut_raw` and `info_string` are never used [INFO] [stderr] --> src/util/planarvec2.rs:286:8 [INFO] [stderr] | [INFO] [stderr] 227 | impl PlanarVec { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 286 | fn get_mut_raw(&mut self, x: i64, y: i64) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 324 | fn info_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read` and `repeat` [INFO] [stderr] --> src/util/fixedupdate.rs:78:19 [INFO] [stderr] | [INFO] [stderr] 78 | use std::io::{repeat, Read}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `teng` (lib) generated 55 warnings (run `cargo fix --lib -p teng` to apply 1 suggestion) [INFO] [stderr] warning: `teng` (lib test) generated 56 warnings (55 duplicates) (run `cargo fix --lib -p teng --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> examples/exponentialgrowingboundschecker.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::util::planarvec::Bounds` [INFO] [stderr] --> examples/exponentialgrowingboundschecker.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use teng::util::planarvec::Bounds; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/exponentialgrowingboundschecker.rs:73:58 [INFO] [stderr] | [INFO] [stderr] 73 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/exponentialgrowingboundschecker.rs:90:51 [INFO] [stderr] | [INFO] [stderr] 90 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_base` [INFO] [stderr] --> examples/falling-sand/main.rs:351:9 [INFO] [stderr] | [INFO] [stderr] 351 | depth_base: i32, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> examples/falling-sand/main.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 57 | impl FallingSimulationData { [INFO] [stderr] | -------------------------- associated function in this implementation [INFO] [stderr] 58 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> examples/circlerasterizer.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 178 | return; [INFO] [stderr] | ------ any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 181 | let mut x = self.radius as i64 + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::rendering::render::Render` [INFO] [stderr] --> examples/circlerasterizer.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use teng::rendering::render::Render; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radius_y` [INFO] [stderr] --> examples/circlerasterizer.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | let radius_y = self.radius / 2.0; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/circlerasterizer.rs:245:58 [INFO] [stderr] | [INFO] [stderr] 245 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/circlerasterizer.rs:249:42 [INFO] [stderr] | [INFO] [stderr] 249 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState<()>) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/circlerasterizer.rs:351:51 [INFO] [stderr] | [INFO] [stderr] 351 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_base` [INFO] [stderr] --> examples/fpschecker.rs:40:79 [INFO] [stderr] | [INFO] [stderr] 40 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> examples/fpschecker.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 74 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/fpschecker.rs:74:51 [INFO] [stderr] | [INFO] [stderr] 74 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_base` [INFO] [stderr] --> examples/fpschecker.rs:78:79 [INFO] [stderr] | [INFO] [stderr] 78 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Any` and `TypeId` [INFO] [stderr] --> examples/ecs/main.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use std::any::{Any, TypeId}; [INFO] [stderr] | ^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `get_mut_component` are never used [INFO] [stderr] --> examples/ecs/main.rs:140:8 [INFO] [stderr] | [INFO] [stderr] 139 | impl Ecs { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 140 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | fn get_mut_component(&mut self, entity: Entity) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `teng` (example "exponentialgrowingboundschecker") generated 4 warnings (run `cargo fix --example "exponentialgrowingboundschecker"` to apply 2 suggestions) [INFO] [stderr] warning: `teng` (example "falling-sand") generated 2 warnings [INFO] [stderr] warning: `teng` (example "circle-rasterizer") generated 6 warnings [INFO] [stderr] warning: `teng` (example "fpschecker") generated 4 warnings [INFO] [stderr] warning: `teng` (example "ecs") generated 2 warnings (run `cargo fix --example "ecs"` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `teng::rendering::display::Display` [INFO] [stderr] --> examples/circlerasterizer2.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use teng::rendering::display::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::rendering::render::Render` [INFO] [stderr] --> examples/circlerasterizer2.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use teng::rendering::render::Render; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/circlerasterizer2.rs:366:58 [INFO] [stderr] | [INFO] [stderr] 366 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/circlerasterizer2.rs:370:42 [INFO] [stderr] | [INFO] [stderr] 370 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState<()>) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/circlerasterizer2.rs:470:51 [INFO] [stderr] | [INFO] [stderr] 470 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> examples/boundschecker.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `min_x` is never read [INFO] [stderr] --> examples/boundschecker.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | let mut min_x = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `max_x` is never read [INFO] [stderr] --> examples/boundschecker.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | let mut max_x = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `min_y` is never read [INFO] [stderr] --> examples/boundschecker.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | let mut min_y = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `max_y` is never read [INFO] [stderr] --> examples/boundschecker.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | let mut max_y = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_base` [INFO] [stderr] --> examples/boundschecker.rs:91:79 [INFO] [stderr] | [INFO] [stderr] 91 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_base` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::stdout` [INFO] [stderr] --> examples/fabrik/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::stdout; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> examples/fabrik/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::rendering::pixel::Pixel` [INFO] [stderr] --> examples/fabrik/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use teng::rendering::pixel::Pixel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::util::planarvec::Bounds` [INFO] [stderr] --> examples/fabrik/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use teng::util::planarvec::Bounds; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::util::planarvec2_experimental::ExponentialGrowingBounds` [INFO] [stderr] --> examples/fabrik/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use teng::util::planarvec2_experimental::ExponentialGrowingBounds; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/fabrik/main.rs:207:58 [INFO] [stderr] | [INFO] [stderr] 207 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> examples/fabrik/main.rs:211:26 [INFO] [stderr] | [INFO] [stderr] 211 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/fabrik/main.rs:308:51 [INFO] [stderr] | [INFO] [stderr] 308 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState<()>, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::stdout` [INFO] [stderr] --> examples/pathfinding/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::stdout; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> examples/pathfinding/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::rendering::pixel::Pixel` [INFO] [stderr] --> examples/pathfinding/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use teng::rendering::pixel::Pixel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teng::util::planarvec::Bounds` [INFO] [stderr] --> examples/pathfinding/main.rs:10:5 [INFO] [stderr] | [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] 10 | use teng::util::planarvec::Bounds; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/pathfinding/main.rs:66:58 [INFO] [stderr] | [INFO] [stderr] 66 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> examples/pathfinding/main.rs:72:26 [INFO] [stderr] | [INFO] [stderr] 72 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/pathfinding/main.rs:145:51 [INFO] [stderr] | [INFO] [stderr] 145 | fn render(&self, renderer: &mut dyn Renderer, shared_state: &SharedState<()>, depth_base: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> examples/ui.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | fn is_hover_drag(&self, x: usize, y: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/ui.rs:40:58 [INFO] [stderr] | [INFO] [stderr] 40 | fn on_resize(&mut self, width: usize, height: usize, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared_state` [INFO] [stderr] --> examples/ui.rs:49:42 [INFO] [stderr] | [INFO] [stderr] 49 | fn on_event(&mut self, event: Event, shared_state: &mut SharedState<()>) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> examples/ui.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let width = shared_state.display_info.width(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> examples/ui.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | let height = shared_state.display_info.height(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `setup_info` [INFO] [stderr] --> examples/ui.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | fn setup(&mut self, setup_info: &SetupInfo, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setup_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_info` [INFO] [stderr] --> examples/ui.rs:103:26 [INFO] [stderr] | [INFO] [stderr] 103 | fn update(&mut self, update_info: UpdateInfo, shared_state: &mut SharedState<()>) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_info` [INFO] [stderr] [INFO] [stderr] warning: `teng` (example "circle-rasterizer2") generated 5 warnings (run `cargo fix --example "circle-rasterizer2"` to apply 1 suggestion) [INFO] [stderr] warning: `teng` (example "boundschecker") generated 6 warnings (run `cargo fix --example "boundschecker"` to apply 1 suggestion) [INFO] [stderr] warning: `teng` (example "fabrik") generated 8 warnings (run `cargo fix --example "fabrik"` to apply 5 suggestions) [INFO] [stderr] warning: `teng` (example "pathfinding") generated 7 warnings (run `cargo fix --example "pathfinding"` to apply 4 suggestions) [INFO] [stderr] warning: `teng` (example "ui") generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/teng-368e537eed77bffa) [INFO] [stdout] test util::bidivec::tests::test_bidi_vec ... ok [INFO] [stdout] test util::planarvec::tests::test_planar_vec ... ok [INFO] [stdout] test util::fixedupdate::tests::test_fixed_update_runner ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests teng [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - Game (line 153) - compile ... ok [INFO] [stdout] test src/rendering/display.rs - rendering::display::Display (line 28) ... ok [INFO] [stdout] test src/rendering/display.rs - rendering::display::Display::new (line 81) ... ok [INFO] [stdout] test src/rendering/pixel.rs - rendering::pixel::Pixel::put_over (line 116) ... ok [INFO] [stdout] test src/rendering/pixel.rs - rendering::pixel::Pixel::with_bg_color (line 98) ... ok [INFO] [stdout] test src/rendering/display.rs - rendering::display::Display::clear (line 104) ... ok [INFO] [stdout] test src/rendering/pixel.rs - rendering::pixel::Pixel::with_color (line 80) ... ok [INFO] [stdout] test src/rendering/pixel.rs - rendering::pixel::Pixel (line 30) ... ok [INFO] [stdout] test src/../README.md - (line 32) - compile ... ok [INFO] [stdout] test src/rendering/render.rs - rendering::render::Render::with_color (line 65) - compile ... ok [INFO] [stdout] test src/rendering/render.rs - rendering::render::Sprite (line 163) ... ok [INFO] [stdout] test src/rendering/render.rs - rendering::render::Sprite::new (line 204) ... ok [INFO] [stdout] test src/util/fixedupdate.rs - util::fixedupdate::FixedUpdateRunner (line 12) ... ok [INFO] [stdout] test src/rendering/display.rs - rendering::display::Display::fill (line 124) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05d423cee4674126fc8a36602728111ee1116e3f76267776f3a32afd86947740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d423cee4674126fc8a36602728111ee1116e3f76267776f3a32afd86947740", kill_on_drop: false }` [INFO] [stdout] 05d423cee4674126fc8a36602728111ee1116e3f76267776f3a32afd86947740